Class: Azure::ServiceFabric::V6_3_0_9::Models::NodeResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/node_result.rb

Overview

Contains information about a node that was targeted by a user-induced operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#node_instance_idString

Returns The node instance id.

Returns:

  • (String)

    The node instance id.



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

def node_instance_id
  @node_instance_id
end

#node_nameString

Returns The name of a Service Fabric node.

Returns:

  • (String)

    The name of a Service Fabric node.



17
18
19
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_result.rb', line 17

def node_name
  @node_name
end

Class Method Details

.mapperObject

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



27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_result.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NodeResult',
    type: {
      name: 'Composite',
      class_name: 'NodeResult',
      model_properties: {
        node_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeName',
          type: {
            name: 'String'
          }
        },
        node_instance_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeInstanceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end