Lenguaje

ArmNetworkCloudModelFactory.ClusterUpdateStrategyPatch Method

Definition

ClusterUpdateStrategyPatch represents the strategy for updating the cluster for patch operations.

public static Azure.ResourceManager.NetworkCloud.Models.ClusterUpdateStrategyPatch ClusterUpdateStrategyPatch(long? maxUnavailable = default, Azure.ResourceManager.NetworkCloud.Models.ClusterUpdateStrategyType? strategyType = default, Azure.ResourceManager.NetworkCloud.Models.ValidationThresholdType? thresholdType = default, long? thresholdValue = default, long? waitTimeMinutes = default);
static member ClusterUpdateStrategyPatch : Nullable<int64> * Nullable<Azure.ResourceManager.NetworkCloud.Models.ClusterUpdateStrategyType> * Nullable<Azure.ResourceManager.NetworkCloud.Models.ValidationThresholdType> * Nullable<int64> * Nullable<int64> -> Azure.ResourceManager.NetworkCloud.Models.ClusterUpdateStrategyPatch
Public Shared Function ClusterUpdateStrategyPatch (Optional maxUnavailable As Nullable(Of Long) = Nothing, Optional strategyType As Nullable(Of ClusterUpdateStrategyType) = Nothing, Optional thresholdType As Nullable(Of ValidationThresholdType) = Nothing, Optional thresholdValue As Nullable(Of Long) = Nothing, Optional waitTimeMinutes As Nullable(Of Long) = Nothing) As ClusterUpdateStrategyPatch

Parameters

maxUnavailable
Nullable<Int64>

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
Nullable<ClusterUpdateStrategyType>

The strategy for updating the cluster.

thresholdType
Nullable<ValidationThresholdType>

Selection of how the threshold should be evaluated.

thresholdValue
Nullable<Int64>

The numeric threshold value.

waitTimeMinutes
Nullable<Int64>

The time to wait between the increments of update defined by the strategy.

Returns

A new ClusterUpdateStrategyPatch instance for mocking.

Applies to