VirtualMachineImagesEdgeZoneOperations Class
VirtualMachineImagesEdgeZoneOperations async 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.objectVirtualMachineImagesEdgeZoneOperations
Constructor
VirtualMachineImagesEdgeZoneOperations(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 image in an edge zone. |
| list |
Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU. |
| list_offers |
Gets a list of virtual machine image offers for the specified location, edge zone and publisher. |
| list_publishers |
Gets a list of virtual machine image publishers for the specified Azure location and edge zone. |
| list_skus |
Gets a list of virtual machine image SKUs for the specified location, edge zone, publisher, and offer. |
get
Gets a virtual machine image in an edge zone.
async get(location: str, edge_zone: str, publisher_name: str, offer: str, skus: str, version: str, **kwargs: Any) -> azure.mgmt.compute.v2021_03_01.models._models_py3.VirtualMachineImage
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
VirtualMachineImage, or the result of cls(response)
Return type
Exceptions
list
Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.
async list(location: str, edge_zone: str, publisher_name: str, offer: str, skus: str, expand: Optional[str] = None, top: Optional[int] = None, orderby: Optional[str] = None, **kwargs: Any) -> List[azure.mgmt.compute.v2021_03_01.models._models_py3.VirtualMachineImageResource]
Parameters
- top
- int
An integer value specifying the number of images to return that matches supplied values.
- orderby
- str
Specifies the order of the results returned. Formatted as an OData query.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
list of VirtualMachineImageResource, or the result of cls(response)
Return type
Exceptions
list_offers
Gets a list of virtual machine image offers for the specified location, edge zone and publisher.
async list_offers(location: str, edge_zone: str, publisher_name: str, **kwargs: Any) -> List[azure.mgmt.compute.v2021_03_01.models._models_py3.VirtualMachineImageResource]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
list of VirtualMachineImageResource, or the result of cls(response)
Return type
Exceptions
list_publishers
Gets a list of virtual machine image publishers for the specified Azure location and edge zone.
async list_publishers(location: str, edge_zone: str, **kwargs: Any) -> List[azure.mgmt.compute.v2021_03_01.models._models_py3.VirtualMachineImageResource]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
list of VirtualMachineImageResource, or the result of cls(response)
Return type
Exceptions
list_skus
Gets a list of virtual machine image SKUs for the specified location, edge zone, publisher, and offer.
async list_skus(location: str, edge_zone: str, publisher_name: str, offer: str, **kwargs: Any) -> List[azure.mgmt.compute.v2021_03_01.models._models_py3.VirtualMachineImageResource]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
list of VirtualMachineImageResource, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.compute.v2021_03_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\compute\\v2021_03_01\\models\\__init__.py'>
Feedback
Submit and view feedback for