JitNetworkAccessPolicyResource.Initiate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The JitNetworkAccessPolicyInitiateContent to use.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET