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

VirtualMachineImageResource Class

Virtual machine image resource information.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.compute.v2024_07_01.models._models_py3.SubResource
VirtualMachineImageResource

Constructor

VirtualMachineImageResource(*, name: str, location: str, id: str | None = None, tags: Dict[str, str] | None = None, extended_location: _models.ExtendedLocation | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Resource Id.

name
str

The name of the resource. Required.

location
str

The supported Azure location of the resource. Required.

tags

Specifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources.

extended_location

The extended location of the Virtual Machine.

Variables

Name Description
id
str

Resource Id.

name
str

The name of the resource. Required.

location
str

The supported Azure location of the resource. Required.

tags

Specifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources.

extended_location

The extended location of the Virtual Machine.