Class: Azure::ServiceFabric::V6_5_0_36::Models::NodeHealth

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

Overview

Information about the health of a Service Fabric node.

Instance Attribute Summary collapse

Attributes inherited from EntityHealth

#aggregated_health_state, #health_events, #health_statistics, #unhealthy_evaluations

Class Method Summary collapse

Instance Attribute Details

#nameString

by this object.

Returns:

  • (String)

    Name of the node whose health information is described



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

def name
  @name
end

Class Method Details

.mapperObject

Mapper for NodeHealth 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
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
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_health.rb', line 24

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NodeHealth',
    type: {
      name: 'Composite',
      class_name: 'NodeHealth',
      model_properties: {
        aggregated_health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'AggregatedHealthState',
          type: {
            name: 'String'
          }
        },
        health_events: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthEvents',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HealthEventElementType',
                type: {
                  name: 'Composite',
                  class_name: 'HealthEvent'
                }
            }
          }
        },
        unhealthy_evaluations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UnhealthyEvaluations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HealthEvaluationWrapperElementType',
                type: {
                  name: 'Composite',
                  class_name: 'HealthEvaluationWrapper'
                }
            }
          }
        },
        health_statistics: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthStatistics',
          type: {
            name: 'Composite',
            class_name: 'HealthStatistics'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end