Skip to content

Commit d4e8228

Browse files
DOCSP-34782 Atlas Support for Administration Commands (#5745) (#9466)
Co-authored-by: pierwill <[email protected]>
1 parent cf6baf6 commit d4e8228

33 files changed

+366
-2
lines changed

source/reference/command/cloneCollectionAsCapped.txt

+10
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ Definition
2020
within the same database. The operation does not affect the
2121
original non-capped collection.
2222

23+
Compatibility
24+
-------------
25+
26+
This command is available in deployments hosted in the following environments:
27+
28+
.. include:: /includes/fact-environments-atlas-only.rst
29+
30+
.. include:: /includes/fact-environments-atlas-support-no-free-or-serverless.rst
31+
32+
.. include:: /includes/fact-environments-onprem-only.rst
2333

2434
Syntax
2535
------

source/reference/command/collMod.txt

+11
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ Definition
3232
views. For discussion of on-demand materialized views, see
3333
:pipeline:`$merge` instead.
3434

35+
Compatibility
36+
-------------
37+
38+
This command is available in deployments hosted in the following environments:
39+
40+
.. include:: /includes/fact-environments-atlas-only.rst
41+
42+
.. include:: /includes/fact-environments-atlas-support-all.rst
43+
44+
.. include:: /includes/fact-environments-onprem-only.rst
45+
3546
Syntax
3647
------
3748

source/reference/command/compact.txt

+11
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ Definition
2121
:ref:`WiredTiger <storage-wiredtiger>` databases, this command
2222
releases unneeded disk space to the operating system.
2323

24+
Compatibility
25+
-------------
26+
27+
This command is available in deployments hosted in the following environments:
28+
29+
.. include:: /includes/fact-environments-atlas-only.rst
30+
31+
.. include:: /includes/fact-environments-atlas-support-no-free.rst
32+
33+
.. include:: /includes/fact-environments-onprem-only.rst
34+
2435
Syntax
2536
------
2637

source/reference/command/compactStructuredEncryptionData.txt

+11
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ Definition
2020
Compacts documents specified in the metadata collections and deletes
2121
redundant documents.
2222

23+
Compatibility
24+
-------------
25+
26+
This command is available in deployments hosted in the following environments:
27+
28+
.. include:: /includes/fact-environments-atlas-only.rst
29+
30+
.. include:: /includes/fact-environments-atlas-support-all.rst
31+
32+
.. include:: /includes/fact-environments-onprem-only.rst
33+
2334
Syntax
2435
------
2536

source/reference/command/convertToCapped.txt

+11
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ Definition
2525
non-capped collection to a :term:`capped collection` within the same
2626
database.
2727

28+
Compatibility
29+
-------------
30+
31+
This command is available in deployments hosted in the following environments:
32+
33+
.. include:: /includes/fact-environments-atlas-only.rst
34+
35+
.. include:: /includes/fact-environments-atlas-support-no-serverless.rst
36+
37+
.. include:: /includes/fact-environments-onprem-only.rst
38+
2839
Syntax
2940
------
3041

source/reference/command/create.txt

+11
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@ Definition
2323
views. For discussion of on-demand materialized views, see
2424
:pipeline:`$merge` instead.
2525

26+
Compatibility
27+
-------------
28+
29+
This command is available in deployments hosted in the following environments:
30+
31+
.. include:: /includes/fact-environments-atlas-only.rst
32+
33+
.. include:: /includes/fact-environments-atlas-support-all.rst
34+
35+
.. include:: /includes/fact-environments-onprem-only.rst
36+
2637
Syntax
2738
------
2839

source/reference/command/createIndexes.txt

+10
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ Definition
2121
:method:`db.collection.createIndexes()` helper methods.
2222
.. include:: /includes/fact-dbcommand-tip
2323

24+
Compatibility
25+
-------------
26+
27+
This command is available in deployments hosted in the following environments:
28+
29+
.. include:: /includes/fact-environments-atlas-only.rst
30+
31+
.. include:: /includes/fact-environments-atlas-support-all.rst
32+
33+
.. include:: /includes/fact-environments-onprem-only.rst
2434

2535
Syntax
2636
------

source/reference/command/currentOp.txt

+12
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,18 @@ Definition
2626

2727
.. include:: /includes/fact-currentOp-aggregation-stage.rst
2828

29+
Compatibility
30+
-------------
31+
32+
This command is available in deployments hosted in the following environments:
33+
34+
.. include:: /includes/fact-environments-atlas-only.rst
35+
36+
.. include:: /includes/fact-environments-atlas-support-all.rst
37+
38+
.. include:: /includes/fact-environments-onprem-only.rst
39+
40+
2941
Syntax
3042
------
3143

source/reference/command/drop.txt

+12
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@ Definition
2121
.. |method| replace:: :method:`~db.collection.drop` helper method
2222
.. include:: /includes/fact-dbcommand-tip
2323

24+
Compatibility
25+
-------------
26+
27+
This command is available in deployments hosted in the following environments:
28+
29+
.. include:: /includes/fact-environments-atlas-only.rst
30+
31+
.. include:: /includes/fact-environments-atlas-support-all.rst
32+
33+
.. include:: /includes/fact-environments-onprem-only.rst
34+
35+
2436
Syntax
2537
------
2638

source/reference/command/dropConnections.txt

+11
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ Definition
2020
connections to the specified hosts. The :dbcommand:`dropConnections`
2121
must be run against the ``admin`` database.
2222

23+
Compatibility
24+
-------------
25+
26+
This command is available in deployments hosted in the following environments:
27+
28+
.. include:: /includes/fact-environments-atlas-only.rst
29+
30+
.. include:: /includes/fact-environments-atlas-support-all.rst
31+
32+
.. include:: /includes/fact-environments-onprem-only.rst
33+
2334
Syntax
2435
------
2536

source/reference/command/dropDatabase.txt

+12
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ Definition
1818
The :dbcommand:`dropDatabase` command drops the current database, deleting
1919
the associated data files.
2020

21+
Compatibility
22+
-------------
23+
24+
This command is available in deployments hosted in the following environments:
25+
26+
.. include:: /includes/fact-environments-atlas-only.rst
27+
28+
.. include:: /includes/fact-environments-atlas-support-all.rst
29+
30+
.. include:: /includes/fact-environments-onprem-only.rst
31+
32+
2133
Syntax
2234
------
2335

source/reference/command/dropIndexes.txt

+11
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ Definition
2525
:method:`db.collection.dropIndexes()` helper methods.
2626
.. include:: /includes/fact-dbcommand-tip
2727

28+
Compatibility
29+
-------------
30+
31+
This command is available in deployments hosted in the following environments:
32+
33+
.. include:: /includes/fact-environments-atlas-only.rst
34+
35+
.. include:: /includes/fact-environments-atlas-support-all.rst
36+
37+
.. include:: /includes/fact-environments-onprem-only.rst
38+
2839
Syntax
2940
------
3041

source/reference/command/filemd5.txt

+11
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ Definition
2121
The command takes the ``files_id`` of the file in question and the
2222
name of the GridFS root collection as arguments.
2323

24+
Compatibility
25+
-------------
26+
27+
This command is available in deployments hosted in the following environments:
28+
29+
.. include:: /includes/fact-environments-atlas-only.rst
30+
31+
.. include:: /includes/fact-environments-atlas-support-all.rst
32+
33+
.. include:: /includes/fact-environments-onprem-only.rst
34+
2435
Syntax
2536
------
2637

source/reference/command/fsync.txt

+12
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,18 @@ Definition
4545
.. |method| replace:: :method:`db.fsyncLock` helper method
4646
.. include:: /includes/fact-dbcommand-tip
4747

48+
49+
Compatibility
50+
-------------
51+
52+
This command is available in deployments hosted in the following environments:
53+
54+
.. include:: /includes/fact-environments-atlas-only.rst
55+
56+
.. include:: /includes/fact-environments-atlas-support-no-free-or-serverless.rst
57+
58+
.. include:: /includes/fact-environments-onprem-only.rst
59+
4860
Syntax
4961
------
5062

source/reference/command/fsyncUnlock.txt

+11
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ Definition
4040
.. |method| replace:: :method:`db.fsyncUnlock` helper method
4141
.. include:: /includes/fact-dbcommand-tip
4242

43+
Compatibility
44+
-------------
45+
46+
This command is available in deployments hosted in the following environments:
47+
48+
.. include:: /includes/fact-environments-atlas-only.rst
49+
50+
.. include:: /includes/fact-environments-atlas-support-no-free.rst
51+
52+
.. include:: /includes/fact-environments-onprem-only.rst
53+
4354
Syntax
4455
------
4556

source/reference/command/getClusterParameter.txt

+11
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ Definition
2424

2525
.. include:: /includes/fact-getClusterParameter-availability.rst
2626

27+
Compatibility
28+
-------------
29+
30+
This command is available in deployments hosted in the following environments:
31+
32+
.. include:: /includes/fact-environments-atlas-only.rst
33+
34+
.. include:: /includes/fact-environments-atlas-support-all.rst
35+
36+
.. include:: /includes/fact-environments-onprem-only.rst
37+
2738
Syntax
2839
------
2940

source/reference/command/getDefaultRWConcern.txt

+11
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ Definition
2121
- For sharded clusters, issue the :dbcommand:`getDefaultRWConcern`
2222
on a :binary:`~bin.mongos`.
2323

24+
Compatibility
25+
-------------
26+
27+
This command is available in deployments hosted in the following environments:
28+
29+
.. include:: /includes/fact-environments-atlas-only.rst
30+
31+
.. include:: /includes/fact-environments-atlas-support-all.rst
32+
33+
.. include:: /includes/fact-environments-onprem-only.rst
34+
2435
Syntax
2536
------
2637

source/reference/command/getParameter.txt

+12-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,18 @@ Definition
1919
retrieving the values of parameters. Use the :method:`db.adminCommand(
2020
{ command } )<db.adminCommand()>` method to run the
2121
:dbcommand:`getParameter` command in the ``admin`` database.
22-
22+
23+
Compatibility
24+
-------------
25+
26+
This command is available in deployments hosted in the following environments:
27+
28+
.. include:: /includes/fact-environments-atlas-only.rst
29+
30+
.. include:: /includes/fact-environments-atlas-support-limited-free.rst
31+
32+
.. include:: /includes/fact-environments-onprem-only.rst
33+
2334
Syntax
2435
------
2536

source/reference/command/killCursors.txt

+11
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@ Definition
3131

3232
.. include:: /includes/fact-dbcommand.rst
3333

34+
Compatibility
35+
-------------
36+
37+
This command is available in deployments hosted in the following environments:
38+
39+
.. include:: /includes/fact-environments-atlas-only.rst
40+
41+
.. include:: /includes/fact-environments-atlas-support-all.rst
42+
43+
.. include:: /includes/fact-environments-onprem-only.rst
44+
3445
Syntax
3546
------
3647

source/reference/command/killOp.txt

+11
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@ Definition
2727

2828
.. include:: /includes/fact-dbcommand.rst
2929

30+
Compatibility
31+
-------------
32+
33+
This command is available in deployments hosted in the following environments:
34+
35+
.. include:: /includes/fact-environments-atlas-only.rst
36+
37+
.. include:: /includes/fact-environments-atlas-support-limited-free-and-m10.rst
38+
39+
.. include:: /includes/fact-environments-onprem-only.rst
40+
3041
Syntax
3142
------
3243

source/reference/command/listCollections.txt

+11
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ Definition
2525
:binary:`~bin.mongosh` provides the :method:`db.getCollectionInfos()`
2626
and the :method:`db.getCollectionNames()` helper methods.
2727

28+
Compatibility
29+
-------------
30+
31+
This command is available in deployments hosted in the following environments:
32+
33+
.. include:: /includes/fact-environments-atlas-only.rst
34+
35+
.. include:: /includes/fact-environments-atlas-support-all.rst
36+
37+
.. include:: /includes/fact-environments-onprem-only.rst
38+
2839
Syntax
2940
------
3041

source/reference/command/listDatabases.txt

+11
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ Definition
2020
:dbcommand:`listDatabases` must run against the ``admin`` database,
2121
as in the following example:
2222

23+
Compatibility
24+
-------------
25+
26+
This command is available in deployments hosted in the following environments:
27+
28+
.. include:: /includes/fact-environments-atlas-only.rst
29+
30+
.. include:: /includes/fact-environments-atlas-support-all.rst
31+
32+
.. include:: /includes/fact-environments-onprem-only.rst
33+
2334
Syntax
2435
------
2536

0 commit comments

Comments
 (0)