gcloud compute networks peerings delete - delete a Compute Engine network peering
gcloud compute networks peerings delete NAME --network=NETWORK [GCLOUD_WIDE_FLAG ...]
gcloud 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 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.
These variants are also available:
$ gcloud alpha compute networks peerings delete
$ gcloud beta compute networks peerings delete