共用方式為


TenantPolicyResource.Get(CancellationToken) Method

Definition

Get the subscription tenant policy for the user's tenant.

  • Request Path: /providers/Microsoft.Subscription/policies/default
  • Operation Id: SubscriptionPolicy_GetPolicyForTenant
public virtual Azure.Response<Azure.ResourceManager.Subscription.TenantPolicyResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Subscription.TenantPolicyResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Subscription.TenantPolicyResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of TenantPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to