Compartilhar via


VirtualWorkspaceResource.UpdateAsync Método

Definição

Atualizar um workspace.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}
  • Operação 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))

Parâmetros

patch
VirtualWorkspacePatch

Objeto que contém definições de workspace.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a