gcloud beta services vpc-peerings list - list connections to a service via VPC peering for a project network
gcloud beta services vpc-peerings list --network=NETWORK [--service=SERVICE] [GCLOUD_WIDE_FLAG ...]
(BETA) This command lists connections of a network to a service via VPC peering for a project.
To list connections of a network called my-network to a service called your-service, run:
$ gcloud beta services vpc-peerings list --network=my-network \ --service=your-service
To list connections of a network against all services, run:
$ gcloud beta services vpc-peerings list --network=my-network
- --network=NETWORK
The network in the current project to list connections with the service
- --service=SERVICE
The service to list connections
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 beta and might change without notice. These variants are also available:
$ gcloud services vpc-peerings list
$ gcloud alpha services vpc-peerings list