ImageDataDisk interface

Describes a data disk.

Extends

Properties

lun

Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.

Inherited Properties

blobUri

The Virtual Hard Disk.

caching

Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.

diskEncryptionSet

Specifies the customer managed disk encryption set resource id for the managed image disk.

diskSizeGB

Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB.

managedDisk

The managedDisk.

snapshot

The snapshot.

storageAccountType

Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.

Property Details

lun

Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.

lun: number

Property Value

number

Inherited Property Details

blobUri

The Virtual Hard Disk.

blobUri?: string

Property Value

string

Inherited From ImageDisk.blobUri

caching

Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.

caching?: CachingTypes

Property Value

Inherited From ImageDisk.caching

diskEncryptionSet

Specifies the customer managed disk encryption set resource id for the managed image disk.

diskEncryptionSet?: DiskEncryptionSetParameters

Property Value

Inherited From ImageDisk.diskEncryptionSet

diskSizeGB

Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB.

diskSizeGB?: number

Property Value

number

Inherited From ImageDisk.diskSizeGB

managedDisk

The managedDisk.

managedDisk?: SubResource

Property Value

Inherited From ImageDisk.managedDisk

snapshot

The snapshot.

snapshot?: SubResource

Property Value

Inherited From ImageDisk.snapshot

storageAccountType

Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.

storageAccountType?: string

Property Value

string

Inherited From ImageDisk.storageAccountType