Dela via


BillingAccountOperationsExtensions.GetPolicyAsync Method

Definition

Get Billing Account Policy.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Subscription.Models.BillingAccountPoliciesResponse> GetPolicyAsync (this Microsoft.Azure.Management.Subscription.IBillingAccountOperations operations, string billingAccountId, System.Threading.CancellationToken cancellationToken = default);
static member GetPolicyAsync : Microsoft.Azure.Management.Subscription.IBillingAccountOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Subscription.Models.BillingAccountPoliciesResponse>
<Extension()>
Public Function GetPolicyAsync (operations As IBillingAccountOperations, billingAccountId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BillingAccountPoliciesResponse)

Parameters

operations
IBillingAccountOperations

The operations group for this extension method.

billingAccountId
String

Billing Account Id.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to