ArmServiceTypeHealthPolicy Class

Definition

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

public class ArmServiceTypeHealthPolicy
type ArmServiceTypeHealthPolicy = class
Public Class ArmServiceTypeHealthPolicy
Inheritance
ArmServiceTypeHealthPolicy

Constructors

ArmServiceTypeHealthPolicy()

Initializes a new instance of the ArmServiceTypeHealthPolicy class.

ArmServiceTypeHealthPolicy(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the ArmServiceTypeHealthPolicy class.

Properties

MaxPercentUnhealthyPartitionsPerService

Gets or sets the maximum percentage of partitions per service allowed to be unhealthy before your application is considered in error.

MaxPercentUnhealthyReplicasPerPartition

Gets or sets the maximum percentage of replicas per partition allowed to be unhealthy before your application is considered in error.

MaxPercentUnhealthyServices

Gets or sets the maximum percentage of services allowed to be unhealthy before your application is considered in error.

Methods

Validate()

Validate the object.

Applies to