class Azure::BatchAI::Mgmt::V2018_03_01::Models::NodeStateCounts

Counts of various compute node states on the cluster.

Attributes

idle_node_count[RW]

@return [Integer] Number of compute nodes in idle state.

leaving_node_count[RW]

@return [Integer] Number of compute nodes which are leaving the cluster.

preparing_node_count[RW]

@return [Integer] Number of compute nodes which are being prepared.

running_node_count[RW]

@return [Integer] Number of compute nodes which are running jobs.

unusable_node_count[RW]

@return [Integer] Number of compute nodes which are unusable.

Public Class Methods

mapper() click to toggle source

Mapper for NodeStateCounts class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-03-01/generated/azure_mgmt_batchai/models/node_state_counts.rb, line 36
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: true,
          serialized_name: 'idleNodeCount',
          type: {
            name: 'Number'
          }
        },
        running_node_count: {
          client_side_validation: true,
          required: true,
          serialized_name: 'runningNodeCount',
          type: {
            name: 'Number'
          }
        },
        preparing_node_count: {
          client_side_validation: true,
          required: true,
          serialized_name: 'preparingNodeCount',
          type: {
            name: 'Number'
          }
        },
        unusable_node_count: {
          client_side_validation: true,
          required: true,
          serialized_name: 'unusableNodeCount',
          type: {
            name: 'Number'
          }
        },
        leaving_node_count: {
          client_side_validation: true,
          required: true,
          serialized_name: 'leavingNodeCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end