Class: Azure::ARM::Insights::Models::ScaleCapacity
- Inherits:
-
Object
- Object
- Azure::ARM::Insights::Models::ScaleCapacity
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_insights/models/scale_capacity.rb
Overview
The number of instances that can be used during this profile.
Instance Attribute Summary collapse
-
#default ⇒ String
are not available for evaluation.
-
#maximum ⇒ String
actual maximum number of instances is limited by the cores that are available in the subscription.
-
#minimum ⇒ String
The minimum number of instances for the resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ScaleCapacity class as Ruby Hash.
Instance Attribute Details
#default ⇒ String
are not available for evaluation. The default is only used if the current instance count is lower than the default.
26 27 28 |
# File 'lib/generated/azure_mgmt_insights/models/scale_capacity.rb', line 26 def default @default end |
#maximum ⇒ String
actual maximum number of instances is limited by the cores that are available in the subscription.
21 22 23 |
# File 'lib/generated/azure_mgmt_insights/models/scale_capacity.rb', line 21 def maximum @maximum end |
#minimum ⇒ String
Returns the minimum number of instances for the resource.
16 17 18 |
# File 'lib/generated/azure_mgmt_insights/models/scale_capacity.rb', line 16 def minimum @minimum end |
Class Method Details
.mapper ⇒ Object
Mapper for ScaleCapacity class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_insights/models/scale_capacity.rb', line 33 def self.mapper() { required: false, serialized_name: 'ScaleCapacity', type: { name: 'Composite', class_name: 'ScaleCapacity', model_properties: { minimum: { required: true, serialized_name: 'minimum', type: { name: 'String' } }, maximum: { required: true, serialized_name: 'maximum', type: { name: 'String' } }, default: { required: true, serialized_name: 'default', type: { name: 'String' } } } } } end |