- NAME
-
- gcloud dataproc operations list - view the list of all operations
- SYNOPSIS
-
-
gcloud dataproc operations list[--cluster=CLUSTER] [--region=REGION] [--state-filter=STATE_FILTER] [--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE; default=100] [--sort-by=[FIELD,…]] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
View a list of operations in a project. An optional filter can be used to
constrain the operations returned. Filters are case-sensitive and have the
following syntax:
field = value [AND [field = value]] …
where
fieldis either ofstatus.stateorlabels.[KEY], where[KEY]is a label key.valuecan be*to match all values.status.stateis one of:PENDING,ACTIVE,DONE. Only the logicalANDoperator is supported; space-separated items are treated as having an implicitANDoperator. - EXAMPLES
-
To see the list of all operations in Dataproc's 'us-central1' region, run:
gcloud dataproc operations list --region='us-central1'To see the list of all create cluster operations in Dataproc's 'global' region, run:
gcloud dataproc operations list --region='global' --filter='operationType = CREATE'To see the list of all active operations in a cluster named 'mycluster' located in Dataproc's 'global' region, run:
gcloud dataproc operations list --region='global' --filter='status.state = RUNNING ANDclusterName = mycluster'To see a list of all pending operations with the label
env=stagingon clustermyclusterlocated in Dataproc's 'us-central1' region, run:gcloud dataproc