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
str

The description of the custom image.

author
Required
str

The author of the custom image.

managed_image_id
Required
str

The Managed Image Id backing the custom image.

managed_snapshot_id
Required
str

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
Required
vm
Required
vhd
Required
description
Required
author
Required
managed_image_id
Required
managed_snapshot_id
Required
data_disk_storage_info
Required
custom_image_plan
Required
is_plan_authorized
Required