Class: Azure::ServiceFabric::V6_3_0_9::Models::NodeOpenedSuccessEvent

Inherits:
NodeEvent show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/node_opened_success_event.rb

Overview

Node Opened Success event.

Instance Attribute Summary collapse

Attributes inherited from NodeEvent

#node_name

Attributes inherited from FabricEvent

#event_instance_id, #has_correlated_events, #time_stamp

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNodeOpenedSuccessEvent

Returns a new instance of NodeOpenedSuccessEvent.



16
17
18
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_opened_success_event.rb', line 16

def initialize
  @Kind = "NodeOpenedSuccess"
end

Instance Attribute Details

#fault_domainString

Returns Fault domain of Node.

Returns:

  • (String)

    Fault domain of Node.



32
33
34
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_opened_success_event.rb', line 32

def fault_domain
  @fault_domain
end

#hostnameString

Returns Name of Host.

Returns:

  • (String)

    Name of Host.



38
39
40
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_opened_success_event.rb', line 38

def hostname
  @hostname
end

#ip_address_or_fqdnString

Returns IP address or FQDN.

Returns:

  • (String)

    IP address or FQDN.



35
36
37
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_opened_success_event.rb', line 35

def ip_address_or_fqdn
  @ip_address_or_fqdn
end

#is_seed_nodeBoolean

Returns Indicates if it is seed node.

Returns:

  • (Boolean)

    Indicates if it is seed node.



41
42
43
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_opened_success_event.rb', line 41

def is_seed_node
  @is_seed_node
end

#KindObject

Returns the value of attribute Kind.



20
21
22
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_opened_success_event.rb', line 20

def Kind
  @Kind
end

#node_idString

Returns Id of Node.

Returns:

  • (String)

    Id of Node.



26
27
28
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_opened_success_event.rb', line 26

def node_id
  @node_id
end

#node_instanceInteger

Returns Id of Node instance.

Returns:

  • (Integer)

    Id of Node instance.



23
24
25
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_opened_success_event.rb', line 23

def node_instance
  @node_instance
end

#node_versionString

Returns Version of Node.

Returns:

  • (String)

    Version of Node.



44
45
46
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_opened_success_event.rb', line 44

def node_version
  @node_version
end

#upgrade_domainString

Returns Upgrade domain of Node.

Returns:

  • (String)

    Upgrade domain of Node.



29
30
31
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_opened_success_event.rb', line 29

def upgrade_domain
  @upgrade_domain
end

Class Method Details

.mapperObject

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



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
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_opened_success_event.rb', line 51

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NodeOpenedSuccess',
    type: {
      name: 'Composite',
      class_name: 'NodeOpenedSuccessEvent',
      model_properties: {
        event_instance_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'EventInstanceId',
          type: {
            name: 'String'
          }
        },
        time_stamp: {
          client_side_validation: true,
          required: true,
          serialized_name: 'TimeStamp',
          type: {
            name: 'DateTime'
          }
        },
        has_correlated_events: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HasCorrelatedEvents',
          type: {
            name: 'Boolean'
          }
        },
        Kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        },
        node_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeName',
          type: {
            name: 'String'
          }
        },
        node_instance: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeInstance',
          type: {
            name: 'Number'
          }
        },
        node_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeId',
          type: {
            name: 'String'
          }
        },
        upgrade_domain: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpgradeDomain',
          type: {
            name: 'String'
          }
        },
        fault_domain: {
          client_side_validation: true,
          required: false,
          serialized_name: 'FaultDomain',
          type: {
            name: 'String'
          }
        },
        ip_address_or_fqdn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'IpAddressOrFQDN',
          type: {
            name: 'String'
          }
        },
        hostname: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Hostname',
          type: {
            name: 'String'
          }
        },
        is_seed_node: {
          client_side_validation: true,
          required: false,
          serialized_name: 'IsSeedNode',
          type: {
            name: 'Boolean'
          }
        },
        node_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeVersion',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end