Partilhar via


VirtualWorkspaceResource.Update Método

Definição

Atualizar um workspace.

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

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