Class: Azure::Cosmosdb::Mgmt::V2019_12_12::Models::ProvisionedThroughputSettingsResource
- Inherits:
-
Object
- Object
- Azure::Cosmosdb::Mgmt::V2019_12_12::Models::ProvisionedThroughputSettingsResource
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/provisioned_throughput_settings_resource.rb
Overview
Cosmos DB provisioned throughput settings object
Instance Attribute Summary collapse
-
#auto_upgrade_policy ⇒ AutoUpgradePolicyResource
policy.
-
#max_throughput ⇒ Integer
to.
-
#target_max_throughput ⇒ Integer
scale up to once offer is no longer in pending state.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ProvisionedThroughputSettingsResource class as Ruby Hash.
Instance Attribute Details
#auto_upgrade_policy ⇒ AutoUpgradePolicyResource
policy
21 22 23 |
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/provisioned_throughput_settings_resource.rb', line 21 def auto_upgrade_policy @auto_upgrade_policy end |
#max_throughput ⇒ Integer
to.
17 18 19 |
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/provisioned_throughput_settings_resource.rb', line 17 def max_throughput @max_throughput end |
#target_max_throughput ⇒ Integer
scale up to once offer is no longer in pending state.
25 26 27 |
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/provisioned_throughput_settings_resource.rb', line 25 def target_max_throughput @target_max_throughput end |
Class Method Details
.mapper ⇒ Object
Mapper for ProvisionedThroughputSettingsResource class as Ruby Hash. This will be used for serialization/deserialization.
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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/2019-12-12/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 |