1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/dataflow/jobs/drain
2022-03-01 04:29:52 +00:00

36 lines
1.1 KiB
Text

NAME
gcloud dataflow jobs drain - drains all jobs that match the command line
arguments
SYNOPSIS
gcloud dataflow jobs drain JOB_ID [JOB_ID ...] [--region=REGION_ID]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Once Drain is triggered, the pipeline will stop accepting new inputs. The
input watermark will be advanced to infinity. Elements already in the
pipeline will continue to be processed. Drained jobs can safely be
cancelled.
POSITIONAL ARGUMENTS
JOB_ID [JOB_ID ...]
The job IDs to operate on.
FLAGS
--region=REGION_ID
The region ID of the jobs' regional endpoint. Defaults to
'us-central1'.
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 beta dataflow jobs drain