Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ / / /

mongocli atlas privateEndpoints gcp create

On this page

  • Syntax
  • Options
  • Inherited Options
  • Examples

Create a new GCP private endpoint for your project.

mongocli atlas privateEndpoints gcp create [options]
Name
Type
Required
Description
-h, --help
false
help for create
-o, --output
string
false
Output format. Valid values are json, json-path, go-template, or go-template-file.
--projectId
string
false
Project ID to use. Overrides the settings in the configuration file or environment variable.
--region
string
true
Cloud provider region in which you want to create the private endpoint connection.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
$ mongocli atlas privateEndpoints gcp create --region CENTRAL_US

Back

gcp