ArmServiceTypeHealthPolicy Class

Represents the health policy used to evaluate the health of services belonging to a service type.

Inheritance
ArmServiceTypeHealthPolicy

Constructor

ArmServiceTypeHealthPolicy(*, max_percent_unhealthy_services: Optional[int] = 0, max_percent_unhealthy_partitions_per_service: Optional[int] = 0, max_percent_unhealthy_replicas_per_partition: Optional[int] = 0, **kwargs)

Parameters

max_percent_unhealthy_services
int
Required

The maximum percentage of services allowed to be unhealthy before your application is considered in error.

max_percent_unhealthy_partitions_per_service
int
Required

The maximum percentage of partitions per service allowed to be unhealthy before your application is considered in error.

max_percent_unhealthy_replicas_per_partition
int
Required

The maximum percentage of replicas per partition allowed to be unhealthy before your application is considered in error.