gcloud alpha compute shared-vpc disable - disable the given project as a shared VPC host
gcloud alpha compute shared-vpc disable PROJECT_ID [GCLOUD_WIDE_FLAG ...]
(ALPHA) That is, after running this command, this project will not be able to share VPC networks to other projects.
To disable the project myproject as a shared VPC host, run:
$ gcloud alpha compute shared-vpc disable myproject
- PROJECT_ID
ID for the project to disable as a shared VPC host
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
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 disable
$ gcloud beta compute shared-vpc disable