Class: Azure::BatchAI::Mgmt::V2018_05_01::Models::NodeStateCounts
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2018_05_01::Models::NodeStateCounts
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-05-01/generated/azure_mgmt_batchai/models/node_state_counts.rb
Overview
Counts of various compute node states on the cluster.
Instance Attribute Summary collapse
-
#idle_node_count ⇒ Integer
state.
-
#leaving_node_count ⇒ Integer
leaving the cluster.
-
#preparing_node_count ⇒ Integer
are being prepared.
-
#running_node_count ⇒ Integer
running jobs.
-
#unusable_node_count ⇒ Integer
are in unusable state.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NodeStateCounts class as Ruby Hash.
Instance Attribute Details
#idle_node_count ⇒ Integer
state.
17 18 19 |
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/node_state_counts.rb', line 17 def idle_node_count @idle_node_count end |
#leaving_node_count ⇒ Integer
leaving the cluster.
33 34 35 |
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/node_state_counts.rb', line 33 def leaving_node_count @leaving_node_count end |
#preparing_node_count ⇒ Integer
are being prepared.
25 26 27 |
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/node_state_counts.rb', line 25 def preparing_node_count @preparing_node_count end |
#running_node_count ⇒ Integer
running jobs.
21 22 23 |
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/node_state_counts.rb', line 21 def running_node_count @running_node_count end |
#unusable_node_count ⇒ Integer
are in unusable state.
29 30 31 |
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/node_state_counts.rb', line 29 def unusable_node_count @unusable_node_count end |
Class Method Details
.mapper ⇒ Object
Mapper for NodeStateCounts class as Ruby Hash. This will be used for serialization/deserialization.
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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/node_state_counts.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NodeStateCounts', type: { name: 'Composite', class_name: 'NodeStateCounts', model_properties: { idle_node_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'idleNodeCount', type: { name: 'Number' } }, running_node_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'runningNodeCount', type: { name: 'Number' } }, preparing_node_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'preparingNodeCount', type: { name: 'Number' } }, unusable_node_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'unusableNodeCount', type: { name: 'Number' } }, leaving_node_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'leavingNodeCount', type: { name: 'Number' } } } } } end |