Language

NotebookWorkspaceCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the notebook workspace resources of an existing Cosmos DB account.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces.
  • Operation Id. : NotebookWorkspaces_ListByDatabaseAccount.
  • Default Api Version. : 2026-03-15.
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.NotebookWorkspaceResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.NotebookWorkspaceResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.NotebookWorkspaceResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NotebookWorkspaceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of NotebookWorkspaceResource that may take multiple service requests to iterate over.

Applies to