IRegistryTaskRuns.ListByRegistryAsync(String, String, Boolean, CancellationToken) Method

Definition

The function that lists the RegistryTaskRun instances in a registry asynchronously.

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

Parameters

rgName
System.String

The resource group of the parent registry.

acrName
System.String

The name of the parent registry.

loadAllPages
System.Boolean

whether to load all pages or not

cancellationToken
System.Threading.CancellationToken

cancellation token

Returns

System.Threading.Tasks.Task<IPagedCollection<IRegistryTaskRun>>

Applies to