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

GalleryImageVersionsOperationsExtensions.ListByGalleryImageAsync 方法

定义

列出库映像定义中的库映像版本。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.GalleryImageVersion>> ListByGalleryImageAsync (this Microsoft.Azure.Management.Compute.IGalleryImageVersionsOperations operations, string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default);
static member ListByGalleryImageAsync : Microsoft.Azure.Management.Compute.IGalleryImageVersionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.GalleryImageVersion>>
<Extension()>
Public Function ListByGalleryImageAsync (operations As IGalleryImageVersionsOperations, resourceGroupName As String, galleryName As String, galleryImageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of GalleryImageVersion))

参数

operations
IGalleryImageVersionsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

galleryName
String

映像定义所在的共享映像库的名称。

galleryImageName
String

要从中列出映像版本的共享映像库映像定义的名称。

cancellationToken
CancellationToken

取消标记。

返回

适用于