Condividi tramite


SubscriptionPolicyResource.Get(CancellationToken) Method

Definition

Lists the policies that are managed by the Billing Admin for the defined subscriptions. This is supported for Microsoft Online Services Program, Microsoft Customer Agreement and Microsoft Partner Agreement.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Billing/policies/default
  • Operation Id: Policies_GetBySubscription
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionPolicyResource
public virtual Azure.Response<Azure.ResourceManager.Billing.SubscriptionPolicyResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.SubscriptionPolicyResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.SubscriptionPolicyResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of SubscriptionPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to