list-tasks¶
- subtitle
Retrieves CLO maintenance tasks.
- version
0.9.159
Description¶
Retrieves CLO maintenance tasks for a given namespace.
list-tasks is a paginated operation. Multiple API calls may be issued in order to retrieve the entire data set of results. You can disable pagination by providing the --no-paginate argument.
Synopsis¶
list-tasks
--datahub-crn <value>
--namespace <value>
[--max-items <value>]
[--starting-token <value>]
[--page-size <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]
Options¶
--datahub-crn (string)
The CRN of the CLO Data Hub.
--namespace (string)
Namespace name to filter tasks.
--max-items (integer)
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
nextTokenwill be provided in the output that you can use to resume pagination. ThisnextTokenresponse element should not be used directly outside of the CDP CLI. This option cannnot be combined with theno-paginateCLI option. If no max-items value is specified, then a default value of 100 is used.
--starting-token (string)
A token to specify where to start paginating. This is the
nextTokenfrom a previously truncated response.
--page-size (integer)
The size of each page. Generally this does not need to be set and the default page size used is appropriate.
--cli-input-json (string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by
--generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.
--generate-cli-skeleton (boolean)
Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for
--cli-input-json.
Output¶
tasks -> (array)
The tasks list.
item -> (object)
Task metadata for a policy on a table.
status -> (string)
The task status. It can be INIT, SUBMITTED, COMPLETED, FAILED. Initially the task status would be INIT and transition to SUBMITTED after submitting to spark. Based on the spark execution it changed to COMPLETED, FAILED.
taskId -> (string)
Unique identified for task in UUID format.
policy -> (string)
The policy name.
catalog -> (string)
The catalog name.
namespace -> (string)
The namespace name.
table -> (string)
The table name.
createdAt -> (integer)
The task creation time in epoch milliseconds.
details -> (blob)
A base64 encoded version of task details json.
nextPageToken -> (string)
The token to use when requesting the next set of results. If not present, there are no additional results.
Form Factors¶
public