Docs Menu

Storage Configuration Commands

On this page

  • storageGetConfig
  • storageSetConfig
  • storageGenerateConfig
  • storageValidateConfig

The storageGetConfig command returns the current Data Lake configuration. For complete documentation on the configuration document format, see Configuration Document Format.

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

To learn more about this command, see Retrieve Data Lake Configuration.

The storageSetConfig command replaces the current Data Lake configuration with a JSON document. For complete documentation on the configuration document format, see Configuration Document Format.

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

To learn more about this command, see Set or Update Data Lake Configuration.

The storageGenerateConfig command generates a configuration for your Data Lake in JSON format. For complete documentation on the configuration document format, see Configuration Document Format.

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

To learn more about this command, see Generate Data Lake Configuration.

The storageValidateConfig command validates the given Data Lake configuration. For complete documentation on the configuration document format, see Configuration Document Format.

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

To learn more about this command, see Validate Data Lake Configuration.

Give Feedback
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.