class Azure::Cosmosdb::Mgmt::V2019_12_12::Models::ThroughputPolicyResource
Cosmos DB resource throughput policy
Attributes
increment_percent[RW]
@return [Integer] Represents the percentage by which throughput can increase every time throughput policy kicks in.
is_enabled[RW]
@return [Boolean] Determines whether the ThroughputPolicy is active or not
Public Class Methods
mapper()
click to toggle source
Mapper for ThroughputPolicyResource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_policy_resource.rb, line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ThroughputPolicyResource', type: { name: 'Composite', class_name: 'ThroughputPolicyResource', model_properties: { is_enabled: { client_side_validation: true, required: false, serialized_name: 'isEnabled', type: { name: 'Boolean' } }, increment_percent: { client_side_validation: true, required: false, serialized_name: 'incrementPercent', type: { name: 'Number' } } } } } end