ImageDiskReference Class

The source image used for creating the disk.

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

Inheritance
azure.mgmt.compute._serialization.Model
ImageDiskReference

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.

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.