你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ImageDiskReference Class

The source image used for creating the disk.

Inheritance
azure.mgmt.compute._serialization.Model
ImageDiskReference

Constructor

ImageDiskReference(*, id: str | None = None, shared_gallery_image_id: str | None = None, community_gallery_image_id: str | None = None, lun: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

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

shared_gallery_image_id
str

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

community_gallery_image_id
str

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

lun
int

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.

Variables

Name Description
id
str

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

shared_gallery_image_id
str

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

community_gallery_image_id
str

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

lun
int

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.