Dela via


ContainerRegistryExtensions.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 static Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryResource> GetContainerRegistriesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerRegistriesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryResource>
<Extension()>
Public Function GetContainerRegistriesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContainerRegistryResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to