Compartir a través de


VirtualWorkspaceResource.Update Método

Definición

Actualizar un área de trabajo.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}
  • IdWorkspaces_Update de operaciones
public virtual Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualWorkspaceResource> Update (Azure.ResourceManager.DesktopVirtualization.Models.VirtualWorkspacePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DesktopVirtualization.Models.VirtualWorkspacePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualWorkspaceResource>
override this.Update : Azure.ResourceManager.DesktopVirtualization.Models.VirtualWorkspacePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualWorkspaceResource>
Public Overridable Function Update (patch As VirtualWorkspacePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VirtualWorkspaceResource)

Parámetros

patch
VirtualWorkspacePatch

Objeto que contiene definiciones del área de trabajo.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a