共用方式為


ProviderRegistrationCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the list of the provider registrations in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations
  • Operation Id: ProviderRegistrations_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.ProviderHub.ProviderRegistrationResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ProviderHub.ProviderRegistrationResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ProviderHub.ProviderRegistrationResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ProviderRegistrationResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to