class Azure::BatchAI::Mgmt::V2018_05_01::Models::NodeStateCounts
Counts of various compute node states on the cluster.
Attributes
idle_node_count[RW]
@return [Integer] Idle node count. Number of compute nodes in idle state.
leaving_node_count[RW]
@return [Integer] Leaving node count. Number of compute nodes which are leaving the cluster.
preparing_node_count[RW]
@return [Integer] Preparing node count. Number of compute nodes which are being prepared.
running_node_count[RW]
@return [Integer] Running node count. Number of compute nodes which are running jobs.
unusable_node_count[RW]
@return [Integer] Unusable node count. Number of compute nodes which are in unusable state.
Private Class Methods
mapper()
click to toggle source
Mapper for NodeStateCounts
class as Ruby Hash. This will be used for serialization/deserialization.
# 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