Aracılığıyla paylaş


ApplicationUpgradePolicy Class

Definition

Describes the policy for a monitored application upgrade.

public class ApplicationUpgradePolicy
type ApplicationUpgradePolicy = class
Public Class ApplicationUpgradePolicy
Inheritance
ApplicationUpgradePolicy

Constructors

ApplicationUpgradePolicy()

Initializes a new instance of the ApplicationUpgradePolicy class.

ApplicationUpgradePolicy(String, Nullable<Boolean>, ArmRollingUpgradeMonitoringPolicy, ArmApplicationHealthPolicy, String)

Initializes a new instance of the ApplicationUpgradePolicy class.

Properties

ApplicationHealthPolicy

Gets or sets defines a health policy used to evaluate the health of an application or one of its children entities.

ForceRestart

Gets or sets if true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).

RollingUpgradeMonitoringPolicy

Gets or sets the policy used for monitoring the application upgrade

UpgradeMode

Gets or sets the mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored. Possible values include: 'Invalid', 'UnmonitoredAuto', 'UnmonitoredManual', 'Monitored'

UpgradeReplicaSetCheckTimeout

Gets or sets the maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).

Methods

Validate()

Validate the object.

Applies to