class Azure::Cosmosdb::Mgmt::V2020_03_01::Models::CreateUpdateOptions

CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are “If-Match”, “If-None-Match”, “Session-Token” and “Throughput”

Attributes

additional_properties[RW]

@return [Hash{String => String}] Unmatched properties from the message are deserialized this collection

throughput[RW]

@return [String] Request Units per second. For example, “throughput”: “10000”.

Public Class Methods

mapper() click to toggle source

Mapper for CreateUpdateOptions class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/create_update_options.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CreateUpdateOptions',
    type: {
      name: 'Composite',
      class_name: 'CreateUpdateOptions',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        throughput: {
          client_side_validation: true,
          required: false,
          serialized_name: 'throughput',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end