gcloud alpha compute shared-vpc - configure shared VPC
gcloud alpha compute shared-vpc GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Configure Shared VPC configurations.
For more information about Shared VPC, see the Shared VPC documentation https://cloud.google.com/vpc/docs/shared-vpc/.
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- associated-projects
(ALPHA) Configure associated projects for Shared VPC networking.
- organizations
(ALPHA) Configure organizations for Shared VPC networking.
COMMAND is one of the following:
- disable
(ALPHA) Disable the given project as a shared VPC host.
- enable
(ALPHA) Enable the given project as a shared VPC host.
- get-host-project
(ALPHA) Get the shared VPC host project that the given project is associated with.
- list-associated-resources
(ALPHA) List the resources associated with the given shared VPC host project.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
$ gcloud compute shared-vpc
$ gcloud beta compute shared-vpc