VaultsOperationsExtensions.UpdateAccessPolicyAsync Método

Definição

Atualize as políticas de acesso em um cofre de chaves na assinatura especificada.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Models.VaultAccessPolicyParameters> UpdateAccessPolicyAsync (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, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAccessPolicyAsync : Microsoft.Azure.Management.KeyVault.IVaultsOperations * string * string * Microsoft.Azure.Management.KeyVault.Models.AccessPolicyUpdateKind * Microsoft.Azure.Management.KeyVault.Models.VaultAccessPolicyParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Models.VaultAccessPolicyParameters>
<Extension()>
Public Function UpdateAccessPolicyAsync (operations As IVaultsOperations, resourceGroupName As String, vaultName As String, operationKind As AccessPolicyUpdateKind, parameters As VaultAccessPolicyParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VaultAccessPolicyParameters)

Parâmetros

operations
IVaultsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do Grupo de Recursos ao qual o cofre pertence.

vaultName
String

Nome do cofre

operationKind
AccessPolicyUpdateKind

Nome da operação. Os valores possíveis incluem: 'add', 'replace', 'remove'

parameters
VaultAccessPolicyParameters

Política de acesso para mesclar no cofre

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a