Class: Azure::ServiceFabric::V6_4_0_36::Models::NodeHealthState
- Inherits:
-
EntityHealthState
- Object
- EntityHealthState
- Azure::ServiceFabric::V6_4_0_36::Models::NodeHealthState
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/node_health_state.rb
Overview
Represents the health state of a node, which contains the node identifier and its aggregated health state.
Instance Attribute Summary collapse
-
#id ⇒ NodeId
identify a node.
-
#name ⇒ String
The name of a Service Fabric node.
Attributes inherited from EntityHealthState
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NodeHealthState class as Ruby Hash.
Instance Attribute Details
#id ⇒ NodeId
identify a node. Node Id is deterministically generated from node name.
21 22 23 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/node_health_state.rb', line 21 def id @id end |
#name ⇒ String
Returns The name of a Service Fabric node.
17 18 19 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/node_health_state.rb', line 17 def name @name end |
Class Method Details
.mapper ⇒ Object
Mapper for NodeHealthState class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/node_health_state.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NodeHealthState', type: { name: 'Composite', class_name: 'NodeHealthState', model_properties: { aggregated_health_state: { client_side_validation: true, required: false, serialized_name: 'AggregatedHealthState', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'Name', type: { name: 'String' } }, id: { client_side_validation: true, required: false, serialized_name: 'Id', type: { name: 'Composite', class_name: 'NodeId' } } } } } end |