Partager via


VirtualMachineExtensionImagesOperationsExtensions.ListVersionsAsync Méthode

Définition

Obtient la liste des versions d’image d’extension de machine virtuelle.

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

Paramètres

operations
IVirtualMachineExtensionImagesOperations

Groupe d’opérations pour cette méthode d’extension.

location
String

Nom d’une région Azure prise en charge.

publisherName
String
type
String
odataQuery
ODataQuery<VirtualMachineExtensionImage>

Paramètres OData à appliquer à l’opération.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à