Class: Azure::Automation::Mgmt::V2015_10_31::Models::DscNode

Inherits:
ProxyResource show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb

Overview

Definition of the dsc node type.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#account_idString

Returns Gets or sets the account id of the node.

Returns:

  • (String)

    Gets or sets the account id of the node.



25
26
27
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb', line 25

def 
  @account_id
end

#etagString

Returns Gets or sets the etag of the resource.

Returns:

  • (String)

    Gets or sets the etag of the resource.



38
39
40
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb', line 38

def etag
  @etag
end

#extension_handlerArray<DscNodeExtensionHandlerAssociationProperty>

sets the list of extensionHandler properties for a Node.

Returns:



42
43
44
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb', line 42

def extension_handler
  @extension_handler
end

#ipString

Returns Gets or sets the ip of the node.

Returns:

  • (String)

    Gets or sets the ip of the node.



22
23
24
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb', line 22

def ip
  @ip
end

#last_seenDateTime

Returns Gets or sets the last seen time of the node.

Returns:

  • (DateTime)

    Gets or sets the last seen time of the node.



16
17
18
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb', line 16

def last_seen
  @last_seen
end

#node_configurationDscNodeConfigurationAssociationProperty

configuration of the node.

Returns:



29
30
31
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb', line 29

def node_configuration
  @node_configuration
end

#node_idString

Returns Gets or sets the node id.

Returns:

  • (String)

    Gets or sets the node id.



35
36
37
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb', line 35

def node_id
  @node_id
end

#registration_timeDateTime

Returns Gets or sets the registration time of the node.

Returns:

  • (DateTime)

    Gets or sets the registration time of the node.



19
20
21
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb', line 19

def registration_time
  @registration_time
end

#statusString

Returns Gets or sets the status of the node.

Returns:

  • (String)

    Gets or sets the status of the node.



32
33
34
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb', line 32

def status
  @status
end

Class Method Details

.mapperObject

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



49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# 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