ContainerRegistryTokenCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all the tokens for the specified container registry.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to