1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-14 08:55:34 +00:00
gcloud-help/gcloud/alpha/run/jobs/executions/cancel
2023-11-15 11:42:54 +00:00

62 lines
2 KiB
Text

NAME
gcloud alpha run jobs executions cancel - cancel an execution
SYNOPSIS
gcloud alpha run jobs executions cancel EXECUTION [--[no-]async]
[--region=REGION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Cancel an execution.
EXAMPLES
To cancel an execution:
$ gcloud alpha run jobs executions cancel my-execution
POSITIONAL ARGUMENTS
Execution resource - Execution to cancel. 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 EXECUTION on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
EXECUTION
ID of the Execution or fully qualified identifier for the Execution.
To set the executions attribute:
▸ provide the argument EXECUTION on the command line.
FLAGS
--[no-]async
Return immediately, without waiting for the operation in progress to
complete. Defaults to --no-async. Use --async to enable and --no-async
to disable.
--region=REGION
Region in which the resource can be found. Alternatively, set the
property [run/region].
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 alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. These variants are also available:
$ gcloud run jobs executions cancel
$ gcloud beta run jobs executions cancel