TenantPolicyDefinitionResource.GetAsync(CancellationToken) Methode

Definition

Dieser Vorgang ruft die integrierte Richtliniendefinition mit dem angegebenen Namen ab.

  • Anfordern von Path/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}
  • Vorgang IdPolicyDefinitions_GetBuiltIn
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.TenantPolicyDefinitionResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.TenantPolicyDefinitionResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.TenantPolicyDefinitionResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TenantPolicyDefinitionResource))

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: