Share via


MockableContainerRegistrySubscriptionResource.GetContainerRegistriesAsync Method

Definition

Lists all the container registries under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries
  • Operation Id: Registries_List
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryResource> GetContainerRegistriesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerRegistriesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryResource>
override this.GetContainerRegistriesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryResource>
Public Overridable Function GetContainerRegistriesAsync (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