Docs Menu
Docs Home
/
MongoDB Atlas
/ / /

Storage Configuration Commands

On this page

  • storageGetConfig
  • storageSetConfig
  • storageValidateConfig

The storageGetConfig command returns the current federated database instance configuration.

db.runCommand( { "storageGetConfig" : 1 } )

To learn more about this command, see Retrieve Federated Database Instance Configuration.

The storageSetConfig command replaces the current federated database instance configuration with a JSON document.

db.runCommand( { "storageSetConfig" : <config> } )

To learn more about this command, see Set or Update Federated Database Instance Configuration.

The storageValidateConfig command validates the given federated database instance configuration.

db.runCommand( { "storageValidateConfig" : <config> } )

To learn more about this command, see Validate Federated Database Instance Configuration.

Back

Role Management

Next

Aggregation Pipelines