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

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

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to