OSSKU

enum OSSKU : Enum<OSSKU> , ConvertibleToJava<OSSKU>

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.

Entries

Link copied to clipboard

Use Ubuntu as the OS for node images.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val javaValue: OSSKU
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): OSSKU
Link copied to clipboard
fun valueOf(value: String): OSSKU

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.