class Azure::ServiceFabric::V6_2_0_9::Models::ServiceHealthStateChunk

Represents the health state chunk of a service, which contains the service name, its aggregated health state and any partitions that respect the filters in the cluster health chunk query description.

Attributes

partition_health_state_chunks[RW]

@return [PartitionHealthStateChunkList] The list of partition health state chunks belonging to the service that respect the filters in the cluster health chunk query description.

service_name[RW]

@return [String] The name of the service whose health state chunk is provided in this object.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.2.0.9/generated/azure_service_fabric/models/service_health_state_chunk.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceHealthStateChunk',
    type: {
      name: 'Composite',
      class_name: 'ServiceHealthStateChunk',
      model_properties: {
        health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthState',
          type: {
            name: 'String'
          }
        },
        service_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceName',
          type: {
            name: 'String'
          }
        },
        partition_health_state_chunks: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PartitionHealthStateChunks',
          type: {
            name: 'Composite',
            class_name: 'PartitionHealthStateChunkList'
          }
        }
      }
    }
  }
end