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

VaultsOperationsExtensions.UpdateAccessPolicy 方法

定义

更新指定订阅中密钥保管库中的访问策略。

public static Microsoft.Azure.Management.KeyVault.Models.VaultAccessPolicyParameters UpdateAccessPolicy (this Microsoft.Azure.Management.KeyVault.IVaultsOperations operations, string resourceGroupName, string vaultName, Microsoft.Azure.Management.KeyVault.Models.AccessPolicyUpdateKind operationKind, Microsoft.Azure.Management.KeyVault.Models.VaultAccessPolicyParameters parameters);
static member UpdateAccessPolicy : Microsoft.Azure.Management.KeyVault.IVaultsOperations * string * string * Microsoft.Azure.Management.KeyVault.Models.AccessPolicyUpdateKind * Microsoft.Azure.Management.KeyVault.Models.VaultAccessPolicyParameters -> Microsoft.Azure.Management.KeyVault.Models.VaultAccessPolicyParameters
<Extension()>
Public Function UpdateAccessPolicy (operations As IVaultsOperations, resourceGroupName As String, vaultName As String, operationKind As AccessPolicyUpdateKind, parameters As VaultAccessPolicyParameters) As VaultAccessPolicyParameters

参数

operations
IVaultsOperations

此扩展方法的操作组。

resourceGroupName
String

保管库所属的资源组的名称。

vaultName
String

保管库的名称

operationKind
AccessPolicyUpdateKind

操作的名称。 可能的值包括:“add”、“replace”、“remove”

parameters
VaultAccessPolicyParameters

要合并到保管库的访问策略

返回

适用于