Sha256: 9719da3363bb463c62a262c52a884e0d2a37597ae4afabbca0b46971ca70a7c0

Contents?: true

Size: 1.15 KB

Versions: 5

Compression:

Stored size: 1.15 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_04_01
  module Models
    #
    # Model object.
    #
    #
    class AutoscaleSettings

      include MsRestAzure

      # @return [Integer] Represents maximum throughput, the resource can scale
      # up to.
      attr_accessor :max_throughput


      #
      # Mapper for AutoscaleSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AutoscaleSettings',
          type: {
            name: 'Composite',
            class_name: 'AutoscaleSettings',
            model_properties: {
              max_throughput: {
                client_side_validation: true,
                required: false,
                serialized_name: 'maxThroughput',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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