次の方法で共有


ClusterUpdateStrategy Class

Definition

ClusterUpdateStrategy represents the strategy for updating the cluster.

public class ClusterUpdateStrategy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkCloud.Models.ClusterUpdateStrategy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkCloud.Models.ClusterUpdateStrategy>
type ClusterUpdateStrategy = class
    interface IJsonModel<ClusterUpdateStrategy>
    interface IPersistableModel<ClusterUpdateStrategy>
Public Class ClusterUpdateStrategy
Implements IJsonModel(Of ClusterUpdateStrategy), IPersistableModel(Of ClusterUpdateStrategy)
Inheritance
ClusterUpdateStrategy
Implements

Constructors

ClusterUpdateStrategy(ClusterUpdateStrategyType, ValidationThresholdType, Int64)

Initializes a new instance of ClusterUpdateStrategy.

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.

WaitTimeMinutes

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ClusterUpdateStrategy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ClusterUpdateStrategy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClusterUpdateStrategy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClusterUpdateStrategy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ClusterUpdateStrategy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to