你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

JitNetworkAccessPolicyResource.Initiate 方法

定义

从特定的实时策略配置启动 JIT 访问。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}/{jitNetworkAccessPolicyInitiateType}
  • 操作IdJitNetworkAccessPolicies_Initiate
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)

参数

content
JitNetworkAccessPolicyInitiateContent

要使用的 JitNetworkAccessPolicyInitiateContent。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于