1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Thu Sep 4 11:11:30 UTC 2025

This commit is contained in:
Automated 2025-09-04 11:11:30 +00:00
parent c0b004f719
commit be3f81b90a
355 changed files with 10181 additions and 607 deletions

View file

@ -3,7 +3,8 @@ NAME
subnetworks permitted for use
SYNOPSIS
gcloud compute networks subnets list-usable [--filter=EXPRESSION]
gcloud compute networks subnets list-usable
[--service-project=SERVICE_PROJECT] [--filter=EXPRESSION]
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
[GCLOUD_WIDE_FLAG ...]
@ -21,12 +22,26 @@ EXAMPLES
$ gcloud compute networks subnets list-usable
To list all subnetworks in the host project HOST_PROJECT_ID of Shared VPC
that are usable in the service project SERVICE_PROJECT_ID (see Shared VPC
documentation (https://cloud.google.com/vpc/docs/shared-vpc/)) by the
default user:
$ gcloud compute networks subnets list-usable \
--project=HOST_PROJECT_ID --service-project=SERVICE_PROJECT_ID
To list all subnetworks in the project PROJECT_ID that are usable by the
user ACCOUNT:
$ gcloud compute networks subnets list-usable --project=PROJECT_ID \
--account=ACCOUNT
FLAGS
--service-project=SERVICE_PROJECT
The project id or project number in which the subnetwork is intended to
be used. Only applied for Shared VPC. See Shared VPC documentation
(https://cloud.google.com/vpc/docs/shared-vpc/).
LIST COMMAND FLAGS
--filter=EXPRESSION
Apply a Boolean filter EXPRESSION to each resource item to be listed.