다음을 통해 공유


NodeImageSelection Class

Definition

The node image upgrade to be applied to the target nodes in update run.

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

Constructors

NodeImageSelection(NodeImageSelectionType)

Initializes a new instance of NodeImageSelection.

Properties

CustomNodeImageVersions

Custom node image versions to upgrade the nodes to. This field is required if node image selection type is Custom. Otherwise, it must be empty. For each node image family (e.g., 'AKSUbuntu-1804gen2containerd'), this field can contain at most one version (e.g., only one of 'AKSUbuntu-1804gen2containerd-2023.01.12' or 'AKSUbuntu-1804gen2containerd-2023.02.12', not both). If the nodes belong to a family without a matching image version in this field, they are not upgraded.

SelectionType

The node image upgrade type.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NodeImageSelection>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NodeImageSelection>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NodeImageSelection>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NodeImageSelection>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NodeImageSelection>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to