CustomImageFragment Class

A custom image.

Inheritance
azure.mgmt.devtestlabs.models._models_py3.UpdateResource
CustomImageFragment

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

tags
dict[str, str]
Required

A set of tags. The tags of the resource.

vm
CustomImagePropertiesFromVmFragment
Required

The virtual machine from which the image is to be created.

vhd
CustomImagePropertiesCustomFragment
Required

The VHD from which the image is to be created.

description
str
Required

The description of the custom image.

author
str
Required

The author of the custom image.

managed_image_id
str
Required

The Managed Image Id backing the custom image.

managed_snapshot_id
str
Required

The Managed Snapshot Id backing the custom image.

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.