Dela via


VirtualMachineImagesEdgeZoneOperationsExtensions.ListOffersAsync Method

Definition

Gets a list of virtual machine image offers for the specified location, edge zone and publisher.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource>> ListOffersAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineImagesEdgeZoneOperations operations, string location, string edgeZone, string publisherName, System.Threading.CancellationToken cancellationToken = default);
static member ListOffersAsync : Microsoft.Azure.Management.Compute.IVirtualMachineImagesEdgeZoneOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource>>
<Extension()>
Public Function ListOffersAsync (operations As IVirtualMachineImagesEdgeZoneOperations, location As String, edgeZone As String, publisherName As String, 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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to