Share via


BillingSubscriptionResource.Get(CancellationToken) Method

Definition

Gets a subscription by its ID. The operation is currently supported for billing accounts with agreement type Microsoft Customer Agreement, Microsoft Partner Agreement and Microsoft Online Services Program.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
  • Operation Id: BillingSubscriptions_Get
public virtual Azure.Response<Azure.ResourceManager.Billing.BillingSubscriptionResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.BillingSubscriptionResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.BillingSubscriptionResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of BillingSubscriptionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to