1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/beta/dataflow/snapshots/create
2022-03-01 04:29:52 +00:00

49 lines
1.5 KiB
Text

NAME
gcloud beta dataflow snapshots create - creates a snapshot for a Cloud
Dataflow job
SYNOPSIS
gcloud beta dataflow snapshots create --job-id=JOB_ID --region=REGION_ID
[--snapshot-sources=SNAPSHOT_SOURCES]
[--snapshot-ttl=DURATION; default="7d"] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Creates a snapshot for a Cloud Dataflow job.
EXAMPLES
To create a Cloud Dataflow snapshot with sources for a running job, run:
$ gcloud beta dataflow snapshots create --job-id=JOB_ID \
--region=JOB_REGION --snapshot-sources=true --snapshot-ttl=7d
REQUIRED FLAGS
--job-id=JOB_ID
The job ID to snapshot.
--region=REGION_ID
The region ID of the snapshot and job's regional endpoint.
OPTIONAL FLAGS
--snapshot-sources=SNAPSHOT_SOURCES
If true, snapshots will also be created for the Cloud Pub/Sub sources
of the Cloud Dataflow job.
--snapshot-ttl=DURATION; default="7d"
Time to live for the snapshot.
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 command is currently in beta and might change without notice. These
variants are also available:
$ gcloud dataflow snapshots create
$ gcloud alpha dataflow snapshots create