CustomImageFragment Class
A custom image.
- Inheritance
-
azure.mgmt.devtestlabs.models._models_py3.UpdateResourceCustomImageFragment
Constructor
CustomImageFragment(*, tags: Optional[Dict[str, str]] = None, vm: Optional[azure.mgmt.devtestlabs.models._models_py3.CustomImagePropertiesFromVmFragment] = None, vhd: Optional[azure.mgmt.devtestlabs.models._models_py3.CustomImagePropertiesCustomFragment] = None, description: Optional[str] = None, author: Optional[str] = None, managed_image_id: Optional[str] = None, managed_snapshot_id: Optional[str] = None, data_disk_storage_info: Optional[List[azure.mgmt.devtestlabs.models._models_py3.DataDiskStorageTypeInfoFragment]] = None, custom_image_plan: Optional[azure.mgmt.devtestlabs.models._models_py3.CustomImagePropertiesFromPlanFragment] = None, is_plan_authorized: Optional[bool] = None, **kwargs)
Parameters
Required
The virtual machine from which the image is to be created.
- data_disk_storage_info
- list[DataDiskStorageTypeInfoFragment]
Required
Storage information about the data disks present in the custom image.
- custom_image_plan
- CustomImagePropertiesFromPlanFragment
Required
Storage information about the plan related to this custom image.
- is_plan_authorized
- bool
Required
Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment.
Feedback
Submit and view feedback for