class Azure::Batch::Mgmt::V2017_09_01::Models::ScaleSettings
Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
Attributes
auto_scale[RW]
@return [AutoScaleSettings] AutoScale settings for the pool. This property and fixedScale are mutually exclusive and one of the properties must be specified.
fixed_scale[RW]
@return [FixedScaleSettings] Fixed scale settings for the pool. This property and autoScale are mutually exclusive and one of the properties must be specified.
Public Class Methods
mapper()
click to toggle source
Mapper for ScaleSettings
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-09-01/generated/azure_mgmt_batch/models/scale_settings.rb, line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ScaleSettings', type: { name: 'Composite', class_name: 'ScaleSettings', model_properties: { fixed_scale: { client_side_validation: true, required: false, serialized_name: 'fixedScale', type: { name: 'Composite', class_name: 'FixedScaleSettings' } }, auto_scale: { client_side_validation: true, required: false, serialized_name: 'autoScale', type: { name: 'Composite', class_name: 'AutoScaleSettings' } } } } } end