Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::AutoScaleSettings
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::AutoScaleSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/auto_scale_settings.rb
Overview
The system automatically scales the cluster up and down (within minimumNodeCount and maximumNodeCount) based on the pending and running jobs on the cluster.
Instance Attribute Summary collapse
-
#initial_node_count ⇒ Integer
cluster creation.
-
#maximum_node_count ⇒ Integer
cluster can have.
-
#minimum_node_count ⇒ Integer
cluster can have.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AutoScaleSettings class as Ruby Hash.
Instance Attribute Details
#initial_node_count ⇒ Integer
cluster creation. Note that this value is used only during cluster creation. . Default value: 0 .
28 29 30 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/auto_scale_settings.rb', line 28 def initial_node_count @initial_node_count end |
#maximum_node_count ⇒ Integer
cluster can have.
23 24 25 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/auto_scale_settings.rb', line 23 def maximum_node_count @maximum_node_count end |
#minimum_node_count ⇒ Integer
cluster can have.
19 20 21 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/auto_scale_settings.rb', line 19 def minimum_node_count @minimum_node_count end |
Class Method Details
.mapper ⇒ Object
Mapper for AutoScaleSettings class as Ruby Hash. This will be used for serialization/deserialization.
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 71 72 |
# 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 |