VirtualMachineImage Class

Describes a Virtual Machine Image.

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

Inheritance
azure.mgmt.compute.v2018_10_01.models._models_py3.VirtualMachineImageResource
VirtualMachineImage

Constructor

VirtualMachineImage(*, name: str, location: str, id: str | None = None, tags: Dict[str, str] | None = None, plan: _models.PurchasePlan | None = None, os_disk_image: _models.OSDiskImage | None = None, data_disk_images: List[_models.DataDiskImage] | None = None, automatic_os_upgrade_properties: _models.AutomaticOSUpgradeProperties | 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.

plan

Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

os_disk_image

Contains the os disk image information.

data_disk_images
automatic_os_upgrade_properties

Describes automatic OS upgrade properties on the image.

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.

plan

Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

os_disk_image

Contains the os disk image information.

data_disk_images
automatic_os_upgrade_properties

Describes automatic OS upgrade properties on the image.