NodesHealthEvaluation Class

Represents health evaluation for nodes, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned when evaluating cluster 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
NodesHealthEvaluation

Constructor

NodesHealthEvaluation(*, aggregated_health_state=None, description: Optional[str] = None, max_percent_unhealthy_nodes: 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_nodes
int
Required

Maximum allowed percentage of unhealthy nodes from the ClusterHealthPolicy.

total_count
<xref:long>
Required

Total number of nodes found in the health store.

unhealthy_evaluations
list[HealthEvaluationWrapper]
Required

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