Jobs

1. List Jobs

Retrieves a list of template jobs for a given tenant. ID in the output is referred as Template Job ID

Syntax
(.venv)$ corestack jobs-list

Parameters

Attributes Description
Limit Optional.Limits the number of template jobs that can be retrieved
page_number Optional.Page number of the template jobs list to be retrieved

Sample Output

2. View Job

Retrieves a Template Job by its ID. Template Job ID can be fetched from the output of jobs-list command. Job Created Time, Status etc., will be available as output

Syntax
(.venv)$ corestack job-show <job_id>

Parameters

Attributes Description
job_id Required.ID of the Template Job to be retrieved

Sample Output

3. Rerun Job

Re-run a Template Job by its ID. Template Job ID will be available as output when this command is executed

Syntax
(.venv)$ corestack job-rerun <job_id> <body>

Parameters

Attributes Description
job_id Required.ID of the Template Job to be reran
body Required. JSON content with the needed inputs to rerun the template

Sample Output