共用方式為


EasmWorkspaceResource.UpdateAsync Method

Definition

Update a Workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}
  • Operation Id: Workspaces_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DefenderEasm.EasmWorkspaceResource>> UpdateAsync (Azure.ResourceManager.DefenderEasm.Models.EasmWorkspacePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DefenderEasm.Models.EasmWorkspacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DefenderEasm.EasmWorkspaceResource>>
override this.UpdateAsync : Azure.ResourceManager.DefenderEasm.Models.EasmWorkspacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DefenderEasm.EasmWorkspaceResource>>
Public Overridable Function UpdateAsync (patch As EasmWorkspacePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EasmWorkspaceResource))

Parameters

patch
EasmWorkspacePatch

Workspace patch details.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to