JitNetworkAccessPolicyResource.Initiate Method

Definition

Initiate a JIT access from a specific Just-in-Time policy configuration.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}/{jitNetworkAccessPolicyInitiateType}
  • Operation Id: JitNetworkAccessPolicies_Initiate
  • Default Api Version: 2020-01-01
  • Resource: JitNetworkAccessPolicyResource
public virtual Azure.Response<Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestInfo> Initiate (Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPolicyInitiateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Initiate : Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPolicyInitiateContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestInfo>
override this.Initiate : Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPolicyInitiateContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestInfo>
Public Overridable Function Initiate (content As JitNetworkAccessPolicyInitiateContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of JitNetworkAccessRequestInfo)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to