次の方法で共有


ArmContainerServiceFleetModelFactory.NodeImageSelection Method

Definition

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

public static Azure.ResourceManager.ContainerServiceFleet.Models.NodeImageSelection NodeImageSelection(Azure.ResourceManager.ContainerServiceFleet.Models.NodeImageSelectionType selectionType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerServiceFleet.Models.NodeImageVersion> customNodeImageVersions = default);
static member NodeImageSelection : Azure.ResourceManager.ContainerServiceFleet.Models.NodeImageSelectionType * seq<Azure.ResourceManager.ContainerServiceFleet.Models.NodeImageVersion> -> Azure.ResourceManager.ContainerServiceFleet.Models.NodeImageSelection
Public Shared Function NodeImageSelection (Optional selectionType As NodeImageSelectionType = Nothing, Optional customNodeImageVersions As IEnumerable(Of NodeImageVersion) = Nothing) As NodeImageSelection

Parameters

selectionType
NodeImageSelectionType

The node image upgrade type.

customNodeImageVersions
IEnumerable<NodeImageVersion>

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.

Returns

A new NodeImageSelection instance for mocking.

Applies to