Management Options
Note
Further updates to the management options docs will come with future 4.0.x releases.
Bucket Management
CreateBucketOptions
- class couchbase.management.options.CreateBucketOptions(timeout=None)
Available options for a
BucketManager
’s create bucket operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global key-value operation timeout.
DropBucketOptions
- class couchbase.management.options.DropBucketOptions(timeout=None)
Available options to for a
BucketManager
’s update bucket operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
FlushBucketOptions
- class couchbase.management.options.FlushBucketOptions(timeout=None)
Available options to for a
BucketManager
’s flush bucket operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
GetAllBucketOptions
- class couchbase.management.options.GetAllBucketOptions(timeout=None)
GetBucketOptions
- class couchbase.management.options.GetBucketOptions(timeout=None)
Available options to for a
BucketManager
’s get bucket operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
UpdateBucketOptions
- class couchbase.management.options.UpdateBucketOptions(timeout=None)
Available options to for a
BucketManager
’s update bucket operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
Collection Management
CreateCollectionOptions
- class couchbase.management.options.CreateCollectionOptions(timeout=None)
Available options for a
CollectionManager
’s create collection operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
CreateScopeOptions
- class couchbase.management.options.CreateScopeOptions(timeout=None)
Available options for a
CollectionManager
’s create scope operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
UpdateCollectionOptions
- class couchbase.management.options.UpdateCollectionOptions(timeout=None)
Available options for a
CollectionManager
’s update collection operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
DropCollectionOptions
- class couchbase.management.options.DropCollectionOptions(timeout=None)
Available options for a
CollectionManager
’s drop collection operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
DropScopeOptions
- class couchbase.management.options.DropScopeOptions(timeout=None)
Available options for a
CollectionManager
’s drop scope operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
GetAllScopesOptions
- class couchbase.management.options.GetAllScopesOptions(timeout=None)
Available options for a
CollectionManager
’s get all scopes operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
Query Index Management
BuildDeferredQueryIndexOptions
- class couchbase.management.options.BuildDeferredQueryIndexOptions(timeout=None, scope_name=None, collection_name=None)
Available options to for a
QueryIndexManager
’s build deferred indexes operation.Note
All management options should be imported from couchbase.management.options.
- Parameters:
collection_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the collection of the index.scope_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the scope of the index.timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
CreatePrimaryQueryIndexOptions
- class couchbase.management.options.CreatePrimaryQueryIndexOptions(index_name=None, timeout=None, ignore_if_exists=None, num_replicas=None, deferred=None, condition=None, scope_name=None, collection_name=None)
Available options to for a
QueryIndexManager
’s create primary index operation.Note
All management options should be imported from couchbase.management.options.
- Parameters:
collection_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the collection of the index.condition (str, optional) – Specifies the ‘where’ condition for partial index creation.
deferred (bool, optional) – Specifies whether this index creation should be deferred until a later point in time when they can be explicitly built together.
ignore_if_exists (bool, optional) – Whether or not the call should ignore the index already existing when determining whether the call was successful.
index_name (str, optional) – Specifies the name of the primary index.
num_replicas (int, optional) – The number of replicas of this index that should be created.
scope_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the scope of the index.timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
CreateQueryIndexOptions
- class couchbase.management.options.CreateQueryIndexOptions(timeout=None, ignore_if_exists=None, num_replicas=None, deferred=None, condition=None, scope_name=None, collection_name=None)
Available options to for a
QueryIndexManager
’s create index operation.Note
All management options should be imported from couchbase.management.options.
- Parameters:
collection_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the collection of the index.condition (str, optional) – Specifies the ‘where’ condition for partial index creation.
deferred (bool, optional) – Specifies whether this index creation should be deferred until a later point in time when they can be explicitly built together.
ignore_if_exists (bool, optional) – Whether or not the call should ignore the index already existing when determining whether the call was successful.
num_replicas (int, optional) – The number of replicas of this index that should be created.
scope_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the scope of the index.timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
DropPrimaryQueryIndexOptions
- class couchbase.management.options.DropPrimaryQueryIndexOptions(index_name=None, ignore_if_not_exists=None, timeout=None, scope_name=None, collection_name=None)
Available options to for a
QueryIndexManager
’s drop primary index operation.Note
All management options should be imported from couchbase.management.options.
- Parameters:
collection_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the collection of the index.ignore_if_not_exists (bool, optional) – Whether or not the call should ignore the index not existing when determining whether the call was successful.
index_name (str, optional) – Specifies the name of the primary index.
scope_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the scope of the index.timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
DropQueryIndexOptions
- class couchbase.management.options.DropQueryIndexOptions(ignore_if_not_exists=None, timeout=None, scope_name=None, collection_name=None)
Available options to for a
QueryIndexManager
’s drop index operation.Note
All management options should be imported from couchbase.management.options.
- Parameters:
collection_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the collection of the index.ignore_if_not_exists (bool, optional) – Whether or not the call should ignore the index not existing when determining whether the call was successful.
scope_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the scope of the index.timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
GetAllQueryIndexOptions
- class couchbase.management.options.GetAllQueryIndexOptions(timeout=None, scope_name=None, collection_name=None)
Available options to for a
QueryIndexManager
’s get all indexes operation.Note
All management options should be imported from couchbase.management.options.
- Parameters:
collection_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the collection of the indexes.scope_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the scope of the indexes.timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
WatchQueryIndexOptions
- class couchbase.management.options.WatchQueryIndexOptions(watch_primary=None, timeout=None, scope_name=None, collection_name=None)
Available options to for a
QueryIndexManager
’s watch indexes operation.Note
All management options should be imported from couchbase.management.options.
- Parameters:
collection_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the collection of the index.scope_name (str, optional) – DEPRECATED - use
CollectionQueryIndexManager
. Specifies the scope of the index.timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
watch_primary (bool, optional) – Specifies whether the primary indexes should be watched as well.
User Management
DropGroupOptions
- class couchbase.management.options.DropGroupOptions(timeout=None)
Available options to for a
UserManager
’s drop group operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
DropUserOptions
- class couchbase.management.options.DropUserOptions(domain_name='local', timeout=None)
Available options to for a
UserManager
’s drop user operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
domain_name (str, optional) – The user’s domain name (either
local
orexternal
). Defaults tolocal
.timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
GetAllGroupsOptions
- class couchbase.management.options.GetAllGroupsOptions(timeout=None)
Available options to for a
UserManager
’s get all groups operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
GetAllUsersOptions
- class couchbase.management.options.GetAllUsersOptions(domain_name='local', timeout=None)
Available options to for a
UserManager
’s get all users operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
domain_name (str, optional) – The user’s domain name (either
local
orexternal
). Defaults tolocal
.timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
GetGroupOptions
- class couchbase.management.options.GetGroupOptions(timeout=None)
Available options to for a
UserManager
’s get group operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
GetRolesOptions
- class couchbase.management.options.GetRolesOptions(timeout=None)
Available options to for a
UserManager
’s get roles operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
GetUserOptions
- class couchbase.management.options.GetUserOptions(**kwargs)
Available options to for a
UserManager
’s get user operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
domain_name (str, optional) – The user’s domain name (either
local
orexternal
). Defaults tolocal
.timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
UpsertGroupOptions
- class couchbase.management.options.UpsertGroupOptions(timeout=None)
Available options to for a
UserManager
’s upsert group operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
UpsertUserOptions
- class couchbase.management.options.UpsertUserOptions(domain_name='local', timeout=None)
Available options to for a
UserManager
’s upsert user operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
domain_name (str, optional) – The user’s domain name (either
local
orexternal
). Defaults tolocal
.timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
Search Index Management
UpsertSearchIndexOptions
- class couchbase.management.options.UpsertSearchIndexOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.upsert_index()
or aSearchIndexManager.upsert_index()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
DropSearchIndexOptions
- class couchbase.management.options.DropSearchIndexOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.drop_index()
or aSearchIndexManager.drop_index()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
GetSearchIndexOptions
- class couchbase.management.options.GetSearchIndexOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.get_index()
or aSearchIndexManager.get_index()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
GetAllSearchIndexesOptions
- class couchbase.management.options.GetAllSearchIndexesOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.get_all_indexes()
or aSearchIndexManager.get_all_indexes()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
GetSearchIndexedDocumentsCountOptions
- class couchbase.management.options.GetSearchIndexedDocumentsCountOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.get_indexed_documents_count()
or aSearchIndexManager.get_indexed_documents_count()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
PauseIngestSearchIndexOptions
- class couchbase.management.options.PauseIngestSearchIndexOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.pause_ingest()
or aSearchIndexManager.pause_ingest()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
ResumeIngestSearchIndexOptions
- class couchbase.management.options.ResumeIngestSearchIndexOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.resume_ingest()
or aSearchIndexManager.resume_ingest()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
AllowQueryingSearchIndexOptions
- class couchbase.management.options.AllowQueryingSearchIndexOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.allow_querying()
or aSearchIndexManager.allow_querying()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
DisallowQueryingSearchIndexOptions
- class couchbase.management.options.DisallowQueryingSearchIndexOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.disallow_querying()
or aSearchIndexManager.disallow_querying()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
FreezePlanSearchIndexOptions
- class couchbase.management.options.FreezePlanSearchIndexOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.freeze_plan()
or aSearchIndexManager.freeze_plan()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
UnfreezePlanSearchIndexOptions
- class couchbase.management.options.UnfreezePlanSearchIndexOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.unfreeze_plan()
or aSearchIndexManager.unfreeze_plan()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
AnalyzeDocumentSearchIndexOptions
- class couchbase.management.options.AnalyzeDocumentSearchIndexOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.analyze_document()
or aSearchIndexManager.analyze_document()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
GetSearchIndexStatsOptions
- class couchbase.management.options.GetSearchIndexStatsOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.get_index_stats()
or aSearchIndexManager.get_index_stats()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.
GetAllSearchIndexStatsOptions
- class couchbase.management.options.GetAllSearchIndexStatsOptions(timeout=None)
Available options for a
ScopeSearchIndexManager.get_all_index_stats()
or aSearchIndexManager.get_all_index_stats()
operation.Note
All management options should be imported from
couchbase.management.options
.- Parameters:
timeout (timedelta, optional) – The timeout for this operation. Defaults to global management operation timeout.