Class: Azure::Cosmosdb::Mgmt::V2019_12_12::Models::ThroughputPolicyResource
- Inherits:
-
Object
- Object
- Azure::Cosmosdb::Mgmt::V2019_12_12::Models::ThroughputPolicyResource
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_policy_resource.rb
Overview
Cosmos DB resource throughput policy
Instance Attribute Summary collapse
-
#increment_percent ⇒ Integer
increase every time throughput policy kicks in.
-
#is_enabled ⇒ Boolean
not.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ThroughputPolicyResource class as Ruby Hash.
Instance Attribute Details
#increment_percent ⇒ Integer
increase every time throughput policy kicks in.
21 22 23 |
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_policy_resource.rb', line 21 def increment_percent @increment_percent end |
#is_enabled ⇒ Boolean
not
17 18 19 |
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_policy_resource.rb', line 17 def is_enabled @is_enabled end |
Class Method Details
.mapper ⇒ Object
Mapper for ThroughputPolicyResource class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# 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 |