Aracılığıyla paylaş


VaultsOperationsExtensions.UpdateAccessPolicy Method

Definition

Update access policies in a key vault in the specified subscription.

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

Parameters

operations
IVaultsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the Resource Group to which the vault belongs.

vaultName
String

Name of the vault

operationKind
AccessPolicyUpdateKind

Name of the operation. Possible values include: 'add', 'replace', 'remove'

parameters
VaultAccessPolicyParameters

Access policy to merge into the vault

Returns

Applies to