class Azure::Cosmosdb::Mgmt::V2020_03_01::Models::ProvisionedThroughputSettingsResource
Cosmos DB provisioned throughput settings object
Attributes
auto_upgrade_policy[RW]
@return [AutoUpgradePolicyResource] Cosmos DB resource auto-upgrade policy
max_throughput[RW]
@return [Integer] Represents maximum throughput container can scale up to.
target_max_throughput[RW]
@return [Integer] Represents target maximum throughput container can scale up to once offer is no longer in pending state.
Public Class Methods
mapper()
click to toggle source
Mapper for ProvisionedThroughputSettingsResource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/provisioned_throughput_settings_resource.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ProvisionedThroughputSettingsResource', type: { name: 'Composite', class_name: 'ProvisionedThroughputSettingsResource', model_properties: { max_throughput: { client_side_validation: true, required: true, serialized_name: 'maxThroughput', type: { name: 'Number' } }, auto_upgrade_policy: { client_side_validation: true, required: false, serialized_name: 'autoUpgradePolicy', type: { name: 'Composite', class_name: 'AutoUpgradePolicyResource' } }, target_max_throughput: { client_side_validation: true, required: false, read_only: true, serialized_name: 'targetMaxThroughput', type: { name: 'Number' } } } } } end