Share via


IRegistryTaskRuns.ListByRegistryAsync 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
String

The resource group of the parent registry.

acrName
String

The name of the parent registry.

loadAllPages
Boolean

whether to load all pages or not

cancellationToken
CancellationToken

cancellation token

Returns

Applies to