class Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ThroughputResource

Cosmos DB resource throughput object

Attributes

throughput[RW]

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

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/throughput_resource.rb, line 23
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ThroughputResource',
    type: {
      name: 'Composite',
      class_name: 'ThroughputResource',
      model_properties: {
        throughput: {
          client_side_validation: true,
          required: true,
          serialized_name: 'throughput',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end