gcloud compute forwarding-rules list
NAME
…]--format
FORMAT
]--help
]--limit
LIMIT
]--project
PROJECT_ID
]--quiet
, -q
]--regexp
REGEXP
, -r
REGEXP
]--global
| --regions
[REGION
…]]--sort-by
SORT_BY
]--uri
]-h
]gcloud compute forwarding-rules list
lists summary information of forwarding rules in a
project. The --uri
option can be used to display URIs
instead. Users who want to see more data should use gcloud
compute forwarding-rules describe
.--regions
or --global
flag.NAME
…]
--global
--limit
LIMIT
--regexp
REGEXP
, -r
REGEXP
--regions
[REGION
…]
--sort-by
SORT_BY
~
).
--uri
--format
FORMAT
json
, text
, yaml
.
--help
--project
PROJECT_ID
--quiet
, -q
-h
$ gcloud compute forwarding-rules list
$ gcloud compute forwarding-rules list --uri
$ gcloud compute forwarding-rules list --global
$ gcloud compute forwarding-rules list --regions
us-central1
and the
europe-west1
regions, run:$ gcloud compute forwarding-rules list --regions us-central1 \ europe-west1
compute
component. See
installing components
if it is not installed.