Dela via


VirtualWorkspaceResource.Update Method

Definition

Update a workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}
  • Operation Id: Workspaces_Update
  • Default Api Version: 2024-04-03
  • Resource: VirtualWorkspaceResource
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)

Parameters

patch
VirtualWorkspacePatch

Object containing Workspace definitions.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to