你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
JitNetworkAccessPoliciesOperationsExtensions.CreateOrUpdate 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.
Create a policy for protecting resources using Just-in-Time access control
public static Microsoft.Azure.Management.Security.Models.JitNetworkAccessPolicy CreateOrUpdate (this Microsoft.Azure.Management.Security.IJitNetworkAccessPoliciesOperations operations, string resourceGroupName, string jitNetworkAccessPolicyName, Microsoft.Azure.Management.Security.Models.JitNetworkAccessPolicy body);
static member CreateOrUpdate : Microsoft.Azure.Management.Security.IJitNetworkAccessPoliciesOperations * string * string * Microsoft.Azure.Management.Security.Models.JitNetworkAccessPolicy -> Microsoft.Azure.Management.Security.Models.JitNetworkAccessPolicy
<Extension()>
Public Function CreateOrUpdate (operations As IJitNetworkAccessPoliciesOperations, resourceGroupName As String, jitNetworkAccessPolicyName As String, body As JitNetworkAccessPolicy) As JitNetworkAccessPolicy
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.