CustomImage Class
A custom image.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.devtestlabs.models._models_py3.ResourceCustomImage
Constructor
CustomImage(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, vm: Optional[azure.mgmt.devtestlabs.models._models_py3.CustomImagePropertiesFromVm] = None, vhd: Optional[azure.mgmt.devtestlabs.models._models_py3.CustomImagePropertiesCustom] = 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.DataDiskStorageTypeInfo]] = None, custom_image_plan: Optional[azure.mgmt.devtestlabs.models._models_py3.CustomImagePropertiesFromPlan] = None, is_plan_authorized: Optional[bool] = None, **kwargs)
Parameters
- data_disk_storage_info
- list[DataDiskStorageTypeInfo]
Required
Storage information about the data disks present in the custom image.
- custom_image_plan
- CustomImagePropertiesFromPlan
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.
Variables
- id
- str
The identifier of the resource.
- name
- str
The name of the resource.
- type
- str
The type of the resource.
- creation_date
- datetime
The creation date of the custom image.
- provisioning_state
- str
The provisioning status of the resource.
- unique_identifier
- str
The unique immutable identifier of a resource (Guid).
Feedback
Submit and view feedback for