Share via


ServiceTypeHealthPolicy Class

 

Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2

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

Namespace:   System.Fabric.Health
Assembly:  System.Fabric (in System.Fabric.dll)

Inheritance Hierarchy

System.Object
  System.Fabric.Health.ServiceTypeHealthPolicy

Syntax

public class ServiceTypeHealthPolicy

Constructors

Name Description
System_CAPS_pubmethod ServiceTypeHealthPolicy()

Initializes a new instance of ServiceTypeHealthPolicy class.

Properties

Name Description
System_CAPS_pubproperty MaxPercentUnhealthyPartitionsPerService

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

System_CAPS_pubproperty MaxPercentUnhealthyReplicasPerPartition

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

System_CAPS_pubproperty MaxPercentUnhealthyServices

Gets or sets the maximum allowed percentage of unhealthy services.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Gets a string representation of the service type health policy. (Overrides Object.ToString().)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Fabric.Health Namespace

Return to top