Share via


ContainerRegistryTokenCollection.GetAll(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.Pageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryTokenResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryTokenResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryTokenResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerRegistryTokenResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to