Sha256: 42ac6b9f4077e1eff4c2e04fe291de91a12cf8e8097f8981e656459e9334acc1

Contents?: true

Size: 1.95 KB

Versions: 5

Compression:

Stored size: 1.95 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Cosmosdb::Mgmt::V2020_03_01
  module Models
    #
    # CreateUpdateOptions are a list of key-value pairs that describe the
    # resource. Supported keys are "If-Match", "If-None-Match", "Session-Token"
    # and "Throughput"
    #
    class CreateUpdateOptions

      include MsRestAzure

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

      # @return [String] Request Units per second. For example, "throughput":
      # "10000".
      attr_accessor :throughput


      #
      # Mapper for CreateUpdateOptions class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/create_update_options.rb
azure_mgmt_cosmosdb-0.24.0 lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/create_update_options.rb
azure_mgmt_cosmosdb-0.23.1 lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/create_update_options.rb
azure_mgmt_cosmosdb-0.22.0 lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/create_update_options.rb
azure_mgmt_cosmosdb-0.21.2 lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/create_update_options.rb