다음을 통해 공유


VirtualMachineImage Class

Describes a Virtual Machine Image.

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

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

Constructor

VirtualMachineImage(*, name: str, location: str, id: str | None = None, tags: Dict[str, str] | None = None, extended_location: _models.ExtendedLocation | None = None, plan: _models.PurchasePlanAutoGenerated | 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, disallowed: _models.DisallowedConfiguration | None = None, features: List[_models.VirtualMachineImageFeature] | 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.

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

disallowed

Specifies disallowed configuration for the VirtualMachine created from the image.

features

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.

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

disallowed

Specifies disallowed configuration for the VirtualMachine created from the image.

features