MongoDBRoleDefinitionCollection.GetAll(CancellationToken) Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to