ClusterUpgradePolicy 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 used when upgrading the cluster.
public class ClusterUpgradePolicy
type ClusterUpgradePolicy = class
Public Class ClusterUpgradePolicy
- Inheritance
-
ClusterUpgradePolicy
Constructors
ClusterUpgradePolicy() |
Initializes a new instance of the ClusterUpgradePolicy class. |
ClusterUpgradePolicy(String, String, String, String, String, String, ClusterHealthPolicy, Nullable<Boolean>, ClusterUpgradeDeltaHealthPolicy) |
Initializes a new instance of the ClusterUpgradePolicy class. |
Properties
DeltaHealthPolicy |
Gets or sets the cluster delta health policy used when upgrading the cluster. |
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). |
HealthCheckRetryTimeout |
Gets or sets the amount of time to retry health evaluation when the application or cluster is unhealthy before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. |
HealthCheckStableDuration |
Gets or sets the amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format. |
HealthCheckWaitDuration |
Gets or sets the length of time to wait after completing an upgrade domain before performing health checks. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format. |
HealthPolicy |
Gets or sets the cluster health policy used when upgrading the cluster. |
UpgradeDomainTimeout |
Gets or sets the amount of time each upgrade domain has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. |
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. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. |
UpgradeTimeout |
Gets or sets the amount of time the overall upgrade has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. |
Methods
Validate() |
Validate the object. |