Share via


ClusterUpdateStrategy Class

Definition

ClusterUpdateStrategy represents the strategy for updating the cluster.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.ClusterUpdateStrategyTypeConverter))]
public class ClusterUpdateStrategy : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.IClusterUpdateStrategy
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.ClusterUpdateStrategyTypeConverter))>]
type ClusterUpdateStrategy = class
    interface IClusterUpdateStrategy
    interface IJsonSerializable
Public Class ClusterUpdateStrategy
Implements IClusterUpdateStrategy
Inheritance
ClusterUpdateStrategy
Attributes
Implements

Constructors

ClusterUpdateStrategy()

Creates an new ClusterUpdateStrategy instance.

Properties

MaxUnavailable

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

The mode of operation for runtime protection.

ThresholdType

Selection of how the threshold should be evaluated.

ThresholdValue

The numeric threshold value.

WaitTimeMinute

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ClusterUpdateStrategy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ClusterUpdateStrategy.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.IClusterUpdateStrategy.

FromJsonString(String)

Creates a new instance of ClusterUpdateStrategy, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ClusterUpdateStrategy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to