Partilhar via


ManagedClusterUpgradeDeltaHealthPolicy Class

Definition

Describes the delta health policies for the cluster upgrade.

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

Constructors

ManagedClusterUpgradeDeltaHealthPolicy(Int32)

Initializes a new instance of ManagedClusterUpgradeDeltaHealthPolicy.

Properties

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. NOTE: This value will overwrite the value specified in properties.UpgradeDescription.HealthPolicy.MaxPercentUnhealthyApplications

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ManagedClusterUpgradeDeltaHealthPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedClusterUpgradeDeltaHealthPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedClusterUpgradeDeltaHealthPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedClusterUpgradeDeltaHealthPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedClusterUpgradeDeltaHealthPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to