Docs Menu

mongocli atlas privateEndpoints gcp interfaces create

On this page

  • Syntax
  • Arguments
  • Options
  • Inherited Options
  • Examples

Create a GCP private endpoint interface.

mongocli atlas privateEndpoints gcp interfaces create <endpointGroupId> [options]
Name
Type
Required
Description
endpointGroupId
string
true
Unique identifier for the endpoint group.
Name
Type
Required
Description
--endpoint
strings
false
List of GCP endpoints in the group separated by commas, such as: endpointName1@ipAddress1,...,endpointNameN@ipAddressN
--endpointServiceId
string
true
Unique identifier of the private endpoint service for which you want to retrieve a private endpoint.
--gcpProjectId
string
true
Unique identifier of the GCP project in which the network peer resides.
-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.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
$ mongocli atlas privateEndpoints gcp interfaces create endpoint-1 --endpointServiceId 61eaca605af86411903de1dd --gcpProjectId mcli-private-endpoints --endpoint endpoint-0@10.142.0.2,endpoint-1@10.142.0.3,endpoint-2@10.142.0.4,endpoint-3@10.142.0.5,endpoint-4@10.142.0.6,endpoint-5@10.142.0.7
←  mongocli atlas privateEndpoints gcp interfacesmongocli atlas privateEndpoints gcp interfaces delete →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.