Class: Azure::ServiceFabric::V6_5_0_36::Models::NodeId

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

Overview

An internal ID used by Service Fabric to uniquely identify a node. Node Id is deterministically generated from node name.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idString

Returns Value of the node Id. This is a 128 bit integer.

Returns:

  • (String)

    Value of the node Id. This is a 128 bit integer.



17
18
19
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_id.rb', line 17

def id
  @id
end

Class Method Details

.mapperObject

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



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_id.rb', line 24

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NodeId',
    type: {
      name: 'Composite',
      class_name: 'NodeId',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Id',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end