Dela via


ServiceTypeHealthPolicy Class

Definition

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

public class ServiceTypeHealthPolicy
type ServiceTypeHealthPolicy = class
Public Class ServiceTypeHealthPolicy
Inheritance
ServiceTypeHealthPolicy

Constructors

ServiceTypeHealthPolicy()

Initializes a new instance of ServiceTypeHealthPolicy class.

Properties

MaxPercentUnhealthyPartitionsPerService

Gets or sets the maximum allowed percentage of unhealthy partitions per service.

MaxPercentUnhealthyReplicasPerPartition

Gets or sets the maximum allowed percentage of unhealthy replicas per partition.

MaxPercentUnhealthyServices

Gets or sets the maximum allowed percentage of unhealthy services.

Methods

ToString()

Gets a string representation of the service type health policy.

Applies to