ContainerServiceOSSku Struct

Definition

Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.

public readonly struct ContainerServiceOSSku : IEquatable<Azure.ResourceManager.ContainerService.Models.ContainerServiceOSSku>
type ContainerServiceOSSku = struct
Public Structure ContainerServiceOSSku
Implements IEquatable(Of ContainerServiceOSSku)
Inheritance
ContainerServiceOSSku
Implements

Constructors

ContainerServiceOSSku(String)

Initializes a new instance of ContainerServiceOSSku.

Properties

AzureLinux

Use AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information.

CblMariner

Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead.

Mariner

Mariner.

Ubuntu

Use Ubuntu as the OS for node images.

Windows2019

Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa.

Windows2022

Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa.

Methods

Equals(ContainerServiceOSSku)

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(ContainerServiceOSSku, ContainerServiceOSSku)

Determines if two ContainerServiceOSSku values are the same.

Implicit(String to ContainerServiceOSSku)

Converts a string to a ContainerServiceOSSku.

Inequality(ContainerServiceOSSku, ContainerServiceOSSku)

Determines if two ContainerServiceOSSku values are not the same.

Applies to