Compartir a través de


SshPublicKeyResource.UpdateAsync(SshPublicKeyPatch, CancellationToken) Método

Definición

Novedades un nuevo recurso de clave pública SSH.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}
  • IdSshPublicKeys_Update de operación
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 proporcionados para actualizar la clave pública SSH.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a