次の方法で共有


VirtualMachineImage クラス

仮想マシン イメージについて説明します。

Azure に送信するには、必要なすべてのパラメーターを設定する必要があります。

継承
azure.mgmt.compute.v2021_04_01.models._models_py3.VirtualMachineImageResource
VirtualMachineImage

コンストラクター

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

Keyword-Only Parameters

id
str

リソース ID。

name
str

リソースの名前。 必須。

location
str

リソースのサポートされている Azure の場所。 必須。

tags
dict[str, str]

仮想マシンに割り当てられるタグを指定します。 タグの使用の詳細については、「タグ を使用して Azure リソースを整理する」を参照してください。

extended_location
ExtendedLocation

仮想マシンの拡張された場所。

plan
PurchasePlan

MarketPlace を通じてサード パーティの成果物の購入コンテキストを確立するために使用されます。

os_disk_image
OSDiskImage

os ディスク イメージ情報が含まれます。

data_disk_images
list[DataDiskImage]
automatic_os_upgrade_properties
AutomaticOSUpgradeProperties

イメージの OS の自動アップグレード プロパティについて説明します。

hyper_v_generation
str または HyperVGenerationTypes

HyperVGeneration の種類を指定します。 既知の値は、"V1" と "V2" です。

disallowed
DisallowedConfiguration

イメージから作成された VirtualMachine の許可されていない構成を指定します。

変数

id
str

リソース ID。

name
str

リソースの名前。 必須です。

location
str

リソースのサポートされている Azure の場所。 必須。

tags
dict[str, str]

仮想マシンに割り当てられるタグを指定します。 タグの使用の詳細については、「タグ を使用して Azure リソースを整理する」を参照してください。

extended_location
ExtendedLocation

仮想マシンの拡張された場所。

plan
PurchasePlan

MarketPlace を通じてサード パーティの成果物の購入コンテキストを確立するために使用されます。

os_disk_image
OSDiskImage

os ディスク イメージ情報が含まれます。

data_disk_images
list[DataDiskImage]
automatic_os_upgrade_properties
AutomaticOSUpgradeProperties

イメージの OS の自動アップグレード プロパティについて説明します。

hyper_v_generation
str または HyperVGenerationTypes

HyperVGeneration の種類を指定します。 既知の値は、"V1" と "V2" です。

disallowed
DisallowedConfiguration

イメージから作成された VirtualMachine の許可されていない構成を指定します。