gcloud alpha compute networks peerings delete - delete a Compute Engine network peering
gcloud alpha compute networks peerings delete NAME --network=NETWORK [GCLOUD_WIDE_FLAG ...]
(ALPHA) gcloud alpha compute networks peerings delete deletes a Compute Engine network peering.
To delete a network peering with the name 'peering-name' on the network 'local-network', run:
$ gcloud alpha compute networks peerings delete peering-name \ --network=local-network
- NAME
The name of the peering to delete.
- --network=NETWORK
The name of the network in the current project containing the peering.
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 networks peerings delete
$ gcloud beta compute networks peerings delete