다음을 통해 공유


VirtualMachineExtensionImagesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:virtual_machine_extension_images> attribute.

Inheritance
builtins.object
VirtualMachineExtensionImagesOperations

Constructor

VirtualMachineExtensionImagesOperations(*args, **kwargs)

Methods

get

Gets a virtual machine extension image.

list_types

Gets a list of virtual machine extension image types.

list_versions

Gets a list of virtual machine extension image versions.

get

Gets a virtual machine extension image.

get(location: str, publisher_name: str, type: str, version: str, **kwargs: Any) -> VirtualMachineExtensionImage

Parameters

Name Description
location
Required
str

The name of a supported Azure region. Required.

publisher_name
Required
str

Required.

type
Required
str

Required.

version
Required
str

Required.

Returns

Type Description

VirtualMachineExtensionImage or the result of cls(response)

Exceptions

Type Description

list_types

Gets a list of virtual machine extension image types.

list_types(location: str, publisher_name: str, **kwargs: Any) -> List[VirtualMachineExtensionImage]

Parameters

Name Description
location
Required
str

The name of a supported Azure region. Required.

publisher_name
Required
str

Required.

Returns

Type Description

list of VirtualMachineExtensionImage or the result of cls(response)

Exceptions

Type Description

list_versions

Gets a list of virtual machine extension image versions.

list_versions(location: str, publisher_name: str, type: str, *, filter: str | None = None, top: int | None = None, orderby: str | None = None, **kwargs: Any) -> List[VirtualMachineExtensionImage]

Parameters

Name Description
location
Required
str

The name of a supported Azure region. Required.

publisher_name
Required
str

Required.

type
Required
str

Required.

Keyword-Only Parameters

Name Description
filter
str

The filter to apply on the operation. Default value is None.

top
int

Default value is None.

orderby
str

Default value is None.

Returns

Type Description

list of VirtualMachineExtensionImage or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.compute.v2018_06_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2018_06_01\\models\\__init__.py'>