IRegistryTaskRuns.ListByRegistryAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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