你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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.v2024_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".