class Azure::ServiceFabric::V6_4_0_36::Models::PartitionHealthStateChunk

Represents the health state chunk of a partition, which contains the partition ID, its aggregated health state and any replicas that respect the filters in the cluster health chunk query description.

Attributes

partition_id[RW]

@return The Id of the partition.

replica_health_state_chunks[RW]

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

Public Class Methods

mapper() click to toggle source

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

# File lib/6.4.0.36/generated/azure_service_fabric/models/partition_health_state_chunk.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PartitionHealthStateChunk',
    type: {
      name: 'Composite',
      class_name: 'PartitionHealthStateChunk',
      model_properties: {
        health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthState',
          type: {
            name: 'String'
          }
        },
        partition_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PartitionId',
          type: {
            name: 'String'
          }
        },
        replica_health_state_chunks: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReplicaHealthStateChunks',
          type: {
            name: 'Composite',
            class_name: 'ReplicaHealthStateChunkList'
          }
        }
      }
    }
  }
end