Provisioning Cluster Resources
Provisioning cluster resources is managed at the collection or bucket level, depending upon the service affected.
Common use cases are outlined here, less common use cases are covered in the API docs.
|
Managing Capella Clusters
This part of the SDK API predates the Capella Management API, and is only intended to work with self-managed Couchbase Server clusters. Management of your Capella Operational cluster is available away from the Web UI with the Capella Management API. |
The primary means for managing clusters is through the Couchbase Web UI which provides an easy to use interface for adding, removing, monitoring and modifying buckets. Or through the REST API. In some instances you may wish to have a programmatic interface. For example, if you wish to manage a cluster from a setup script, or if you are setting up buckets in test scaffolding.
The C++ SDK also comes with some convenience functionality for common Couchbase management requests.
Management operations in the SDK may be performed through several interfaces depending on the object:
-
BucketManager —
couchbase::bucket_manager— see API docs. -
QueryIndexManager —
couchbase::query_index_manager— see https://docs.couchbase.com/sdk-api/couchbase-cxx-client/classcouchbase_1_1queryindexmanager.html[API docs]. -
CollectionManager —
couchbase::collection_manager— see API docs. -
AnalyticsIndexManager —
couchbase::analytics_index_manager— see https://docs.couchbase.com/sdk-api/couchbase-cxx-client/classcouchbase_1_1analyticsindexmanager.html[API docs]. -
SearchIndexManager —
couchbase::search_index_manager— see https://docs.couchbase.com/sdk-api/couchbase-cxx-client/classcouchbase_1_1searchindexmanager.html[API docs].