NotebookWorkspaceResource.UpdateAsync Method

Definition

Update a NotebookWorkspace.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}.
  • Operation Id. : NotebookWorkspaces_CreateOrUpdate.
  • Default Api Version. : 2026-03-15.
  • Resource. : NotebookWorkspaceResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CosmosDB.NotebookWorkspaceResource>> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.CosmosDB.Models.NotebookWorkspaceCreateOrUpdateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.CosmosDB.Models.NotebookWorkspaceCreateOrUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CosmosDB.NotebookWorkspaceResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.CosmosDB.Models.NotebookWorkspaceCreateOrUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CosmosDB.NotebookWorkspaceResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, content As NotebookWorkspaceCreateOrUpdateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of NotebookWorkspaceResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
NotebookWorkspaceCreateOrUpdateContent

The notebook workspace to create for the current database account.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to