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

ImageDiskReference Class

The source image used for creating the disk.

All required parameters must be populated in order to send to server.

Constructor

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

Keyword-Only Parameters

Name Description
id
str

A relative uri containing either a Platform Image Repository or user image reference. Required.

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.

Default value: None

Variables

Name Description
id
str

A relative uri containing either a Platform Image Repository or user image reference. Required.

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.