VirtualMachineImage Class
Describes a Virtual Machine Image.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.compute.v2019_12_01.models._models_py3.VirtualMachineImageResourceVirtualMachineImage
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, hyper_v_generation: str | _models.HyperVGenerationTypes | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
id
|
Resource Id. |
name
|
The name of the resource. Required. |
location
|
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. |
hyper_v_generation
|
Specifies the HyperVGeneration Type. Known values are: "V1" and "V2". |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
The name of the resource. Required. |
location
|
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. |
hyper_v_generation
|
Specifies the HyperVGeneration Type. Known values are: "V1" and "V2". |
Azure SDK for Python