Partager via


JitNetworkAccessPolicyResource.InitiateAsync Méthode

Définition

Lancez un accès JIT à partir d’une configuration de stratégie juste-à-temps spécifique.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}/{jitNetworkAccessPolicyInitiateType}
  • IdJitNetworkAccessPolicies_Initiate d’opération
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))

Paramètres

content
JitNetworkAccessPolicyInitiateContent

JitNetworkAccessPolicyInitiateContent à utiliser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à