GetBaselineStatus
Retrieves the details of a baseline instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BaselineId |
integer |
Yes |
The ID of the baseline. |
1234 |
| Bizdate |
string |
Yes |
The business date in UTC format (yyyy-MM-dd'T'HH:mm:ssZ). |
2020-07-07T00:00:00+0800 |
| InGroupId |
integer |
Yes |
The cycle number of the baseline instance. The value is 1 for daily baselines. The value ranges from [1,24] for hourly baselines. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The unique ID of the request. You can use this ID to troubleshoot issues. |
0000-ABCD-EFG**** |
| ErrorMessage |
string |
The error message. |
The specified parameters are invalid. |
| ErrorCode |
string |
The error code. |
1031203110005 |
| Success |
boolean |
Indicates whether the call was successful. |
true |
| Data |
object |
The details of the baseline instance. |
|
| Status |
string |
The status of the baseline. Valid values: ERROR, SAFE, DANGROUS (warning), and OVER (exceeded). |
SAFE |
| Owner |
string |
The Alibaba Cloud UID of the baseline owner. Multiple owners are separated by commas (,). |
9527952795**** |
| FinishTime |
integer |
The completion timestamp of the baseline instance. This parameter is returned only when FinishStatus is FINISH. |
1553443200000 |
| ProjectId |
integer |
The ID of the workspace to which the baseline belongs. |
1234 |
| Priority |
integer |
The priority of the baseline. Valid values: 1, 2, 5, 7, and 8. |
1 |
| EndCast |
integer |
The estimated completion timestamp of the baseline instance. |
1553443200000 |
| InGroupId |
integer |
The cycle number of the baseline instance. The value is 1 for daily baselines. The value ranges from [1,24] for hourly baselines. |
1 |
| BaselineName |
string |
The name of the baseline. |
Baseline name |
| BaselineId |
integer |
The ID of the baseline. |
1234 |
| FinishStatus |
string |
Indicates whether the baseline instance is completed. Valid values: UNFINISH and FINISH. |
UNFINISH |
| Bizdate |
integer |
The business date timestamp. |
1553443200000 |
| Buffer |
number |
The buffer time of the baseline instance, in seconds. |
1200 |
| SlaTime |
integer |
The committed completion timestamp of the baseline instance. |
1553443200000 |
| ExpTime |
integer |
The warning timestamp of the baseline instance. |
1553443200000 |
| LastInstance |
object |
The information about the latest instance. |
|
| Status |
string |
The status of the instance. Valid values: NOT_RUN, WAIT_TIME, WAIT_RESOURCE, RUNNING, CHECKING, CHECKING_CONDITION, FAILURE, and SUCCESS. |
SUCCESS |
| Owner |
string |
The Alibaba Cloud UID of the node owner. |
9527952795**** |
| FinishTime |
integer |
The actual completion timestamp of the instance. |
1553443200000 |
| NodeName |
string |
The name of the node. |
Node name |
| ProjectId |
integer |
The ID of the workspace to which the node belongs. |
1234 |
| InstanceId |
integer |
The ID of the instance. |
12345 |
| EndCast |
integer |
The estimated completion timestamp of the instance. |
1553443200000 |
| NodeId |
integer |
The ID of the node. |
1234 |
| BlockInstance |
object |
The information about the critical instance. |
|
| Status |
string |
The status of the instance. Valid values: NOT_RUN, WAIT_TIME, WAIT_RESOURCE, RUNNING, CHECKING, CHECKING_CONDITION, FAILURE, and SUCCESS. |
SUCCESS |
| Owner |
string |
The Alibaba Cloud UID of the node owner. |
9527952795**** |
| FinishTime |
integer |
The actual completion timestamp of the instance. |
1553443200000 |
| NodeName |
string |
The name of the node. |
NodeName |
| ProjectId |
integer |
The ID of the workspace to which the node belongs. |
1234 |
| InstanceId |
integer |
The ID of the instance. |
12345 |
| EndCast |
integer |
The estimated completion timestamp of the instance. |
1553443200000 |
| NodeId |
integer |
The ID of the node. |
1234 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "0000-ABCD-EFG****",
"ErrorMessage": "The specified parameters are invalid.",
"ErrorCode": "1031203110005",
"Success": true,
"Data": {
"Status": "SAFE",
"Owner": "9527952795****",
"FinishTime": 1553443200000,
"ProjectId": 1234,
"Priority": 1,
"EndCast": 1553443200000,
"InGroupId": 1,
"BaselineName": "Baseline name",
"BaselineId": 1234,
"FinishStatus": "UNFINISH",
"Bizdate": 1553443200000,
"Buffer": 1200,
"SlaTime": 1553443200000,
"ExpTime": 1553443200000,
"LastInstance": {
"Status": "SUCCESS",
"Owner": "9527952795****",
"FinishTime": 1553443200000,
"NodeName": "Node name",
"ProjectId": 1234,
"InstanceId": 12345,
"EndCast": 1553443200000,
"NodeId": 1234
},
"BlockInstance": {
"Status": "SUCCESS",
"Owner": "9527952795****",
"FinishTime": 1553443200000,
"NodeName": "NodeName",
"ProjectId": 1234,
"InstanceId": 12345,
"EndCast": 1553443200000,
"NodeId": 1234
}
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | Forbidden.Not.Server | The dataworksAPI service is not available in this area. Please try it in another area. | |
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | No permission, please authorize |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 429 | Throttling.Api.Risk | The request for this resource has exceeded your daily available limit. | |
| 429 | Throttling.System | The DataWorks system is busy. Try again later. | |
| 429 | Throttling.User | Your request is too frequent. Try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.