Share via


MachineOSProfile interface

The operating system and disk used by the machine.

Properties

enableFips

Whether to use a FIPS-enabled OS.

linuxProfile

The Linux machine's specific profile.

osDiskSizeGB

OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.

osDiskType

The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.

osSKU

Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated.

osType

The operating system type. The default is Linux.

windowsProfile

The Windows machine's specific profile.

Property Details

enableFips

Whether to use a FIPS-enabled OS.

enableFips?: boolean

Property Value

boolean

linuxProfile

The Linux machine's specific profile.

linuxProfile?: MachineOSProfileLinuxProfile

Property Value

osDiskSizeGB

OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.

osDiskSizeGB?: number

Property Value

number

osDiskType

The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.

osDiskType?: string

Property Value

string

osSKU

Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated.

osSKU?: string

Property Value

string

osType

The operating system type. The default is Linux.

osType?: string

Property Value

string

windowsProfile

The Windows machine's specific profile.

windowsProfile?: AgentPoolWindowsProfile

Property Value