gcloud_alpha_services_vpc-peerings_list (1)
NAME
- gcloud alpha services vpc-peerings list - list connections to a service via VPC peering for a project network
SYNOPSIS
-
gcloud alpha services vpc-peerings list --network=NETWORK [--service=SERVICE; default="servicenetworking.googleapis.com"] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) This command lists connections of a network to a service via VPC
REQUIRED FLAGS
-
- --network=NETWORK
-
The network in the current project to list connections with the service
OPTIONAL FLAGS
-
- --service=SERVICE; default="servicenetworking.googleapis.com"
-
The service to list connections
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
To list connections of a network called my-network to a service called your-service, run:
-
$ gcloud alpha services vpc-peerings list --network my-network \
--service your-service \
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support This variant is also available:
- $ gcloud beta services vpc-peerings list