RollingUpgradeMonitoringPolicy Class

Definition

The policy used for monitoring the application upgrade.

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

Constructors

RollingUpgradeMonitoringPolicy(PolicyViolationCompensationAction, TimeSpan, TimeSpan, TimeSpan, TimeSpan, TimeSpan)

Initializes a new instance of RollingUpgradeMonitoringPolicy.

Properties

FailureAction

The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Invalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically. Manual indicates that the upgrade will switch to UnmonitoredManual upgrade mode.

HealthCheckRetryTimeout

The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is interpreted as a string representing an ISO 8601 duration with following format "hh:mm:ss.fff".

HealthCheckStableDuration

The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is interpreted as a string representing an ISO 8601 duration with following format "hh:mm:ss.fff".

HealthCheckWaitDuration

The amount of time to wait after completing an upgrade domain before applying health policies. It is interpreted as a string representing an ISO 8601 duration with following format "hh:mm:ss.fff".

UpgradeDomainTimeout

The amount of time each upgrade domain has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format "hh:mm:ss.fff".

UpgradeTimeout

The amount of time the overall upgrade has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format "hh:mm:ss.fff".

Explicit Interface Implementations

IJsonModel<RollingUpgradeMonitoringPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RollingUpgradeMonitoringPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RollingUpgradeMonitoringPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RollingUpgradeMonitoringPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RollingUpgradeMonitoringPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to