class Azure::ServiceFabric::V6_5_0_36::Models::PartitionHealthEvaluation
Represents health evaluation for a partition, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.
Attributes
Kind[RW]
partition_id[RW]
@return Id of the partition whose health evaluation is described by this object.
unhealthy_evaluations[RW]
@return [Array<HealthEvaluationWrapper>] List of unhealthy evaluations that led to the current aggregated health state of the partition. The types of the unhealthy evaluations can be ReplicasHealthEvaluation
or EventHealthEvaluation
.
Public Class Methods
mapper()
click to toggle source
Mapper for PartitionHealthEvaluation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.5.0.36/generated/azure_service_fabric/models/partition_health_evaluation.rb, line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Partition', type: { name: 'Composite', class_name: 'PartitionHealthEvaluation', model_properties: { aggregated_health_state: { client_side_validation: true, required: false, serialized_name: 'AggregatedHealthState', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'Description', type: { name: 'String' } }, Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } }, partition_id: { client_side_validation: true, required: false, serialized_name: 'PartitionId', type: { name: 'String' } }, unhealthy_evaluations: { client_side_validation: true, required: false, serialized_name: 'UnhealthyEvaluations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'HealthEvaluationWrapperElementType', type: { name: 'Composite', class_name: 'HealthEvaluationWrapper' } } } } } } } end
new()
click to toggle source
# File lib/6.5.0.36/generated/azure_service_fabric/models/partition_health_evaluation.rb, line 19 def initialize @Kind = "Partition" end