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

ContainerRegistryRunCollection.GetAll 方法

定义

获取注册表的所有运行。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs
  • 操作IdRuns_List
public virtual Azure.Pageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryRunResource> GetAll (string filter = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryRunResource>
override this.GetAll : string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryRunResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerRegistryRunResource)

参数

filter
String

要应用于操作的运行筛选器。 不支持算术运算符。 允许的字符串函数为“contains”。 允许除“Not”、“Has”、“All”以外的所有逻辑运算符。

top
Nullable<Int32>

获取运行列表支持$top,这会限制要返回的最大运行数。

cancellationToken
CancellationToken

要使用的取消标记。

返回

可能需要多个服务请求来循环访问的 的 ContainerRegistryRunResource 集合。

适用于