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

IRegistryTaskRuns.ListByRegistryAsync 方法

定义

以异步方式列出注册表中的 RegistryTaskRun 实例的函数。

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryTaskRun>> ListByRegistryAsync (string rgName, string acrName, bool loadAllPages = true, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByRegistryAsync : string * string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryTaskRun>>
Public Function ListByRegistryAsync (rgName As String, acrName As String, Optional loadAllPages As Boolean = true, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of IRegistryTaskRun))

参数

rgName
String

父注册表的资源组。

acrName
String

父注册表的名称。

loadAllPages
Boolean

是否加载所有页面

cancellationToken
CancellationToken

取消令牌

返回

适用于