- gcloud alpha compute shared-vpc associated-projects - configure associated projects for cross-project networking (XPN)
gcloud alpha compute shared-vpc associated-projects COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Configure associated projects for cross-project networking (XPN).
GCLOUD WIDE FLAGS
COMMAND is one of the following:
(ALPHA) Associate the given project with a given shared VPC host project.
(ALPHA) List the associated service projects of the given host project.
(ALPHA) Disassociate the given project from the given shared VPC host
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud compute shared-vpc associated-projects $ gcloud beta compute shared-vpc associated-projects