ReplicasHealthEvaluation Class

Represents health evaluation for replicas, containing health evaluations for each unhealthy replica that impacted current aggregated health state. Can be returned when evaluating partition health and the aggregated health state is either Error or Warning.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.servicefabric.models._models_py3.HealthEvaluation
ReplicasHealthEvaluation

Constructor

ReplicasHealthEvaluation(*, aggregated_health_state=None, description: Optional[str] = None, max_percent_unhealthy_replicas_per_partition: Optional[int] = None, total_count: Optional[int] = None, unhealthy_evaluations=None, **kwargs)

Parameters

aggregated_health_state
str or HealthState
Required

The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'

description
str
Required

Description of the health evaluation, which represents a summary of the evaluation process.

kind
str
Required

Required. Constant filled by server.

max_percent_unhealthy_replicas_per_partition
int
Required

Maximum allowed percentage of unhealthy replicas per partition from the ApplicationHealthPolicy.

total_count
<xref:long>
Required

Total number of replicas in the partition from the health store.

unhealthy_evaluations
list[HealthEvaluationWrapper]
Required

List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ReplicaHealthEvaluation that impacted the aggregated health.