Dela via


BillingSubscriptionsOperationsExtensions.GetAsync Metod

Definition

Hämtar en prenumeration med dess ID. Åtgärden stöds för faktureringskonton med avtalstyp Microsoft-kundavtal och Microsoft-partneravtal. https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingSubscription> GetAsync (this Microsoft.Azure.Management.Billing.IBillingSubscriptionsOperations operations, string billingAccountName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Billing.IBillingSubscriptionsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingSubscription>
<Extension()>
Public Function GetAsync (operations As IBillingSubscriptionsOperations, billingAccountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BillingSubscription)

Parametrar

operations
IBillingSubscriptionsOperations

Åtgärdsgruppen för den här tilläggsmetoden.

billingAccountName
String

Det ID som unikt identifierar ett faktureringskonto.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för