mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Thu Apr 20 10:38:56 UTC 2023
This commit is contained in:
parent
b155beb241
commit
b33a8a3e6e
169 changed files with 3258 additions and 576 deletions
|
|
@ -2,7 +2,9 @@ NAME
|
|||
gcloud alpha run jobs execute - execute a job
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run jobs execute [JOB] [--region=REGION] [--async | --wait]
|
||||
gcloud alpha run jobs execute [JOB] [--args=[ARG,...]] [--region=REGION]
|
||||
[--task-timeout=TASK_TIMEOUT] [--tasks=TASKS]
|
||||
[--update-env-vars=[KEY=VALUE,...]] [--async | --wait]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -31,10 +33,38 @@ POSITIONAL ARGUMENTS
|
|||
▸ specify the job name from an interactive prompt.
|
||||
|
||||
FLAGS
|
||||
--args=[ARG,...]
|
||||
Comma-separated arguments passed to the command run by the container
|
||||
image. If provided, an execution will be created with the input values.
|
||||
Otherwise, the existing arguments of the job are used.
|
||||
|
||||
--region=REGION
|
||||
Region in which the resource can be found. Alternatively, set the
|
||||
property [run/region].
|
||||
|
||||
--task-timeout=TASK_TIMEOUT
|
||||
The existing maximum time (deadline) a job task attempt can run for. If
|
||||
provided, an execution will be created with this value. Otherwise
|
||||
existing maximum time of the job is used. In the case of retries, this
|
||||
deadline applies to each attempt of a task. If the task attempt does
|
||||
not complete within this time, it will be killed. It is specified as a
|
||||
duration; for example, "10m5s" is ten minutes, and five seconds. If you
|
||||
don't specify a unit, seconds is assumed. For example, "10" is 10
|
||||
seconds.
|
||||
|
||||
--tasks=TASKS
|
||||
Number of tasks that must run to completion for the job to be
|
||||
considered done. If provided, an execution will be created with this
|
||||
value. Otherwise the existing task count of the job is used. Use this
|
||||
flag to trigger multiple runs of the job.
|
||||
|
||||
--update-env-vars=[KEY=VALUE,...]
|
||||
List of key-value pairs to set as environment variables overrides for
|
||||
an execution of a job. If provided, an execution will be created with
|
||||
the merge result of the input values and the existing environment
|
||||
variables. New value overrides existing value if they have the same
|
||||
key. If not provided, existing environment variables are used.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--async
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue