Skip to content

Commit 93cc0ea

Browse files
Project import generated by Copybara. (#957)
GitOrigin-RevId: c626b7201d50dbb27d127a5e432ae9f6b2e3955d Co-authored-by: apix-bot[bot] <168195273+apix-bot[bot]@users.noreply.github.com>
1 parent 8badc2c commit 93cc0ea

File tree

516 files changed

+9195
-4312
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

516 files changed

+9195
-4312
lines changed

source/command/atlas-api-accessTracking-listAccessLogsByClusterName.txt

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ atlas api accessTracking listAccessLogsByClusterName
1212
:depth: 1
1313
:class: singlecol
1414

15-
`experimental <https://www.mongodb.com/docs/atlas/cli/current/command/atlas-api/>`_: Returns the access logs of one cluster identified by the cluster's name.
15+
`Public Preview: please provide feedback at <https://feedback.mongodb.com/forums/930808-atlas-cli>`_: Returns the access logs of one cluster identified by the cluster's name.
1616

1717
Access logs contain a list of authentication requests made against your cluster. You can't use this feature on tenant-tier clusters (M0, M2, M5). To use this resource, the requesting API Key must have the Project Monitoring Admin role or the Project Database Access Admin role.
1818

@@ -44,35 +44,37 @@ Options
4444
* - --authResult
4545
-
4646
- false
47-
- flag that indicates whether the response returns the successful authentication attempts only
47+
- Flag that indicates whether the response returns the successful authentication attempts only.
4848
* - --clusterName
4949
- string
5050
- true
51-
- human-readable label that identifies the cluster
51+
- Human-readable label that identifies the cluster.
5252
* - --end
5353
- int
5454
- false
55-
- date and time when to stop retrieving database history
55+
- Date and time when to stop retrieving database history. If you specify **end**, you must also specify **start**. This parameter uses UNIX epoch time in milliseconds.
5656
* - --envelope
57-
-
57+
- envelope
5858
- false
59-
- flag that indicates whether Application wraps the response in an envelope JSON object
59+
- Flag that indicates whether Application wraps the response in an envelope JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body.
6060
* - --groupId
6161
- string
6262
- true
63-
- unique 24-hexadecimal digit string that identifies your project
63+
- Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access.
64+
65+
**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups.
6466
* - -h, --help
6567
-
6668
- false
6769
- help for listAccessLogsByClusterName
6870
* - --ipAddress
6971
- string
7072
- false
71-
- one Internet Protocol address that attempted to authenticate with the database
73+
- One Internet Protocol address that attempted to authenticate with the database.
7274
* - --nLogs
7375
- int
7476
- false
75-
- maximum number of lines from the log to return
77+
- Maximum number of lines from the log to return.
7678
* - --output
7779
- string
7880
- false
@@ -84,11 +86,11 @@ Options
8486
* - --pretty
8587
-
8688
- false
87-
- flag that indicates whether the response body should be in the prettyprint format
89+
- Flag that indicates whether the response body should be in the <a href="https://en.wikipedia.org/wiki/Prettyprint" target="_blank" rel="noopener noreferrer">prettyprint</a> format.
8890
* - --start
8991
- int
9092
- false
91-
- date and time when MongoDB Cloud begins retrieving database history
93+
- Date and time when MongoDB Cloud begins retrieving database history. If you specify **start**, you must also specify **end**. This parameter uses UNIX epoch time in milliseconds.
9294
* - --version
9395
- string
9496
- false
@@ -110,3 +112,14 @@ Inherited Options
110112
- false
111113
- Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.
112114

115+
Examples
116+
-----------------
117+
118+
Run the command below.
119+
120+
.. code-block::
121+
122+
atlas api accessTracking listAccessLogsByClusterName --version 2023-01-01 --clusterName [clusterName] --envelope false --groupId 32b6e34b3d91647abb20e7b8 --pretty false
123+
124+
.. Code end marker, please don't delete this comment
125+

source/command/atlas-api-accessTracking-listAccessLogsByHostname.txt

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ atlas api accessTracking listAccessLogsByHostname
1212
:depth: 1
1313
:class: singlecol
1414

15-
`experimental <https://www.mongodb.com/docs/atlas/cli/current/command/atlas-api/>`_: Returns the access logs of one cluster identified by the cluster's hostname.
15+
`Public Preview: please provide feedback at <https://feedback.mongodb.com/forums/930808-atlas-cli>`_: Returns the access logs of one cluster identified by the cluster's hostname.
1616

1717
Access logs contain a list of authentication requests made against your clusters. You can't use this feature on tenant-tier clusters (M0, M2, M5). To use this resource, the requesting API Key must have the Project Monitoring Admin role or the Project Database Access Admin role.
1818

@@ -44,35 +44,37 @@ Options
4444
* - --authResult
4545
-
4646
- false
47-
- flag that indicates whether the response returns the successful authentication attempts only
47+
- Flag that indicates whether the response returns the successful authentication attempts only.
4848
* - --end
4949
- int
5050
- false
51-
- date and time when to stop retrieving database history
51+
- Date and time when to stop retrieving database history. If you specify **end**, you must also specify **start**. This parameter uses UNIX epoch time in milliseconds.
5252
* - --envelope
53-
-
53+
- envelope
5454
- false
55-
- flag that indicates whether Application wraps the response in an envelope JSON object
55+
- Flag that indicates whether Application wraps the response in an envelope JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body.
5656
* - --groupId
5757
- string
5858
- true
59-
- unique 24-hexadecimal digit string that identifies your project
59+
- Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access.
60+
61+
**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups.
6062
* - -h, --help
6163
-
6264
- false
6365
- help for listAccessLogsByHostname
6466
* - --hostname
6567
- string
6668
- true
67-
- fully qualified domain name or IP address of the MongoDB host that stores the log files that you want to download
69+
- Fully qualified domain name or IP address of the MongoDB host that stores the log files that you want to download.
6870
* - --ipAddress
6971
- string
7072
- false
71-
- one Internet Protocol address that attempted to authenticate with the database
73+
- One Internet Protocol address that attempted to authenticate with the database.
7274
* - --nLogs
7375
- int
7476
- false
75-
- maximum number of lines from the log to return
77+
- Maximum number of lines from the log to return.
7678
* - --output
7779
- string
7880
- false
@@ -84,11 +86,11 @@ Options
8486
* - --pretty
8587
-
8688
- false
87-
- flag that indicates whether the response body should be in the prettyprint format
89+
- Flag that indicates whether the response body should be in the <a href="https://en.wikipedia.org/wiki/Prettyprint" target="_blank" rel="noopener noreferrer">prettyprint</a> format.
8890
* - --start
8991
- int
9092
- false
91-
- date and time when MongoDB Cloud begins retrieving database history
93+
- Date and time when MongoDB Cloud begins retrieving database history. If you specify **start**, you must also specify **end**. This parameter uses UNIX epoch time in milliseconds.
9294
* - --version
9395
- string
9496
- false
@@ -110,3 +112,14 @@ Inherited Options
110112
- false
111113
- Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.
112114

115+
Examples
116+
-----------------
117+
118+
Run the command below.
119+
120+
.. code-block::
121+
122+
atlas api accessTracking listAccessLogsByHostname --version 2023-01-01 --envelope false --groupId 32b6e34b3d91647abb20e7b8 --hostname [hostname] --pretty false
123+
124+
.. Code end marker, please don't delete this comment
125+

source/command/atlas-api-accessTracking.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ atlas api accessTracking
1212
:depth: 1
1313
:class: singlecol
1414

15-
`experimental <https://www.mongodb.com/docs/atlas/cli/current/command/atlas-api/>`_: Returns access logs for authentication attempts made to Atlas database deployments.
15+
`Public Preview: please provide feedback at <https://feedback.mongodb.com/forums/930808-atlas-cli>`_: Returns access logs for authentication attempts made to Atlas database deployments.
1616

1717
To view database access history, you must have either the Project Owner or Organization Owner role.
1818

@@ -51,8 +51,8 @@ Inherited Options
5151
Related Commands
5252
----------------
5353

54-
* :ref:`atlas-api-accessTracking-listAccessLogsByClusterName` - `experimental <https://www.mongodb.com/docs/atlas/cli/current/command/atlas-api/>`_: Returns the access logs of one cluster identified by the cluster's name.
55-
* :ref:`atlas-api-accessTracking-listAccessLogsByHostname` - `experimental <https://www.mongodb.com/docs/atlas/cli/current/command/atlas-api/>`_: Returns the access logs of one cluster identified by the cluster's hostname.
54+
* :ref:`atlas-api-accessTracking-listAccessLogsByClusterName` - `Public Preview: please provide feedback at <https://feedback.mongodb.com/forums/930808-atlas-cli>`_: Returns the access logs of one cluster identified by the cluster's name.
55+
* :ref:`atlas-api-accessTracking-listAccessLogsByHostname` - `Public Preview: please provide feedback at <https://feedback.mongodb.com/forums/930808-atlas-cli>`_: Returns the access logs of one cluster identified by the cluster's hostname.
5656

5757

5858
.. toctree::

source/command/atlas-api-alertConfigurations-createAlertConfiguration.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ atlas api alertConfigurations createAlertConfiguration
1212
:depth: 1
1313
:class: singlecol
1414

15-
`experimental <https://www.mongodb.com/docs/atlas/cli/current/command/atlas-api/>`_: Creates one alert configuration for the specified project.
15+
`Public Preview: please provide feedback at <https://feedback.mongodb.com/forums/930808-atlas-cli>`_: Creates one alert configuration for the specified project.
1616

1717
Alert configurations define the triggers and notification methods for alerts. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role.
1818

@@ -45,17 +45,19 @@ Options
4545
- Required
4646
- Description
4747
* - --envelope
48-
-
48+
- envelope
4949
- false
50-
- flag that indicates whether Application wraps the response in an envelope JSON object
50+
- Flag that indicates whether Application wraps the response in an envelope JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body.
5151
* - --file
5252
- string
5353
- false
5454
- path to your API request file. Leave empty to use standard input instead - you must provide one or the other, but not both.
5555
* - --groupId
5656
- string
5757
- true
58-
- unique 24-hexadecimal digit string that identifies your project
58+
- Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access.
59+
60+
**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups.
5961
* - -h, --help
6062
-
6163
- false
@@ -71,7 +73,7 @@ Options
7173
* - --pretty
7274
-
7375
- false
74-
- flag that indicates whether the response body should be in the prettyprint format
76+
- Flag that indicates whether the response body should be in the <a href="https://en.wikipedia.org/wiki/Prettyprint" target="_blank" rel="noopener noreferrer">prettyprint</a> format.
7577
* - --version
7678
- string
7779
- false

source/command/atlas-api-alertConfigurations-deleteAlertConfiguration.txt

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ atlas api alertConfigurations deleteAlertConfiguration
1212
:depth: 1
1313
:class: singlecol
1414

15-
`experimental <https://www.mongodb.com/docs/atlas/cli/current/command/atlas-api/>`_: Removes one alert configuration from the specified project.
15+
`Public Preview: please provide feedback at <https://feedback.mongodb.com/forums/930808-atlas-cli>`_: Removes one alert configuration from the specified project.
1616

1717
To use this resource, the requesting API Key must have the Organization Owner or Project Owner role.
1818

@@ -47,15 +47,17 @@ Options
4747
* - --alertConfigId
4848
- string
4949
- true
50-
- unique 24-hexadecimal digit string that identifies the alert configuration
50+
- Unique 24-hexadecimal digit string that identifies the alert configuration. Use the [/alertConfigs](#tag/Alert-Configurations/operation/listAlertConfigurations) endpoint to retrieve all alert configurations to which the authenticated user has access.
5151
* - --envelope
52-
-
52+
- envelope
5353
- false
54-
- flag that indicates whether Application wraps the response in an envelope JSON object
54+
- Flag that indicates whether Application wraps the response in an envelope JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body.
5555
* - --groupId
5656
- string
5757
- true
58-
- unique 24-hexadecimal digit string that identifies your project
58+
- Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access.
59+
60+
**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups.
5961
* - -h, --help
6062
-
6163
- false
@@ -71,7 +73,7 @@ Options
7173
* - --pretty
7274
-
7375
- false
74-
- flag that indicates whether the response body should be in the prettyprint format
76+
- Flag that indicates whether the response body should be in the <a href="https://en.wikipedia.org/wiki/Prettyprint" target="_blank" rel="noopener noreferrer">prettyprint</a> format.
7577
* - --version
7678
- string
7779
- false
@@ -93,3 +95,14 @@ Inherited Options
9395
- false
9496
- Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.
9597

98+
Examples
99+
-----------------
100+
101+
Run the command below.
102+
103+
.. code-block::
104+
105+
atlas api alertConfigurations deleteAlertConfiguration --version 2023-01-01 --alertConfigId 32b6e34b3d91647abb20e7b8 --envelope false --groupId 32b6e34b3d91647abb20e7b8 --pretty false
106+
107+
.. Code end marker, please don't delete this comment
108+

source/command/atlas-api-alertConfigurations-getAlertConfiguration.txt

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ atlas api alertConfigurations getAlertConfiguration
1212
:depth: 1
1313
:class: singlecol
1414

15-
`experimental <https://www.mongodb.com/docs/atlas/cli/current/command/atlas-api/>`_: Returns the specified alert configuration from the specified project.
15+
`Public Preview: please provide feedback at <https://feedback.mongodb.com/forums/930808-atlas-cli>`_: Returns the specified alert configuration from the specified project.
1616

1717
To use this resource, the requesting API Key must have the Project Read Only role.
1818

@@ -47,15 +47,17 @@ Options
4747
* - --alertConfigId
4848
- string
4949
- true
50-
- unique 24-hexadecimal digit string that identifies the alert configuration
50+
- Unique 24-hexadecimal digit string that identifies the alert configuration. Use the [/alertConfigs](#tag/Alert-Configurations/operation/listAlertConfigurations) endpoint to retrieve all alert configurations to which the authenticated user has access.
5151
* - --envelope
52-
-
52+
- envelope
5353
- false
54-
- flag that indicates whether Application wraps the response in an envelope JSON object
54+
- Flag that indicates whether Application wraps the response in an envelope JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body.
5555
* - --groupId
5656
- string
5757
- true
58-
- unique 24-hexadecimal digit string that identifies your project
58+
- Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access.
59+
60+
**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups.
5961
* - -h, --help
6062
-
6163
- false
@@ -71,7 +73,7 @@ Options
7173
* - --pretty
7274
-
7375
- false
74-
- flag that indicates whether the response body should be in the prettyprint format
76+
- Flag that indicates whether the response body should be in the <a href="https://en.wikipedia.org/wiki/Prettyprint" target="_blank" rel="noopener noreferrer">prettyprint</a> format.
7577
* - --version
7678
- string
7779
- false
@@ -93,3 +95,14 @@ Inherited Options
9395
- false
9496
- Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.
9597

98+
Examples
99+
-----------------
100+
101+
Run the command below.
102+
103+
.. code-block::
104+
105+
atlas api alertConfigurations getAlertConfiguration --version 2023-01-01 --alertConfigId 32b6e34b3d91647abb20e7b8 --envelope false --groupId 32b6e34b3d91647abb20e7b8 --pretty false
106+
107+
.. Code end marker, please don't delete this comment
108+

0 commit comments

Comments
 (0)