ImageUpdate Class

The source user image virtual hard disk. Only tags may be updated.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.compute.v2022_03_01.models._models_py3.UpdateResource
ImageUpdate

Constructor

ImageUpdate(*, tags: Dict[str, str] | None = None, source_virtual_machine: _models.SubResource | None = None, storage_profile: _models.ImageStorageProfile | None = None, hyper_v_generation: str | _models.HyperVGenerationTypes | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

source_virtual_machine

The source virtual machine from which Image is created.

storage_profile

Specifies the storage settings for the virtual machine disks.

hyper_v_generation

Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. Known values are: "V1" and "V2".

Variables

Name Description
tags

Resource tags.

source_virtual_machine

The source virtual machine from which Image is created.

storage_profile

Specifies the storage settings for the virtual machine disks.

provisioning_state
str

The provisioning state.

hyper_v_generation

Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. Known values are: "V1" and "V2".