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.Resource
CustomImage

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

location
str
Required

The location of the resource.

tags
dict[str, str]
Required

A set of tags. The tags of the resource.

vm
CustomImagePropertiesFromVm
Required

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

vhd
CustomImagePropertiesCustom
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[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).