- 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 calledyour-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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.