Class: Azure::ServiceFabric::V6_4_0_36::Models::EntityHealthState

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

Overview

A base type for the health state of various entities in the cluster. It contains the aggregated health state.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#aggregated_health_stateHealthState

as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: ‘Invalid’, ‘Ok’, ‘Warning’, ‘Error’, ‘Unknown’

Returns:

  • (HealthState)

    The health state of a Service Fabric entity such



19
20
21
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/entity_health_state.rb', line 19

def aggregated_health_state
  @aggregated_health_state
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/entity_health_state.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EntityHealthState',
    type: {
      name: 'Composite',
      class_name: 'EntityHealthState',
      model_properties: {
        aggregated_health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'AggregatedHealthState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end