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

GalleryImagesOperationsExtensions.ListByGalleryAsync 方法

定义

列出库中的库映像定义。

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

参数

operations
IGalleryImagesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

galleryName
String

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

cancellationToken
CancellationToken

取消标记。

返回

适用于