Share via


RollingUpgradeMonitoringPolicy Constructor

Definition

Initializes a new instance of the RollingUpgradeMonitoringPolicy class.

public RollingUpgradeMonitoringPolicy ();
Public Sub New ()

Remarks

The initialization sets the properties of the RollingUpgradeMonitoringPolicy class with the following defaults.

Property

Default value

FailureAction

Invalid

This value must be changed or a ArgumentException will be thrown before the upgrade begins.

HealthCheckWaitDuration

Zero

HealthCheckStableDuration

TimeSpan value that defaults to 120 seconds.

HealthCheckRetryTimeout

600 seconds

UpgradeDomainTimeout

TimeSpan.FromSeconds(uint.MaxValue)

UpgradeTimeout

TimeSpan.FromSeconds(uint.MaxValue)

Applies to