SubscriptionCollection.GetAllAsync(CancellationToken) Method

Definition

Gets all subscriptions for a tenant.

  • Request Path: /subscriptions
  • Operation Id: Subscriptions_List
  • Default Api Version: 2022-12-01
  • Resource: SubscriptionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Resources.SubscriptionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.SubscriptionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.SubscriptionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SubscriptionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to