ImageDiskReference Class
The source image used for creating the disk.
- Inheritance
-
azure.mgmt.compute._serialization.ModelImageDiskReference
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
|
A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference. |
shared_gallery_image_id
|
A relative uri containing a direct shared Azure Compute Gallery image reference. |
community_gallery_image_id
|
A relative uri containing a community Azure Compute Gallery image reference. |
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, user image, or Azure Compute Gallery image reference. |
shared_gallery_image_id
|
A relative uri containing a direct shared Azure Compute Gallery image reference. |
community_gallery_image_id
|
A relative uri containing a community Azure Compute Gallery image reference. |
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