CosmosDBSqlRoleAssignmentCollection.GetAll(CancellationToken) Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to