mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 07:29:40 +00:00
46 lines
1.3 KiB
Text
46 lines
1.3 KiB
Text
NAME
|
|
gcloud services vpc-peerings list - list connections to a service via VPC
|
|
peering for a project network
|
|
|
|
SYNOPSIS
|
|
gcloud services vpc-peerings list --network=NETWORK [--service=SERVICE]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
This command lists connections of a network to a service via VPC peering
|
|
for a project.
|
|
|
|
EXAMPLES
|
|
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
|
|
|
|
REQUIRED FLAGS
|
|
--network=NETWORK
|
|
The network in the current project to list connections with the service
|
|
|
|
OPTIONAL FLAGS
|
|
--service=SERVICE
|
|
The service to list connections
|
|
|
|
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 help for details.
|
|
|
|
NOTES
|
|
These variants are also available:
|
|
|
|
$ gcloud alpha services vpc-peerings list
|
|
|
|
$ gcloud beta services vpc-peerings list
|
|
|