Compartir a través de


SshPublicKeyResource.Update(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 Azure.Response<Azure.ResourceManager.Compute.SshPublicKeyResource> Update (Azure.ResourceManager.Compute.Models.SshPublicKeyPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Compute.Models.SshPublicKeyPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.SshPublicKeyResource>
override this.Update : Azure.ResourceManager.Compute.Models.SshPublicKeyPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.SshPublicKeyResource>
Public Overridable Function Update (patch As SshPublicKeyPatch, Optional cancellationToken As CancellationToken = Nothing) As 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