Share via


VirtualMachineImagesEdgeZoneOperationsExtensions.ListAsync Method

Definition

Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource>> ListAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineImagesEdgeZoneOperations operations, string location, string edgeZone, string publisherName, string offer, string skus, string expand = default, int? top = default, string orderby = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Compute.IVirtualMachineImagesEdgeZoneOperations * string * string * string * string * string * string * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource>>
<Extension()>
Public Function ListAsync (operations As IVirtualMachineImagesEdgeZoneOperations, location As String, edgeZone As String, publisherName As String, offer As String, skus As String, Optional expand As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional orderby As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of VirtualMachineImageResource))

Parameters

operations
IVirtualMachineImagesEdgeZoneOperations

The operations group for this extension method.

location
String

The name of a supported Azure region.

edgeZone
String

The name of the edge zone.

publisherName
String

A valid image publisher.

offer
String

A valid image publisher offer.

skus
String

A valid image SKU.

expand
String

The expand expression to apply on the operation.

top
Nullable<Int32>

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

orderby
String

Specifies the order of the results returned. Formatted as an OData query.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to