1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/compute/networks/peerings/request-delete
2025-08-27 10:57:46 +00:00

54 lines
1.7 KiB
Text

NAME
gcloud compute networks peerings request-delete - request deletion of a
Compute Engine network peering
SYNOPSIS
gcloud compute networks peerings request-delete NAME --network=NETWORK
[--async] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
gcloud compute networks peerings request-delete is used to request deletion
of a consensus peering between virtual networks. The peering can be deleted
if both sides request deletion.
EXAMPLES
To request deletion of a consensus peering with the name 'peering-name'
between the network 'local-network' and the network 'peer-network', run:
$ gcloud compute networks peerings request-delete peering-name \
--network=local-network
$ gcloud compute networks peerings request-delete peering-name \
--network=peer-network
To complete the deletion, run gcloud compute networks peerings delete for
each side of the peering.
POSITIONAL ARGUMENTS
NAME
The name of the peering.
REQUIRED FLAGS
--network=NETWORK
The name of the network in the current project containing the peering.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
GCLOUD WIDE FLAGS
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.
NOTES
These variants are also available:
$ gcloud alpha compute networks peerings request-delete
$ gcloud beta compute networks peerings request-delete