Class: Azure::ServiceFabric::V6_3_0_9::Models::NodeHealthStateChunk

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

Overview

Represents the health state chunk of a node, which contains the node name and its aggregated health state.

Instance Attribute Summary collapse

Attributes inherited from EntityHealthStateChunk

#health_state

Class Method Summary collapse

Instance Attribute Details

#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_health_state_chunk.rb', line 17

def node_name
  @node_name
end

Class Method Details

.mapperObject

Mapper for NodeHealthStateChunk 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
45
46
47
48
49
50
51
52
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_health_state_chunk.rb', line 24

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