Compartir a través de


VirtualDesktopResource.UpdateAsync Método

Definición

Actualizar un escritorio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}
  • IdDesktops_Update de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualDesktopResource>> UpdateAsync (Azure.ResourceManager.DesktopVirtualization.Models.VirtualDesktopPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.VirtualDesktopPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualDesktopResource>>
override this.UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.VirtualDesktopPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualDesktopResource>>
Public Overridable Function UpdateAsync (patch As VirtualDesktopPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VirtualDesktopResource))

Parámetros

patch
VirtualDesktopPatch

Objeto que contiene definiciones de escritorio.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a