你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineExtensionImagesOperationsExtensions.ListVersionsAsync 方法

定义

获取虚拟机扩展映像版本的列表。

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

参数

operations
IVirtualMachineExtensionImagesOperations

此扩展方法的操作组。

location
String

受支持的 Azure 区域的名称。

publisherName
String
type
String
odataQuery
ODataQuery<VirtualMachineExtensionImage>

要应用于操作的 OData 参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于