Dela via


VirtualMachineExtensionImagesOperationsExtensions.ListVersionsAsync Method

Definition

Gets a list of virtual machine extension image versions.

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))

Parameters

operations
IVirtualMachineExtensionImagesOperations

The operations group for this extension method.

location
String

The name of a supported Azure region.

publisherName
String
type
String
odataQuery
ODataQuery<VirtualMachineExtensionImage>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to