class Azure::ServiceFabric::V6_3_0_9::Models::PartitionHealthState

Represents the health state of a partition, which contains the partition identifier and its aggregated health state.

Attributes

partition_id[RW]

@return Id of the partition whose health state is described by this object.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.3.0.9/generated/azure_service_fabric/models/partition_health_state.rb, line 25
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PartitionHealthState',
    type: {
      name: 'Composite',
      class_name: 'PartitionHealthState',
      model_properties: {
        aggregated_health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'AggregatedHealthState',
          type: {
            name: 'String'
          }
        },
        partition_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PartitionId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end