ApplicationUpgradePolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기