class Azure::ServiceFabric::V6_2_0_9::Models::ClusterHealthChunk

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

Attributes

application_health_state_chunks[RW]

@return [ApplicationHealthStateChunkList] The list of application health state chunks in the cluster that respect the filters in the cluster health chunk query description.

health_state[RW]

@return [HealthState] The HealthState representing the aggregated 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'

node_health_state_chunks[RW]

@return [NodeHealthStateChunkList] The list of node health state chunks in the cluster that respect the filters in the cluster health chunk query description.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.2.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