Partager via


VirtualWorkspaceResource.Update Méthode

Définition

Mettre à jour un espace de travail.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}
  • IdWorkspaces_Update d’opération
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)

Paramètres

patch
VirtualWorkspacePatch

Objet contenant des définitions d’espace de travail.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à