class Azure::Cosmosdb::Mgmt::V2020_03_01::Models::OptionsResource

Cosmos DB options resource object

Attributes

throughput[RW]

@return [Integer] Value of the Cosmos DB resource throughput. Use the ThroughputSetting resource when retrieving offer details.

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/options_resource.rb, line 24
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OptionsResource',
    type: {
      name: 'Composite',
      class_name: 'OptionsResource',
      model_properties: {
        throughput: {
          client_side_validation: true,
          required: false,
          serialized_name: 'throughput',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end