class Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
The number of instances that can be used during this profile.
Attributes
default[RW]
@return [String] the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default.
maximum[RW]
@return [String] the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription.
minimum[RW]
@return [String] the minimum number of instances for the resource.
Private Class Methods
mapper()
click to toggle source
Mapper for ScaleCapacity
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-04-01/generated/azure_mgmt_monitor/models/scale_capacity.rb, line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ScaleCapacity', type: { name: 'Composite', class_name: 'ScaleCapacity', model_properties: { minimum: { client_side_validation: true, required: true, serialized_name: 'minimum', type: { name: 'String' } }, maximum: { client_side_validation: true, required: true, serialized_name: 'maximum', type: { name: 'String' } }, default: { client_side_validation: true, required: true, serialized_name: 'default', type: { name: 'String' } } } } } end