Compartilhar via


SshPublicKeyResource.UpdateAsync(SshPublicKeyPatch, CancellationToken) Método

Definição

Atualizações um novo recurso de chave pública SSH.

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

Parâmetros

patch
SshPublicKeyPatch

Parâmetros fornecidos para atualizar a chave pública SSH.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a