Freigeben über


VirtualWorkspaceResource.UpdateAsync Methode

Definition

Aktualisieren sie einen Arbeitsbereich.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}
  • Vorgangs-IdWorkspaces_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualWorkspaceResource>> UpdateAsync (Azure.ResourceManager.DesktopVirtualization.Models.VirtualWorkspacePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.VirtualWorkspacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualWorkspaceResource>>
override this.UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.VirtualWorkspacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualWorkspaceResource>>
Public Overridable Function UpdateAsync (patch As VirtualWorkspacePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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: