共用方式為


PlaywrightTestingAccountResource.UpdateAsync Method

Definition

Update a Account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}
  • Operation Id: Account_Update
  • Default Api Version: 2024-12-01
  • Resource: PlaywrightTestingAccountResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingAccountResource>> UpdateAsync (Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingAccountPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingAccountPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingAccountResource>>
override this.UpdateAsync : Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingAccountPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingAccountResource>>
Public Overridable Function UpdateAsync (patch As PlaywrightTestingAccountPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PlaywrightTestingAccountResource))

Parameters

patch
PlaywrightTestingAccountPatch

The resource properties to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to