Sha256: 0559c66f902db096721b9030cbfe84530df129c82e0236dc41359e9fb20b85c3

Contents?: true

Size: 1.94 KB

Versions: 9

Compression:

Stored size: 1.94 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::V2019_08_01
  module Models
    #
    # Cosmos DB resource throughput object
    #
    class ThroughputSettingsResource

      include MsRestAzure

      # @return [Integer] Value of the Cosmos DB resource throughput
      attr_accessor :throughput

      # @return [String] The minimum throughput of the resource
      attr_accessor :minimum_throughput

      # @return [String] The throughput replace is pending
      attr_accessor :offer_replace_pending


      #
      # Mapper for ThroughputSettingsResource class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ThroughputSettingsResource',
          type: {
            name: 'Composite',
            class_name: 'ThroughputSettingsResource',
            model_properties: {
              throughput: {
                client_side_validation: true,
                required: true,
                serialized_name: 'throughput',
                type: {
                  name: 'Number'
                }
              },
              minimum_throughput: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'minimumThroughput',
                type: {
                  name: 'String'
                }
              },
              offer_replace_pending: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'offerReplacePending',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb
azure_mgmt_cosmosdb-0.24.0 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb
azure_mgmt_cosmosdb-0.23.1 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb
azure_mgmt_cosmosdb-0.22.0 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb
azure_mgmt_cosmosdb-0.21.2 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb
azure_mgmt_cosmosdb-0.21.1 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb
azure_mgmt_cosmosdb-0.21.0 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb
azure_mgmt_cosmosdb-0.20.0 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb
azure_mgmt_cosmosdb-0.19.0 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb