VirtualMachineImagesEdgeZoneOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:virtual_machine_images_edge_zone> attribute.
- Inheritance
-
builtins.objectVirtualMachineImagesEdgeZoneOperations
Constructor
VirtualMachineImagesEdgeZoneOperations(*args, **kwargs)
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) -> VirtualMachineImage
Parameters
Name | Description |
---|---|
location
Required
|
The name of a supported Azure region. Required. |
edge_zone
Required
|
The name of the edge zone. Required. |
publisher_name
Required
|
A valid image publisher. Required. |
offer
Required
|
A valid image publisher offer. Required. |
skus
Required
|
A valid image SKU. Required. |
version
Required
|
A valid image SKU version. Required. |
Returns
Type | Description |
---|---|
VirtualMachineImage or the result of cls(response) |
Exceptions
Type | Description |
---|---|
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: str | None = None, top: int | None = None, orderby: str | None = None, **kwargs: Any) -> List[VirtualMachineImageResource]
Parameters
Name | Description |
---|---|
location
Required
|
The name of a supported Azure region. Required. |
edge_zone
Required
|
The name of the edge zone. Required. |
publisher_name
Required
|
A valid image publisher. Required. |
offer
Required
|
A valid image publisher offer. Required. |
skus
Required
|
A valid image SKU. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
expand
|
The expand expression to apply on the operation. Default value is None. |
top
|
An integer value specifying the number of images to return that matches supplied values. Default value is None. |
orderby
|
Specifies the order of the results returned. Formatted as an OData query. Default value is None. |
Returns
Type | Description |
---|---|
list of VirtualMachineImageResource or the result of cls(response) |
Exceptions
Type | Description |
---|---|
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[VirtualMachineImageResource]
Parameters
Name | Description |
---|---|
location
Required
|
The name of a supported Azure region. Required. |
edge_zone
Required
|
The name of the edge zone. Required. |
publisher_name
Required
|
A valid image publisher. Required. |
Returns
Type | Description |
---|---|
list of VirtualMachineImageResource or the result of cls(response) |
Exceptions
Type | Description |
---|---|
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[VirtualMachineImageResource]
Parameters
Name | Description |
---|---|
location
Required
|
The name of a supported Azure region. Required. |
edge_zone
Required
|
The name of the edge zone. Required. |
Returns
Type | Description |
---|---|
list of VirtualMachineImageResource or the result of cls(response) |
Exceptions
Type | Description |
---|---|
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[VirtualMachineImageResource]
Parameters
Name | Description |
---|---|
location
Required
|
The name of a supported Azure region. Required. |
edge_zone
Required
|
The name of the edge zone. Required. |
publisher_name
Required
|
A valid image publisher. Required. |
offer
Required
|
A valid image publisher offer. Required. |
Returns
Type | Description |
---|---|
list of VirtualMachineImageResource or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.compute.v2020_12_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2020_12_01\\models\\__init__.py'>
Azure SDK for Python