PartitionsHealthEvaluation Class

Represents health evaluation for the partitions of a service, containing health evaluations for each unhealthy partition that impacts current aggregated health state. Can be returned when evaluating service 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
PartitionsHealthEvaluation

Constructor

PartitionsHealthEvaluation(*, aggregated_health_state=None, description: Optional[str] = None, max_percent_unhealthy_partitions_per_service: 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_partitions_per_service
int
Required

Maximum allowed percentage of unhealthy partitions per service from the ServiceTypeHealthPolicy.

total_count
<xref:long>
Required

Total number of partitions of the service from the health store.

unhealthy_evaluations
list[HealthEvaluationWrapper]
Required

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