describe-job-definitions

Description

Get information of training definitions. By specifying a job-definition name, only the information for the job-definition can be obtained.

Synopsis

$ abeja training describe-job-definitions --help
Usage: abeja training describe-job-definitions [OPTIONS]

  Gets information of job definition. Lists definitions if job-definition-
  name is not give

Options:
  -j, --job_definition_name, --job-definition-name TEXT
                                  Training job definition name
  --include-archived              Includes archived job definitions.
  -l, --limit INTEGER             Number of pagings
  -o, --offset INTEGER            Paging start index
  --help                          Show this message and exit.

Option

-j, --job_definition_name, --job-definition-name Specify the job-definition name for which you want to get information.

--include-archived

Includes archived training definitions when listing training definitions. Archived training definitions are excluded when this option is not given.

-l, --limit

Specify number of items for paging.

-o, --offset

Specify start index of paging.

Example

Getting the training definitions information

Command:

$ abeja training describe-job-definitions

Output:

{
  "entries": [
    {
      "organization_id": 1200123565071,
      "job_definition_id": 1417943358413,
      "name": "test_job_definition",
      "version_count": 1,
      "created_at": "2018-04-18T09:26:21.107Z",
      "modified_at": "2018-04-18T09:26:21.107Z"
    }
  ]
}