Package version:

Interface ImageDiskReference

The source image used for creating the disk.

interface ImageDiskReference {
    communityGalleryImageId?: string;
    id?: string;
    lun?: number;
    sharedGalleryImageId?: string;
}

Properties

communityGalleryImageId?: string

A relative uri containing a community Azure Compute Gallery image reference.

id?: string

A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference.

lun?: number

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.

sharedGalleryImageId?: string

A relative uri containing a direct shared Azure Compute Gallery image reference.