Class: Azure::ServiceFabric::V6_5_0_36::Models::EntityHealth
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::EntityHealth
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/entity_health.rb
Overview
Health information common to all entities in the cluster. It contains the aggregated health state, health events and unhealthy evaluation.
Direct Known Subclasses
ApplicationHealth, ClusterHealth, DeployedApplicationHealth, DeployedServicePackageHealth, NodeHealth, PartitionHealth, ReplicaHealth, ServiceHealth
Instance Attribute Summary collapse
-
#aggregated_health_state ⇒ HealthState
health state of the entity computed by Health Manager.
-
#health_events ⇒ Array<HealthEvent>
entity.
-
#health_statistics ⇒ HealthStatistics
types of the queried entity.
-
#unhealthy_evaluations ⇒ Array<HealthEvaluationWrapper>
show why the current aggregated health state was returned by Health Manager.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EntityHealth class as Ruby Hash.
Instance Attribute Details
#aggregated_health_state ⇒ HealthState
health state of the entity computed by Health Manager. The health evaluation of the entity reflects all events reported on the entity and its children (if any). The aggregation is done by applying the desired health policy. Possible values include: ‘Invalid’, ‘Ok’, ‘Warning’, ‘Error’, ‘Unknown’
22 23 24 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/entity_health.rb', line 22 def aggregated_health_state @aggregated_health_state end |
#health_events ⇒ Array<HealthEvent>
entity.
26 27 28 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/entity_health.rb', line 26 def health_events @health_events end |
#health_statistics ⇒ HealthStatistics
types of the queried entity.
35 36 37 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/entity_health.rb', line 35 def health_statistics @health_statistics end |
#unhealthy_evaluations ⇒ Array<HealthEvaluationWrapper>
show why the current aggregated health state was returned by Health Manager.
31 32 33 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/entity_health.rb', line 31 def unhealthy_evaluations @unhealthy_evaluations end |
Class Method Details
.mapper ⇒ Object
Mapper for EntityHealth class as Ruby Hash. This will be used for serialization/deserialization.
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 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/entity_health.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EntityHealth', type: { name: 'Composite', class_name: 'EntityHealth', 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' } } } } } end |