class Azure::Automation::Mgmt::V2015_10_31::Models::DscNode

Definition of the dsc node type.

Attributes

account_id[RW]

@return [String] Gets or sets the account id of the node.

etag[RW]

@return [String] Gets or sets the etag of the resource.

extension_handler[RW]

@return [Array<DscNodeExtensionHandlerAssociationProperty>] Gets or sets the list of extensionHandler properties for a Node.

ip[RW]

@return [String] Gets or sets the ip of the node.

last_seen[RW]

@return [DateTime] Gets or sets the last seen time of the node.

node_configuration[RW]

@return [DscNodeConfigurationAssociationProperty] Gets or sets the configuration of the node.

node_id[RW]

@return [String] Gets or sets the node id.

registration_time[RW]

@return [DateTime] Gets or sets the registration time of the node.

status[RW]

@return [String] Gets or sets the status of the node.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb, line 49
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DscNode',
    type: {
      name: 'Composite',
      class_name: 'DscNode',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        last_seen: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lastSeen',
          type: {
            name: 'DateTime'
          }
        },
        registration_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'registrationTime',
          type: {
            name: 'DateTime'
          }
        },
        ip: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ip',
          type: {
            name: 'String'
          }
        },
        account_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'accountId',
          type: {
            name: 'String'
          }
        },
        node_configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'nodeConfiguration',
          type: {
            name: 'Composite',
            class_name: 'DscNodeConfigurationAssociationProperty'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        node_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'nodeId',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        extension_handler: {
          client_side_validation: true,
          required: false,
          serialized_name: 'extensionHandler',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DscNodeExtensionHandlerAssociationPropertyElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DscNodeExtensionHandlerAssociationProperty'
                }
            }
          }
        }
      }
    }
  }
end