Class: Azure::ServiceFabric::V6_5_0_36::Models::EntityHealthStateChunk

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

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#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.5.0.36/generated/azure_service_fabric/models/entity_health_state_chunk.rb', line 19

def health_state
  @health_state
end

Class Method Details

.mapperObject

Mapper for EntityHealthStateChunk 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.5.0.36/generated/azure_service_fabric/models/entity_health_state_chunk.rb', line 26

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