ArmNetworkCloudModelFactory.ClusterUpdateStrategy Method
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.
public static Azure.ResourceManager.NetworkCloud.Models.ClusterUpdateStrategy ClusterUpdateStrategy(long? maxUnavailable = default, Azure.ResourceManager.NetworkCloud.Models.ClusterUpdateStrategyType strategyType = default, Azure.ResourceManager.NetworkCloud.Models.ValidationThresholdType thresholdType = default, long thresholdValue = 0, long? waitTimeMinutes = default);
static member ClusterUpdateStrategy : Nullable<int64> * Azure.ResourceManager.NetworkCloud.Models.ClusterUpdateStrategyType * Azure.ResourceManager.NetworkCloud.Models.ValidationThresholdType * int64 * Nullable<int64> -> Azure.ResourceManager.NetworkCloud.Models.ClusterUpdateStrategy
Public Shared Function ClusterUpdateStrategy (Optional maxUnavailable As Nullable(Of Long) = Nothing, Optional strategyType As ClusterUpdateStrategyType = Nothing, Optional thresholdType As ValidationThresholdType = Nothing, Optional thresholdValue As Long = 0, Optional waitTimeMinutes As Nullable(Of Long) = Nothing) As ClusterUpdateStrategy
Parameters
The maximum number of worker nodes that can be offline within the increment of update, e.g., rack-by-rack. Limited by the maximum number of machines in the increment. Defaults to the whole increment size.
- strategyType
- ClusterUpdateStrategyType
The mode of operation for runtime protection.
- thresholdType
- ValidationThresholdType
Selection of how the threshold should be evaluated.
- thresholdValue
- Int64
The numeric threshold value.
The time to wait between the increments of update defined by the strategy.
Returns
A new ClusterUpdateStrategy instance for mocking.