Share via


MockableCosmosDBSubscriptionResource.GetCassandraClustersAsync Method

Definition

List all managed Cassandra clusters in this subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/cassandraClusters
  • Operation Id: CassandraClusters_ListBySubscription
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraClusterResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.CassandraClusterResource> GetCassandraClustersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetCassandraClustersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.CassandraClusterResource>
override this.GetCassandraClustersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.CassandraClusterResource>
Public Overridable Function GetCassandraClustersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CassandraClusterResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of CassandraClusterResource that may take multiple service requests to iterate over.

Applies to