CustomImageFragment Class
A custom image.
Constructor
CustomImageFragment(*, tags: Dict[str, str] | None = None, vm: CustomImagePropertiesFromVmFragment | None = None, vhd: CustomImagePropertiesCustomFragment | None = None, description: str | None = None, author: str | None = None, managed_image_id: str | None = None, managed_snapshot_id: str | None = None, data_disk_storage_info: List[DataDiskStorageTypeInfoFragment] | None = None, custom_image_plan: CustomImagePropertiesFromPlanFragment | None = None, is_plan_authorized: bool | None = None, **kwargs)
Parameters
Name | Description |
---|---|
tags
Required
|
A set of tags. The tags of the resource. |
vm
Required
|
The virtual machine from which the image is to be created. |
vhd
Required
|
The VHD from which the image is to be created. |
description
Required
|
The description of the custom image. |
author
Required
|
The author of the custom image. |
managed_image_id
Required
|
The Managed Image Id backing the custom image. |
managed_snapshot_id
Required
|
The Managed Snapshot Id backing the custom image. |
data_disk_storage_info
Required
|
Storage information about the data disks present in the custom image. |
custom_image_plan
Required
|
Storage information about the plan related to this custom image. |
is_plan_authorized
Required
|
Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment. |
Keyword-Only Parameters
Name | Description |
---|---|
tags
Required
|
|
vm
Required
|
|
vhd
Required
|
|
description
Required
|
|
author
Required
|
|
managed_image_id
Required
|
|
managed_snapshot_id
Required
|
|
data_disk_storage_info
Required
|
|
custom_image_plan
Required
|
|
is_plan_authorized
Required
|
|
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python