Share via


ArmRollingUpgradeMonitoringPolicy Class

Definition

The policy used for monitoring the application upgrade.

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

Constructors

ArmRollingUpgradeMonitoringPolicy()

Initializes a new instance of ArmRollingUpgradeMonitoringPolicy.

Properties

FailureAction

The activation Mode of the service package.

HealthCheckRetryTimeout

The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.

HealthCheckStableDuration

The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.

HealthCheckWaitDuration

The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.

UpgradeDomainTimeout

The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.

UpgradeTimeout

The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.

Explicit Interface Implementations

IJsonModel<ArmRollingUpgradeMonitoringPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ArmRollingUpgradeMonitoringPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ArmRollingUpgradeMonitoringPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ArmRollingUpgradeMonitoringPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ArmRollingUpgradeMonitoringPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to