Dela via


ServiceTypeDeltaHealthPolicy Class

Definition

Represents the delta health policy used to evaluate the health of services belonging to a service type when upgrading the cluster.

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

Constructors

ServiceTypeDeltaHealthPolicy()

Initializes a new instance of ServiceTypeDeltaHealthPolicy.

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.

Explicit Interface Implementations

IJsonModel<ServiceTypeDeltaHealthPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceTypeDeltaHealthPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceTypeDeltaHealthPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceTypeDeltaHealthPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceTypeDeltaHealthPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to