Share via


RegistriesOperationsExtensions.ListByResourceGroupAsync Method

Definition

Lists all the container registries under the specified resource group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerRegistry.Models.Registry>> ListByResourceGroupAsync (this Microsoft.Azure.Management.ContainerRegistry.IRegistriesOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.ContainerRegistry.IRegistriesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerRegistry.Models.Registry>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IRegistriesOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Registry))

Parameters

operations
IRegistriesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group to which the container registry belongs.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to