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

Name Description
ArmRollingUpgradeMonitoringPolicy()

Initializes a new instance of ArmRollingUpgradeMonitoringPolicy.

Properties

Name Description
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 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".

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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