Package version:

Interface ImageDisk

Describes a image disk.

interface ImageDisk {
    blobUri?: string;
    caching?: CachingTypes;
    diskEncryptionSet?: DiskEncryptionSetParameters;
    diskSizeGB?: 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.

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.