你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NodeImageSelectionType Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The node image upgrade type.
public readonly struct NodeImageSelectionType : IEquatable<Azure.ResourceManager.ContainerServiceFleet.Models.NodeImageSelectionType>
type NodeImageSelectionType = struct
Public Structure NodeImageSelectionType
Implements IEquatable(Of NodeImageSelectionType)
- Inheritance
-
NodeImageSelectionType
- Implements
Constructors
NodeImageSelectionType(String) |
Initializes a new instance of NodeImageSelectionType. |
Properties
Consistent |
The image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'. |
Custom |
Upgrade the nodes to the custom image versions. When set, update run will use node image versions provided in customNodeImageVersions to upgrade the nodes. If set, customNodeImageVersions must not be empty. |
Latest |
Use the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions. |
Methods
Equals(NodeImageSelectionType) |
Indicates whether the current object is equal to another object of the same type. |
ToString() |
Returns the fully qualified type name of this instance. |
Operators
Equality(NodeImageSelectionType, NodeImageSelectionType) |
Determines if two NodeImageSelectionType values are the same. |
Implicit(String to NodeImageSelectionType) |
Converts a String to a NodeImageSelectionType. |
Inequality(NodeImageSelectionType, NodeImageSelectionType) |
Determines if two NodeImageSelectionType values are not the same. |