class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::AutoScaleSettings
The system automatically scales the cluster up and down (within minimumNodeCount and maximumNodeCount) based on the pending and running jobs on the cluster.
Attributes
initial_node_count[RW]
@return [Integer] Specifies the number of compute nodes to allocate on cluster creation. Note that this value is used only during cluster creation. . Default value: 0 .
maximum_node_count[RW]
@return [Integer] Specifies the maximum number of compute nodes the cluster can have.
minimum_node_count[RW]
@return [Integer] Specifies the minimum number of compute nodes the cluster can have.
Public Class Methods
mapper()
click to toggle source
Mapper for AutoScaleSettings
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/auto_scale_settings.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AutoScaleSettings', type: { name: 'Composite', class_name: 'AutoScaleSettings', model_properties: { minimum_node_count: { client_side_validation: true, required: true, serialized_name: 'minimumNodeCount', type: { name: 'Number' } }, maximum_node_count: { client_side_validation: true, required: true, serialized_name: 'maximumNodeCount', type: { name: 'Number' } }, initial_node_count: { client_side_validation: true, required: false, serialized_name: 'initialNodeCount', default_value: 0, type: { name: 'Number' } } } } } end