Freigeben über


JitNetworkAccessPolicyResource.InitiateAsync Methode

Definition

Initiieren sie einen JIT-Zugriff über eine bestimmte Just-in-Time-Richtlinienkonfiguration.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}/{jitNetworkAccessPolicyPolicyInitiateType}
  • Vorgang IdJitNetworkAccessPolicies_Initiate
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestInfo>> InitiateAsync (Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPolicyInitiateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member InitiateAsync : Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPolicyInitiateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestInfo>>
override this.InitiateAsync : Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPolicyInitiateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestInfo>>
Public Overridable Function InitiateAsync (content As JitNetworkAccessPolicyInitiateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of JitNetworkAccessRequestInfo))

Parameter

content
JitNetworkAccessPolicyInitiateContent

Die zu verwendende JitNetworkAccessPolicyInitiateContent.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: