Compartir a través de


KeyVaultResource.UpdateAccessPolicy Método

Definición

Actualice las directivas de acceso en un almacén de claves de la suscripción especificada.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/accessPolicies/{operationKind}
  • IdVaults_UpdateAccessPolicy de operaciones
public virtual Azure.Response<Azure.ResourceManager.KeyVault.Models.KeyVaultAccessPolicyParameters> UpdateAccessPolicy (Azure.ResourceManager.KeyVault.Models.AccessPolicyUpdateKind operationKind, Azure.ResourceManager.KeyVault.Models.KeyVaultAccessPolicyParameters keyVaultAccessPolicyParameters, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAccessPolicy : Azure.ResourceManager.KeyVault.Models.AccessPolicyUpdateKind * Azure.ResourceManager.KeyVault.Models.KeyVaultAccessPolicyParameters * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.KeyVault.Models.KeyVaultAccessPolicyParameters>
override this.UpdateAccessPolicy : Azure.ResourceManager.KeyVault.Models.AccessPolicyUpdateKind * Azure.ResourceManager.KeyVault.Models.KeyVaultAccessPolicyParameters * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.KeyVault.Models.KeyVaultAccessPolicyParameters>
Public Overridable Function UpdateAccessPolicy (operationKind As AccessPolicyUpdateKind, keyVaultAccessPolicyParameters As KeyVaultAccessPolicyParameters, Optional cancellationToken As CancellationToken = Nothing) As Response(Of KeyVaultAccessPolicyParameters)

Parámetros

operationKind
AccessPolicyUpdateKind

Nombre de la operación.

keyVaultAccessPolicyParameters
KeyVaultAccessPolicyParameters

Directiva de acceso para combinar en el almacén.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

keyVaultAccessPolicyParameters es null.

Se aplica a