VirtualMachineExtensionImagesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:virtual_machine_extension_images> attribute.
- Inheritance
-
builtins.objectVirtualMachineExtensionImagesOperations
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
|
The name of a supported Azure region. Required. |
publisher_name
Required
|
Required. |
type
Required
|
Required. |
version
Required
|
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
|
The name of a supported Azure region. Required. |
publisher_name
Required
|
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
|
The name of a supported Azure region. Required. |
publisher_name
Required
|
Required. |
type
Required
|
Required. |
Keyword-Only Parameters
Name | Description |
---|---|
filter
|
The filter to apply on the operation. Default value is None. |
top
|
Default value is None. |
orderby
|
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.v2021_04_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2021_04_01\\models\\__init__.py'>
Azure SDK for Python