gcloud services vpc-peerings list - list connections to a service via VPC peering for a project network
gcloud services vpc-peerings list --network=NETWORK [--service=SERVICE] [GCLOUD_WIDE_FLAG ...]
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 services vpc-peerings list --network=my-network \ --service=your-service
To list connections of a network against all services, run:
$ gcloud 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.
These variants are also available:
$ gcloud alpha services vpc-peerings list
$ gcloud beta services vpc-peerings list