Class: Azure::ServiceFabric::V6_3_0_9::Models::ClusterHealthChunk

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

Overview

Represents the health chunk of the cluster. Contains the cluster aggregated health state, and the cluster entities that respect the input filter.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#application_health_state_chunksApplicationHealthStateChunkList

health state chunks in the cluster that respect the filters in the cluster health chunk query description.

Returns:



34
35
36
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_health_chunk.rb', line 34

def application_health_state_chunks
  @application_health_state_chunks
end

#health_stateHealthState

health state of the cluster 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 cluster health policy and the application health policies. Possible values include: ‘Invalid’, ‘Ok’, ‘Warning’, ‘Error’, ‘Unknown’

Returns:

  • (HealthState)

    The HealthState representing the aggregated



24
25
26
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_health_chunk.rb', line 24

def health_state
  @health_state
end

#node_health_state_chunksNodeHealthStateChunkList

in the cluster that respect the filters in the cluster health chunk query description.

Returns:



29
30
31
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_health_chunk.rb', line 29

def node_health_state_chunks
  @node_health_state_chunks
end

Class Method Details

.mapperObject

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



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
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_health_chunk.rb', line 41

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ClusterHealthChunk',
    type: {
      name: 'Composite',
      class_name: 'ClusterHealthChunk',
      model_properties: {
        health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthState',
          type: {
            name: 'String'
          }
        },
        node_health_state_chunks: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeHealthStateChunks',
          type: {
            name: 'Composite',
            class_name: 'NodeHealthStateChunkList'
          }
        },
        application_health_state_chunks: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationHealthStateChunks',
          type: {
            name: 'Composite',
            class_name: 'ApplicationHealthStateChunkList'
          }
        }
      }
    }
  }
end