mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
gcloud: Wed Feb 8 10:13:59 UTC 2023
This commit is contained in:
parent
fc11b54760
commit
11068cb123
240 changed files with 8982 additions and 619 deletions
|
|
@ -12,11 +12,47 @@ DESCRIPTION
|
|||
List subnets in a VMware Engine private cloud.
|
||||
|
||||
EXAMPLES
|
||||
To list subnets in the my-privatecloud private cloud, run:
|
||||
To list subnets that belong to the private cloud my-privatecloud in project
|
||||
my-project and zone us-east2-b, run:
|
||||
|
||||
$ gcloud vmware private-clouds subnets list \
|
||||
--private-cloud=my-privatecloud --project=my-project \
|
||||
--location=us-east2-b
|
||||
--private-cloud=my-privatecloud --location=us-east2-b \
|
||||
--project=my-project
|
||||
|
||||
Or:
|
||||
|
||||
$ gcloud vmware private-clouds subnets list \
|
||||
--private-cloud=my-privatecloud
|
||||
|
||||
In the above example, the project and the location are taken from gcloud
|
||||
properties core/project and compute/zone, respectively.
|
||||
|
||||
To list subnets that belong to all the private clouds in project my-project
|
||||
and zone us-east2-b, run:
|
||||
|
||||
$ gcloud vmware private-clouds subnets list --private-cloud=- \
|
||||
--location=us-east2-b --project=my-project
|
||||
|
||||
Or:
|
||||
|
||||
$ gcloud vmware private-clouds subnets list --private-cloud=-
|
||||
|
||||
In the above example, the project and the location are taken from gcloud
|
||||
properties core/project and compute/zone, respectively.
|
||||
|
||||
To list subnets for all private clouds in all locations in project
|
||||
my-project, run:
|
||||
|
||||
$ gcloud vmware private-clouds subnets list --private-cloud=- \
|
||||
--location=- --project=my-project
|
||||
|
||||
Or:
|
||||
|
||||
$ gcloud vmware private-clouds subnets list --private-cloud=- \
|
||||
--location=-
|
||||
|
||||
In the last example, the project is taken from gcloud properties
|
||||
core/project.
|
||||
|
||||
REQUIRED FLAGS
|
||||
Private cloud resource - private_cloud. The arguments in this group can be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue