ApplicationUpgradePolicy Constructors
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.
Overloads
ApplicationUpgradePolicy() |
Initializes a new instance of the ApplicationUpgradePolicy class. |
ApplicationUpgradePolicy(String, Nullable<Boolean>, ArmRollingUpgradeMonitoringPolicy, ArmApplicationHealthPolicy, String) |
Initializes a new instance of the ApplicationUpgradePolicy class. |
ApplicationUpgradePolicy()
Initializes a new instance of the ApplicationUpgradePolicy class.
public ApplicationUpgradePolicy ();
Public Sub New ()
Applies to
ApplicationUpgradePolicy(String, Nullable<Boolean>, ArmRollingUpgradeMonitoringPolicy, ArmApplicationHealthPolicy, String)
Initializes a new instance of the ApplicationUpgradePolicy class.
public ApplicationUpgradePolicy (string upgradeReplicaSetCheckTimeout = default, bool? forceRestart = default, Microsoft.Azure.Management.ServiceFabric.Models.ArmRollingUpgradeMonitoringPolicy rollingUpgradeMonitoringPolicy = default, Microsoft.Azure.Management.ServiceFabric.Models.ArmApplicationHealthPolicy applicationHealthPolicy = default, string upgradeMode = default);
new Microsoft.Azure.Management.ServiceFabric.Models.ApplicationUpgradePolicy : string * Nullable<bool> * Microsoft.Azure.Management.ServiceFabric.Models.ArmRollingUpgradeMonitoringPolicy * Microsoft.Azure.Management.ServiceFabric.Models.ArmApplicationHealthPolicy * string -> Microsoft.Azure.Management.ServiceFabric.Models.ApplicationUpgradePolicy
Public Sub New (Optional upgradeReplicaSetCheckTimeout As String = Nothing, Optional forceRestart As Nullable(Of Boolean) = Nothing, Optional rollingUpgradeMonitoringPolicy As ArmRollingUpgradeMonitoringPolicy = Nothing, Optional applicationHealthPolicy As ArmApplicationHealthPolicy = Nothing, Optional upgradeMode As String = 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. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).
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
- ArmRollingUpgradeMonitoringPolicy
The policy used for monitoring the application upgrade
- applicationHealthPolicy
- ArmApplicationHealthPolicy
Defines a health policy used to evaluate the health of an application or one of its children entities.
- upgradeMode
- String
The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored. Possible values include: 'Invalid', 'UnmonitoredAuto', 'UnmonitoredManual', 'Monitored'
Applies to
Azure SDK for .NET