Compartilhar via


KeyVaultResource.UpdateAsync(KeyVaultPatch, CancellationToken) Método

Definição

Atualize um cofre de chaves na assinatura especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
  • Operação IdVaults_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.KeyVaultResource>> UpdateAsync (Azure.ResourceManager.KeyVault.Models.KeyVaultPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.KeyVault.Models.KeyVaultPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.KeyVaultResource>>
override this.UpdateAsync : Azure.ResourceManager.KeyVault.Models.KeyVaultPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.KeyVaultResource>>
Public Overridable Function UpdateAsync (patch As KeyVaultPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KeyVaultResource))

Parâmetros

patch
KeyVaultPatch

Parâmetros para corrigir o cofre.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a