Docs Menu

mongocli atlas networking peering create gcp

On this page

  • Syntax
  • Options
  • Inherited Options

Create a connection with GCP.

mongocli atlas networking peering create gcp [options]
Name
Type
Required
Description
--atlasCidrBlock
string
true
CIDR block that Atlas uses for your clusters.
--gcpProjectId
string
false
Unique identifier of the GCP project in which the network peer resides.
-h, --help
false
help for gcp
--network
string
false
Unique identifier of the Network Peering connection in the Atlas project.
-o, --output
string
false
Output format. Valid values: json|json-path|go-template|go-template-file
--projectId
string
false
Project ID to use. Overrides configuration file or environment variable settings.
--region
strings
false
List of Atlas regions where the container resides.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
Give Feedback
MongoDB logo
© 2021 MongoDB, Inc.

About

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