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
|
Default value: None
|
|
vm
|
Default value: None
|
|
vhd
|
Default value: None
|
|
description
|
Default value: None
|
|
author
|
Default value: None
|
|
managed_image_id
|
Default value: None
|
|
managed_snapshot_id
|
Default value: None
|
|
data_disk_storage_info
|
Default value: None
|
|
custom_image_plan
|
Default value: None
|
|
is_plan_authorized
|
Default value: None
|