Condividi tramite


ArmClient.GetDefaultSubscriptionAsync(CancellationToken) Method

Definition

Gets the default subscription.

public virtual System.Threading.Tasks.Task<Azure.ResourceManager.Resources.SubscriptionResource> GetDefaultSubscriptionAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDefaultSubscriptionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Resources.SubscriptionResource>
override this.GetDefaultSubscriptionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Resources.SubscriptionResource>
Public Overridable Function GetDefaultSubscriptionAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of SubscriptionResource)

Parameters

cancellationToken
CancellationToken

Returns

Resource operations of the Subscription.

Applies to