Package version:

Interface ImageDataDisk

Describes a data disk.

interface ImageDataDisk {
    blobUri?: string;
    caching?: CachingTypes;
    diskEncryptionSet?: DiskEncryptionSetParameters;
    diskSizeGB?: number;
    lun: number;
    managedDisk?: SubResource;
    snapshot?: SubResource;
    storageAccountType?: string;
}

Hierarchy (view full)

Properties

blobUri?: string

The Virtual Hard Disk.

caching?: CachingTypes

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

diskEncryptionSet?: DiskEncryptionSetParameters

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

diskSizeGB?: number

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.

lun: number

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.

managedDisk?: SubResource

The managedDisk.

snapshot?: SubResource

The snapshot.

storageAccountType?: string

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.