class Azure::MachineLearningServices::Mgmt::V2019_05_01::Models::AmlComputeNodesInformation

Compute node information related to a AmlCompute.

Attributes

computeType[RW]
nodes[RW]

@return [Array<AmlComputeNodeInformation>] The collection of returned AmlCompute nodes details.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_nodes_information.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AmlCompute',
    type: {
      name: 'Composite',
      class_name: 'AmlComputeNodesInformation',
      model_properties: {
        next_link: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'nextLink',
          type: {
            name: 'String'
          }
        },
        computeType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'computeType',
          type: {
            name: 'String'
          }
        },
        nodes: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'nodes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AmlComputeNodeInformationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AmlComputeNodeInformation'
                }
            }
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_nodes_information.rb, line 16
def initialize
  @computeType = "AmlCompute"
end