Udostępnij za pośrednictwem


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(ApplicationHealthPolicy, Nullable<Boolean>, RollingUpgradeMonitoringPolicy, Nullable<Int64>, String, Nullable<Int64>, Nullable<Boolean>)

Initializes a new instance of the ApplicationUpgradePolicy class.

Properties

ApplicationHealthPolicy
ForceRestart
InstanceCloseDelayDuration

Gets or sets duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade, only for those instances which have a non-zero delay duration configured in the service description.

RecreateApplication

Gets or sets determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed.

RollingUpgradeMonitoringPolicy
UpgradeMode

Gets or sets possible values include: 'Monitored', 'UnmonitoredAuto'

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