1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-12 07:58:28 +00:00
gcloud-help/gcloud/network-services/route-views/list
2024-12-18 10:08:20 +00:00

117 lines
4.3 KiB
Text

NAME
gcloud network-services route-views list - route View for a Mesh or Gateway
SYNOPSIS
gcloud network-services route-views list (--gateway=GATEWAY | --mesh=MESH)
[--location=LOCATION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
List all Route Views for a Mesh or Gateway
EXAMPLES
List Route Views for a mesh.
$ gcloud network-services route-views list \
--mesh projects/-/locations/-/meshes/mesh1
$ gcloud network-services route-views list --project $PROJECT \
--location $LOCATION \
--mesh projects/-/locations/-/meshes/mesh1 List Route Views \
for a gateway.
$ gcloud network-services route-views list \
--gateway projects/-/locations/-/gateways/gateway1
$ gcloud network-services route-views list --project $PROJECT \
--location $LOCATION \
--gateway projects/-/locations/-/gateways/gateway1
REQUIRED FLAGS
Parent of the Route View
Exactly one of these must be specified:
Gateway resource - Parent Gateway This represents a Cloud resource.
(NOTE) Some attributes are not given arguments in this group but can be
set in other ways.
To set the project attribute:
▸ provide the argument --gateway on the command line with a fully
specified name;
▸ provide the argument --project on the command line;
▸ set the property core/project.
To set the location attribute:
▸ provide the argument --gateway on the command line with a fully
specified name;
▸ provide the argument --location on the command line.
--gateway=GATEWAY
ID of the gateway or fully qualified identifier for the gateway.
To set the gateway attribute:
▫ provide the argument --gateway on the command line.
Mesh resource - Parent Mesh This represents a Cloud resource. (NOTE)
Some attributes are not given arguments in this group but can be set in
other ways.
To set the project attribute:
▸ provide the argument --mesh on the command line with a fully
specified name;
▸ provide the argument --project on the command line;
▸ set the property core/project.
To set the location attribute:
▸ provide the argument --mesh on the command line with a fully
specified name;
▸ provide the argument --location on the command line.
--mesh=MESH
ID of the mesh or fully qualified identifier for the mesh.
To set the mesh attribute:
▫ provide the argument --mesh on the command line.
FLAGS
Location resource - Location of the parent This represents a Cloud
resource. (NOTE) Some attributes are not given arguments in this group but
can be set in other ways.
To set the project attribute:
◆ provide the argument --location on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--location=LOCATION
ID of the location or fully qualified identifier for the location.
To set the location attribute:
▸ provide the argument --location on the command line.
LIST COMMAND FLAGS
--limit=LIMIT
Maximum number of resources to list. The default is unlimited. This
flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--page-size=PAGE_SIZE
Some services group resource list output into pages. This flag
specifies the maximum number of resources per page. The default is
determined by the service if it supports paging, otherwise it is
unlimited (no paging). Paging may be applied before or after --filter
and --limit depending on the service.
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
This variant is also available:
$ gcloud alpha network-services route-views list