Freigeben über


VirtualWorkspaceResource.Update Methode

Definition

Aktualisieren sie einen Arbeitsbereich.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}
  • Vorgangs-IdWorkspaces_Update
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)

Parameter

patch
VirtualWorkspacePatch

Objekt, das Workspace-Definitionen enthält.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: