Freigeben über


VirtualMachineExtensionImagesOperationsExtensions.ListVersionsAsync Methode

Definition

Ruft eine Liste der Versionen der VM-Erweiterungsimages ab.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineExtensionImageInner>> ListVersionsAsync (this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineExtensionImagesOperations operations, string location, string publisherName, string type, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineExtensionImageInner> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListVersionsAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineExtensionImagesOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineExtensionImageInner> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineExtensionImageInner>>
<Extension()>
Public Function ListVersionsAsync (operations As IVirtualMachineExtensionImagesOperations, location As String, publisherName As String, type As String, Optional odataQuery As ODataQuery(Of VirtualMachineExtensionImageInner) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of VirtualMachineExtensionImageInner))

Parameter

operations
IVirtualMachineExtensionImagesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

location
String

Der Name einer unterstützten Azure-Region.

publisherName
String
type
String
odataQuery
ODataQuery<VirtualMachineExtensionImageInner>

OData-Parameter, die auf den Vorgang angewendet werden sollen.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: