共用方式為


ContainerRegistryCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all the container registries under the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries
  • Operation Id: Registries_ListByResourceGroup
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContainerRegistryResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ContainerRegistryResource that may take multiple service requests to iterate over.

Applies to