共用方式為


CassandraDataCenterCollection.GetAll(CancellationToken) Method

Definition

List all data centers in a particular managed Cassandra cluster.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to