VirtualMachineExtensionImagesOperations Class
VirtualMachineExtensionImagesOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectVirtualMachineExtensionImagesOperations
Constructor
VirtualMachineExtensionImagesOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
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) -> _models.VirtualMachineExtensionImage
Parameters
- publisher_name
- str
- type
- str
- version
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
VirtualMachineExtensionImage, or the result of cls(response)
Return type
Exceptions
list_types
Gets a list of virtual machine extension image types.
list_types(location: str, publisher_name: str, **kwargs: Any) -> List[_models.VirtualMachineExtensionImage]
Parameters
- publisher_name
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
list of VirtualMachineExtensionImage, or the result of cls(response)
Return type
Exceptions
list_versions
Gets a list of virtual machine extension image versions.
list_versions(location: str, publisher_name: str, type: str, filter: Optional[str] = None, top: Optional[int] = None, orderby: Optional[str] = None, **kwargs: Any) -> List[_models.VirtualMachineExtensionImage]
Parameters
- publisher_name
- str
- type
- str
- top
- int
- orderby
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
list of VirtualMachineExtensionImage, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.compute.v2020_12_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\compute\\v2020_12_01\\models\\__init__.py'>
Feedback
Submit and view feedback for