Freigeben über


VirtualMachineImagesOperationsExtensions.ListOffersAsync Methode

Definition

Ruft eine Liste der Vm-Imageangebote für den angegebenen Speicherort und Herausgeber ab.

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

Parameter

operations
IVirtualMachineImagesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

location
String

Der Name einer unterstützten Azure-Region.

publisherName
String

Ein gültiger Imageherausgeber.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: