MachineOSProfile interface
The operating system and disk used by the machine.
Properties
| enable |
Whether to use a FIPS-enabled OS. |
| linux |
The Linux machine's specific profile. |
| os |
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. |
| os |
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. |
| os |
The operating system type. The default is Linux. |
| windows |
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