class Azure::MachineLearningServices::Mgmt::V2018_11_19::Models::NodeStateCounts

Counts of various compute node states on the amlCompute.

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 amlCompute.

preempted_node_count[RW]

@return [Integer] Preempted node count. Number of compute nodes which are in preempted state.

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.

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-11-19/generated/azure_mgmt_machine_learning_services/models/node_state_counts.rb, line 44
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'
          }
        },
        preempted_node_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'preemptedNodeCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end