gcloud alpha services vpc-peerings delete - delete a private service connection to a service for a project network
gcloud alpha services vpc-peerings delete --network=NETWORK [--async] [--service=SERVICE; default="servicenetworking.googleapis.com"] [GCLOUD_WIDE_FLAG ...]
(ALPHA) This command deletes a private service connection to a service via a VPC network.
To delete an existing connection for a network called my-network on the current project to a service called your-service run:
$ gcloud alpha services vpc-peerings delete --network=my-network \ --service=your-service
To run the same command asynchronously (non-blocking), run:
$ gcloud alpha services vpc-peerings delete --network=my-network \ --service=your-service --async
- --network=NETWORK
The network in the current project which is peered with the service
- --async
Return immediately, without waiting for the operation in progress to complete.
- --service=SERVICE; default="servicenetworking.googleapis.com"
The service to connect to
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 services vpc-peerings delete
$ gcloud beta services vpc-peerings delete