你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
JitNetworkAccessPoliciesOperationsExtensions.InitiateAsync 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.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.JitNetworkAccessRequest> InitiateAsync (this Microsoft.Azure.Management.Security.IJitNetworkAccessPoliciesOperations operations, string resourceGroupName, string jitNetworkAccessPolicyName, System.Collections.Generic.IList<Microsoft.Azure.Management.Security.Models.JitNetworkAccessPolicyInitiateVirtualMachine> virtualMachines, string justification = default, System.Threading.CancellationToken cancellationToken = default);
static member InitiateAsync : Microsoft.Azure.Management.Security.IJitNetworkAccessPoliciesOperations * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Security.Models.JitNetworkAccessPolicyInitiateVirtualMachine> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.JitNetworkAccessRequest>
<Extension()>
Public Function InitiateAsync (operations As IJitNetworkAccessPoliciesOperations, resourceGroupName As String, jitNetworkAccessPolicyName As String, virtualMachines As IList(Of JitNetworkAccessPolicyInitiateVirtualMachine), Optional justification As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JitNetworkAccessRequest)
Parameters
- operations
- IJitNetworkAccessPoliciesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group within the user's subscription. The name is case insensitive.
- jitNetworkAccessPolicyName
- String
Name of a Just-in-Time access configuration policy.
- virtualMachines
- IList<JitNetworkAccessPolicyInitiateVirtualMachine>
- justification
- String
- cancellationToken
- CancellationToken
The cancellation token.