다음을 통해 공유


VirtualMachineImage 클래스

Virtual Machine 이미지에 대해 설명합니다.

Azure로 보내려면 모든 필수 매개 변수를 채워야 합니다.

상속
azure.mgmt.compute.v2022_03_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, architecture: str | _models.ArchitectureTypes | None = None, **kwargs)

변수

id
str

리소스 ID입니다.

name
str

리소스의 이름입니다. 필수 요소.

location
str

리소스의 지원되는 Azure 위치입니다. 필수 요소.

tags
dict[str, str]

가상 머신에 할당된 태그를 지정합니다. 태그 사용에 대한 자세한 내용은 태그를 사용하여 Azure 리소스 구성을 참조하세요.

extended_location
ExtendedLocation

Virtual Machine의 확장된 위치입니다.

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에 대해 허용되지 않는 구성을 지정합니다.

architecture
str 또는 ArchitectureTypes

아키텍처 유형을 지정합니다. 알려진 값은 "x64" 및 "Arm64"입니다.