mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Sep 14 09:28:28 UTC 2022
This commit is contained in:
parent
e7bec9b31b
commit
8f4214beb2
148 changed files with 5778 additions and 334 deletions
|
|
@ -27,7 +27,7 @@ COMMANDS
|
|||
(BETA) Show details of a task.
|
||||
|
||||
list
|
||||
(BETA) List tasks for a specified Batch task_group.
|
||||
(BETA) List tasks for a specified Batch job.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
|
|
|
|||
|
|
@ -1,54 +1,50 @@
|
|||
NAME
|
||||
gcloud beta batch tasks list - list tasks for a specified Batch task_group
|
||||
gcloud beta batch tasks list - list tasks for a specified Batch job
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta batch tasks list (TASK_GROUP : --job=JOB --location=LOCATION)
|
||||
gcloud beta batch tasks list (--job=JOB : --location=LOCATION)
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command can fail for the following reasons:
|
||||
▪ The task_group specified does not exist.
|
||||
▪ The active account does not have permission to access the given
|
||||
task_group.
|
||||
(BETA) Currently, since Batch only supports one taskGroup, group0, the
|
||||
command takes --job as the required argument and will list all tasks in
|
||||
group0 of the job.
|
||||
|
||||
This command can fail for the following reasons:
|
||||
▪ The job specified does not exist.
|
||||
▪ The active account does not have permission to access the given job
|
||||
|
||||
EXAMPLES
|
||||
To print all tasks under the task_group with name
|
||||
projects/foo/locations/us-central1/jobs/bar/taskGroups/group0, run:
|
||||
To print all tasks in the group0 of job with name
|
||||
projects/foo/locations/us-central1/jobs/bar, run:
|
||||
|
||||
$ gcloud beta batch tasks list \
|
||||
projects/foo/locations/us-central1/jobs/bar/taskGroups/group0
|
||||
projects/foo/locations/us-central1/jobs/bar
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Task group resource - The Batch task_group resource. The arguments in this
|
||||
group can be used to specify the attributes of this 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 TASK_GROUP on the command line with a fully
|
||||
specified name;
|
||||
REQUIRED FLAGS
|
||||
Job resource - The Batch job resource. The arguments in this group can be
|
||||
used to specify the attributes of this 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 --job 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.
|
||||
|
||||
TASK_GROUP
|
||||
ID of the task_group or fully qualified identifier for the
|
||||
task_group. To set the task_group attribute:
|
||||
▸ provide the argument TASK_GROUP on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--job=JOB
|
||||
The job ID for the task_group. To set the job attribute:
|
||||
▸ provide the argument TASK_GROUP on the command line with a fully
|
||||
specified name;
|
||||
ID of the job or fully qualified identifier for the job. To set the
|
||||
job attribute:
|
||||
▸ provide the argument --job on the command line.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Google Cloud location for the task_group. To set the location
|
||||
attribute:
|
||||
▸ provide the argument TASK_GROUP on the command line with a fully
|
||||
Google Cloud location for the job. To set the location attribute:
|
||||
▸ provide the argument --job on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue