# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::MachineLearningServices::Mgmt::V2019_05_01
  module Models
    #
    # Compute node information related to a AmlCompute.
    #
    class AmlComputeNodeInformation

      include MsRestAzure

      # @return [String] Node ID. ID of the compute node.
      attr_accessor :node_id

      # @return [String] IP address. Public IP address of the compute node.
      attr_accessor :ip_address

      # @return [Float] Port. SSH port number of the node.
      attr_accessor :port


      #
      # Mapper for AmlComputeNodeInformation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AmlCompute',
          type: {
            name: 'Composite',
            class_name: 'AmlComputeNodeInformation',
            model_properties: {
              node_id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'nodeId',
                type: {
                  name: 'String'
                }
              },
              ip_address: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'ipAddress',
                type: {
                  name: 'String'
                }
              },
              port: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'port',
                type: {
                  name: 'Double'
                }
              }
            }
          }
        }
      end
    end
  end
end
