gcloud services vpc-peerings delete Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud services vpc-peerings delete - delete a private service connection to a service for a project network
- SYNOPSIS
gcloud services vpc-peerings delete--network=NETWORK[--async][--service=SERVICE; default="servicenetworking.googleapis.com"][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- This command deletes a private service connection to a service via a VPCnetwork.
- EXAMPLES
- To delete an existing connection for a network called
my-networkonthe current project to a service calledyour-servicerun:gcloudservicesvpc-peeringsdelete--network=my-network--service=your-serviceTo run the same command asynchronously (non-blocking), run:
gcloudservicesvpc-peeringsdelete--network=my-network--service=your-service--async - REQUIRED FLAGS
--network=NETWORK- The network in the current project which is peered with the service
- OPTIONAL FLAGS
--async- Return immediately, without waiting for the operation in progress to complete.
--service=SERVICE; default="servicenetworking.googleapis.com"- The service to connect to
- 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 helpfor details. - NOTES
- These variants are also available:
gcloudalphaservicesvpc-peeringsdeletegcloudbetaservicesvpc-peeringsdelete
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.