mongocli atlas networking peering create gcp
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
Create a connection with GCP.
Syntax
mongocli atlas networking peering create gcp [options]
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. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |