ClusterUpgradePolicy Constructors

Definition

Overloads

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.

ClusterUpgradePolicy()

Initializes a new instance of the ClusterUpgradePolicy class.

public ClusterUpgradePolicy ();
Public Sub New ()

Applies to

ClusterUpgradePolicy(String, String, String, String, String, String, ClusterHealthPolicy, Nullable<Boolean>, ClusterUpgradeDeltaHealthPolicy)

Initializes a new instance of the ClusterUpgradePolicy class.

public ClusterUpgradePolicy (string upgradeReplicaSetCheckTimeout, string healthCheckWaitDuration, string healthCheckStableDuration, string healthCheckRetryTimeout, string upgradeTimeout, string upgradeDomainTimeout, Microsoft.Azure.Management.ServiceFabric.Models.ClusterHealthPolicy healthPolicy, bool? forceRestart = default, Microsoft.Azure.Management.ServiceFabric.Models.ClusterUpgradeDeltaHealthPolicy deltaHealthPolicy = default);
new Microsoft.Azure.Management.ServiceFabric.Models.ClusterUpgradePolicy : string * string * string * string * string * string * Microsoft.Azure.Management.ServiceFabric.Models.ClusterHealthPolicy * Nullable<bool> * Microsoft.Azure.Management.ServiceFabric.Models.ClusterUpgradeDeltaHealthPolicy -> Microsoft.Azure.Management.ServiceFabric.Models.ClusterUpgradePolicy
Public Sub New (upgradeReplicaSetCheckTimeout As String, healthCheckWaitDuration As String, healthCheckStableDuration As String, healthCheckRetryTimeout As String, upgradeTimeout As String, upgradeDomainTimeout As String, healthPolicy As ClusterHealthPolicy, Optional forceRestart As Nullable(Of Boolean) = Nothing, Optional deltaHealthPolicy As ClusterUpgradeDeltaHealthPolicy = Nothing)

Parameters

upgradeReplicaSetCheckTimeout
String

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.

healthCheckWaitDuration
String

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.

healthCheckStableDuration
String

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.

healthCheckRetryTimeout
String

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.

upgradeTimeout
String

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.

upgradeDomainTimeout
String

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.

healthPolicy
ClusterHealthPolicy

The cluster health policy used when upgrading the cluster.

forceRestart
Nullable<Boolean>

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

deltaHealthPolicy
ClusterUpgradeDeltaHealthPolicy

The cluster delta health policy used when upgrading the cluster.

Applies to