Share via


ClusterUpgradeDeltaHealthPolicy Class

Definition

Describes the delta health policies for the cluster upgrade.

public class ClusterUpgradeDeltaHealthPolicy
public class ClusterUpgradeDeltaHealthPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabric.Models.ClusterUpgradeDeltaHealthPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabric.Models.ClusterUpgradeDeltaHealthPolicy>
type ClusterUpgradeDeltaHealthPolicy = class
type ClusterUpgradeDeltaHealthPolicy = class
    interface IJsonModel<ClusterUpgradeDeltaHealthPolicy>
    interface IPersistableModel<ClusterUpgradeDeltaHealthPolicy>
Public Class ClusterUpgradeDeltaHealthPolicy
Public Class ClusterUpgradeDeltaHealthPolicy
Implements IJsonModel(Of ClusterUpgradeDeltaHealthPolicy), IPersistableModel(Of ClusterUpgradeDeltaHealthPolicy)
Inheritance
ClusterUpgradeDeltaHealthPolicy
Implements

Constructors

ClusterUpgradeDeltaHealthPolicy(Int32, Int32, Int32)

Initializes a new instance of ClusterUpgradeDeltaHealthPolicy.

Properties

ApplicationDeltaHealthPolicies

Defines the application delta health policy map used to evaluate the health of an application or one of its child entities when upgrading the cluster.

MaxPercentDeltaUnhealthyApplications

The maximum allowed percentage of applications health degradation allowed during cluster upgrades. The delta is measured between the state of the applications at the beginning of upgrade and the state of the applications at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. System services are not included in this.

MaxPercentDeltaUnhealthyNodes

The maximum allowed percentage of nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.

MaxPercentUpgradeDomainDeltaUnhealthyNodes

The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits.

Explicit Interface Implementations

IJsonModel<ClusterUpgradeDeltaHealthPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ClusterUpgradeDeltaHealthPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClusterUpgradeDeltaHealthPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClusterUpgradeDeltaHealthPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ClusterUpgradeDeltaHealthPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to