gcloud beta compute operations list
[NAME
…] [--global
] [--regexp
=REGEXP
, -r
REGEXP
] [--regions
=[REGION
,…]] [--zones
=[ZONE
,…]] [--filter
=EXPRESSION
] [--limit
=LIMIT
] [--page-size
=PAGE_SIZE
] [--sort-by
=[FIELD
,…]] [--uri
] [GCLOUD_WIDE_FLAG …
]
(BETA)
gcloud beta compute operations list
displays all Compute Engine operations in a project.
By default, all global, regional, and zonal operations are listed. The results can be narrowed by providing combinations of the --zones, --regions, and --global flags.
Note: gcloud beta compute operations list
displays operations fewer than 14 days old, up to a maximum of 5000.
gcloud beta compute operations list
To list the URIs of all operations in a project, run:
gcloud beta compute operations list --uri
To list all operations in zones us-central1-b and europe-west1-d, run:
gcloud beta compute operations list --zones=us-central1-b,europe-west1-d
To list all global operations in a project, run:
gcloud beta compute operations list --global
To list all regional operations in a project, run:
gcloud beta compute operations list --regions=""
To list all operations with names prefixed with operation
, run:
gcloud beta compute operations list --filter="name:operation"
To list all operations in the us-central1 and europe-west1 regions and all operations in the us-central1-a zone, run:
gcloud beta compute operations list --zones=us-central1-a --regions=us-central1,europe-west1
To list all operations with a specified target, filter on the targetLink field (run gcloud beta compute operations list --format=json
to see a full, well-structured list of available fields). Additionally, use scope()
which extracts the last part of the URL to get the required target information, and run:
gcloud beta compute operations list --filter="targetLink.scope():default-12345abc"
NAME
…]
Argument NAME
is deprecated. Use --filter="name=( 'NAME' … )"
instead.
--global
--regexp
=REGEXP
, -r
REGEXP
Flag --regexp
is deprecated. Use --filter="name~'REGEXP'"
instead.
--regions
=[REGION
,…]
--zones
=[ZONE
,…]
--filter
=EXPRESSION
EXPRESSION
to each resource item to be listed. If the expression evaluates True
, then that item is listed. For more details and examples of filter expressions, run $ gcloud topic filters. This flag interacts with other flags that are applied in this order: --flatten
, --sort-by
, --filter
, --limit
.
--limit
=LIMIT
unlimited
. This flag interacts with other flags that are applied in this order: --flatten
, --sort-by
, --filter
, --limit
.
--page-size
=PAGE_SIZE
unlimited
(no paging). Paging may be applied before or after --filter
and --limit
depending on the service.
--sort-by
=[FIELD
,…]
--flatten
, --sort-by
, --filter
, --limit
.
--uri
--format
, the formatting is applied on this URI list. To display URIs alongside other keys instead, use the uri()
transform.
--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.
gcloud compute operations list
gcloud alpha compute operations list
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4