Share via


PlaywrightWorkspaceResource.UpdateAsync Method

Definition

Updates a Playwright workspace resource synchronously.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}
  • Operation Id: PlaywrightWorkspace_Update
  • Default Api Version: 2025-09-01
  • Resource: PlaywrightWorkspaceResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Playwright.PlaywrightWorkspaceResource>> UpdateAsync(Azure.ResourceManager.Playwright.Models.PlaywrightWorkspacePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Playwright.Models.PlaywrightWorkspacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Playwright.PlaywrightWorkspaceResource>>
override this.UpdateAsync : Azure.ResourceManager.Playwright.Models.PlaywrightWorkspacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Playwright.PlaywrightWorkspaceResource>>
Public Overridable Function UpdateAsync (patch As PlaywrightWorkspacePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PlaywrightWorkspaceResource))

Parameters

patch
PlaywrightWorkspacePatch

The resource properties to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to