Partilhar via


ImageTemplateVmProfile interface

Describes the virtual machines used to build and validate images

Properties

osDiskSizeGB

Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.

userAssignedIdentities

Optional array of resource IDs of user assigned managed identities to be configured on the build VM and validation VM. This may include the identity of the image template.

vmSize

Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images).

vnetConfig

Optional configuration of the virtual network to use to deploy the build VM and validation VM in. Omit if no specific virtual network needs to be used.

Property Details

osDiskSizeGB

Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.

osDiskSizeGB?: number

Property Value

number

userAssignedIdentities

Optional array of resource IDs of user assigned managed identities to be configured on the build VM and validation VM. This may include the identity of the image template.

userAssignedIdentities?: string[]

Property Value

string[]

vmSize

Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images).

vmSize?: string

Property Value

string

vnetConfig

Optional configuration of the virtual network to use to deploy the build VM and validation VM in. Omit if no specific virtual network needs to be used.

vnetConfig?: VirtualNetworkConfig

Property Value