Dela via


ApplicationDeltaHealthPolicy Class

Definition

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

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

Constructors

ApplicationDeltaHealthPolicy()

Initializes a new instance of ApplicationDeltaHealthPolicy.

Properties

MaxPercentDeltaUnhealthyServices

The maximum allowed percentage of services health degradation allowed during cluster upgrades. The delta is measured between the state of the services at the beginning of upgrade and the state of the services 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.

ServiceTypeDeltaHealthPolicies

The map with service type delta health policy per service type name. The map is empty by default.

Explicit Interface Implementations

IJsonModel<ApplicationDeltaHealthPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ApplicationDeltaHealthPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApplicationDeltaHealthPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApplicationDeltaHealthPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ApplicationDeltaHealthPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to