If createOption is Copy, this is the ARM id of the source snapshot or disk.
string
sourceUri
If createOption is Import, this is the URI of a blob to be imported into a managed disk.
string
storageAccountId
If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription
string
DiskProperties
Name
Description
Value
creationData
Disk source information. CreationData information cannot be changed after the disk has been created.
If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
bool
keyEncryptionKey
Key Vault Key Url and vault id of the key encryption key
A relative uri containing either a Platform Image Repository or user image reference.
string (required)
lun
If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.
int
KeyVaultAndKeyReference
Name
Description
Value
keyUrl
Url pointing to a key or secret in KeyVault
string (required)
sourceVault
Resource id of the KeyVault containing the key or secret
If createOption is Copy, this is the ARM id of the source snapshot or disk.
string
sourceUri
If createOption is Import, this is the URI of a blob to be imported into a managed disk.
string
storageAccountId
If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription
string
DiskProperties
Name
Description
Value
creationData
Disk source information. CreationData information cannot be changed after the disk has been created.
If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
bool
keyEncryptionKey
Key Vault Key Url and vault id of the key encryption key
A relative uri containing either a Platform Image Repository or user image reference.
string (required)
lun
If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.
int
KeyVaultAndKeyReference
Name
Description
Value
keyUrl
Url pointing to a key or secret in KeyVault
string (required)
sourceVault
Resource id of the KeyVault containing the key or secret
This template creates a VM from a EfficientIP VHD and let you connect it to an existing VNET that can reside in another Resource Group then the virtual machine
This template creates a VM from a specialized VHD and let you connect it to a new or existing VNET that can reside in another Resource Group than the virtual machine
This template creates a VM from VHDs (OS + data disk) and let you connect it to an existing VNET that can reside in another Resource Group then the virtual machine
If createOption is Copy, this is the ARM id of the source snapshot or disk.
string
sourceUri
If createOption is Import, this is the URI of a blob to be imported into a managed disk.
string
storageAccountId
If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription
string
DiskProperties
Name
Description
Value
creationData
Disk source information. CreationData information cannot be changed after the disk has been created.
If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
bool
keyEncryptionKey
Key Vault Key Url and vault id of the key encryption key
A relative uri containing either a Platform Image Repository or user image reference.
string (required)
lun
If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.
int
KeyVaultAndKeyReference
Name
Description
Value
keyUrl
Url pointing to a key or secret in KeyVault
string (required)
sourceVault
Resource id of the KeyVault containing the key or secret