Viewing the Job List¶
Function¶
This API is used to query the job list in the logs of a cluster.
Debugging¶
You can debug this API in . Automatic authentication is supported.
URI¶
GET /v1.0/{project_id}/clusters/{cluster_id}/logs/records
Parameter | Mandatory | Type | Description |
---|---|---|---|
project_id | Yes | String | Project ID. For details, see Obtaining a Project ID and Name. |
cluster_id | Yes | String | ID of the cluster to be queried |
Request Parameters¶
None
Response Parameters¶
Status code: 200
Parameter | Type | Description |
---|---|---|
clusterLogRecord | Array of clusterLogRecord objects | Entity object of cluster log records |
Parameter | Type | Description |
---|---|---|
id | String | Log task ID, which is generated based on the system UUID. |
clusterId | String | Cluster ID |
createAt | String | Creation time. Format: Unix timestamp. |
logPath | String | Storage path of backup logs in the OBS bucket |
status | String | Task status. The value can be:
|
finishedAt | Long | End time. If the creation has not been completed, the end time is null. Format: Unix timestamp. |
jobTypes | String | Task type. The value can be:
|
failedMsg | String | Error message. If the task is not failed, the value of this parameter is null. |
jobId | String | Task ID |