Automation Configuration Resource
On this page
- OAuth 2.0 authentication for programmatic access to Cloud Manager is available as a Preview feature.
- The feature and the corresponding documentation might change at any time during the Preview period. To use OAuth 2.0 authentication, create a service account to use in your requests to the Cloud Manager Public API.
Note
Groups and projects are synonymous terms. Your {PROJECT-ID}
is the
same as your project id. For existing groups, your group/project id
remains the same. This page uses the more familiar term group when
referring to descriptions. The endpoint remains as stated in the
document.
The API provides the automationConfig
resource to let you manage your project’s
automation configuration.
The configuration defines the various MongoDB clusters, replica sets
and standalones in the deployment and defines how each process runs.
Automation builds the deployment according to the goals specified. Each
MongoDB Agent using Automation is responsible for the MongoDB processes
that run on its host. The configuration also specifies settings for the
deployment's MongoDB Agents.
When a running MongoDB process matches its defined configuration, the process is in "goal state". When all processes on all hosts are in goal state, the deployment itself is in goal state.
To update the automation configuration, you must issue the request from an IP address on your user account's access list.
Additional Copies of the Automation Configuration
The MongoDB Agent stores a copy of the configuration in the
mms-cluster-config-backup.json
file. Automation stores the most
recent version of configuration with which Automation was able to
reach goal state. If an Agent is not able to process configuration
changes, it continues to store an older version of the configuration.
Automation Configuration Parameters
The Automation Configuration contains a large amount of information about your Cloud Manager instance, agents, clusters, and security. With this complexity, these parameters can be found as their own reference page.
To review an example of a complete automation configuration file, see Example Automation Configuration.
Endpoints
The following lists the endpoints available for the automation configuration resource.
Method | Endpoint | Description |
---|---|---|
| Retrieve the current automation configuration | |
| Replace the current automation configuration | |
| Update the MongoDB Agent | |
| Retrieve the current backup log settings | |
| Update the current backup log settings | |
| Retrieve the current monitoring log settings | |
| Update the current monitoring log settings |