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.ModelImageDiskReference
Constructor
ImageDiskReference(*, id: str, lun: int | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
id
|
A relative uri containing either a Platform Image Repository or user image reference. Required. |
lun
|
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
|
A relative uri containing either a Platform Image Repository or user image reference. Required. |
lun
|
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. |
Azure SDK for Python