CosmosDBSqlRoleDefinitionCollection.GetAll(CancellationToken) Method

Definition

Retrieves the list of all Azure Cosmos DB SQL Role Definitions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions
  • Operation Id: SqlResources_ListSqlRoleDefinitions
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBSqlRoleDefinitionResource
public virtual Azure.Pageable<Azure.ResourceManager.CosmosDB.CosmosDBSqlRoleDefinitionResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.CosmosDBSqlRoleDefinitionResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.CosmosDBSqlRoleDefinitionResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CosmosDBSqlRoleDefinitionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to