class Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::CreateUpdateOptions
CreateUpdateOptions
are a list of key-value pairs that describe the resource. Supported keys are “If-Match”, “If-None-Match”, “Session-Token” and “Throughput”
Attributes
autoscale_settings[RW]
@return [AutoscaleSettings] Specifies the Autoscale settings.
throughput[RW]
@return [Integer] Request Units per second. For example, “throughput”: 10000.
Public Class Methods
mapper()
click to toggle source
Mapper for CreateUpdateOptions
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/create_update_options.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CreateUpdateOptions', type: { name: 'Composite', class_name: 'CreateUpdateOptions', model_properties: { throughput: { client_side_validation: true, required: false, serialized_name: 'throughput', type: { name: 'Number' } }, autoscale_settings: { client_side_validation: true, required: false, serialized_name: 'autoscaleSettings', type: { name: 'Composite', class_name: 'AutoscaleSettings' } } } } } end