class Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ThroughputUpdateParameters

Parameters to update Cosmos DB resource throughput.

Attributes

resource[RW]

@return [ThroughputResource] The standard JSON format of a resource throughput

Public Class Methods

mapper() click to toggle source

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

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