VirtualMachineImagesEdgeZoneOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:virtual_machine_images_edge_zone> attribute.

Inheritance
builtins.object
VirtualMachineImagesEdgeZoneOperations

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.

get(location: str, edge_zone: str, publisher_name: str, offer: str, skus: str, version: str, **kwargs: Any) -> VirtualMachineImage

Parameters

Name Description
location
Required
str

The name of a supported Azure region. Required.

edge_zone
Required
str

The name of the edge zone. Required.

publisher_name
Required
str

A valid image publisher. Required.

offer
Required
str

A valid image publisher offer. Required.

skus
Required
str

A valid image SKU. Required.

version
Required
str

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.

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
str

The name of a supported Azure region. Required.

edge_zone
Required
str

The name of the edge zone. Required.

publisher_name
Required
str

A valid image publisher. Required.

offer
Required
str

A valid image publisher offer. Required.

skus
Required
str

A valid image SKU. Required.

Keyword-Only Parameters

Name Description
expand
str

The expand expression to apply on the operation. Default value is None.

top
int

An integer value specifying the number of images to return that matches supplied values. Default value is None.

orderby
str

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.

list_offers(location: str, edge_zone: str, publisher_name: str, **kwargs: Any) -> List[VirtualMachineImageResource]

Parameters

Name Description
location
Required
str

The name of a supported Azure region. Required.

edge_zone
Required
str

The name of the edge zone. Required.

publisher_name
Required
str

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.

list_publishers(location: str, edge_zone: str, **kwargs: Any) -> List[VirtualMachineImageResource]

Parameters

Name Description
location
Required
str

The name of a supported Azure region. Required.

edge_zone
Required
str

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.

list_skus(location: str, edge_zone: str, publisher_name: str, offer: str, **kwargs: Any) -> List[VirtualMachineImageResource]

Parameters

Name Description
location
Required
str

The name of a supported Azure region. Required.

edge_zone
Required
str

The name of the edge zone. Required.

publisher_name
Required
str

A valid image publisher. Required.

offer
Required
str

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.v2023_03_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2023_03_01\\models\\__init__.py'>