共用方式為


SubscriptionPolicySetDefinitionResource.Get(CancellationToken) Method

Definition

This operation retrieves the policy set definition in the given subscription with the given name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}
  • Operation Id: PolicySetDefinitions_Get
  • Default Api Version: 2021-06-01
  • Resource: SubscriptionPolicySetDefinitionResource
public virtual Azure.Response<Azure.ResourceManager.Resources.SubscriptionPolicySetDefinitionResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.SubscriptionPolicySetDefinitionResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.SubscriptionPolicySetDefinitionResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of SubscriptionPolicySetDefinitionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to