Membuat kueri instance baseline yang terpengaruh oleh suatu acara.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TopicId |
integer |
Yes |
ID acara. |
1234 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
Kode status HTTP yang dikembalikan. |
200 |
| RequestId |
string |
ID permintaan. Anda dapat menggunakan ID untuk memecahkan masalah. |
0000-ABCD-EFG**** |
| ErrorMessage |
string |
Pesan kesalahan yang dikembalikan. |
The specified parameters are invalid. |
| ErrorCode |
string |
Kode kesalahan yang dikembalikan. |
1031203110005 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. |
true |
| Data |
object |
Data yang dikembalikan. |
|
| TopicId |
integer |
ID acara. |
1234 |
| Influences |
array<object> |
Instance baseline yang terpengaruh. |
|
|
object |
|||
| Status |
string |
The status of the baseline. Valid values: ERROR, SAFE, DANGROUS, and OVER. The value ERROR indicates that no nodes are associated with the baseline, or all nodes associated with the baseline are suspended. The value SAFE indicates that nodes are run before the alert duration begins. The value DANGROUS indicates that nodes are still running after the alert duration ends but the committed time does not arrive. The value OVER indicates that nodes are still running after the committed time. |
SAFE |
| Owner |
string |
The ID of the Alibaba Cloud account used by the baseline owner. Multiple IDs are separated by commas (,). |
952795**** |
| BaselineName |
string |
The name of the baseline. |
Baseline name |
| BaselineId |
integer |
The ID of the baseline. |
12345 |
| Bizdate |
integer |
The data timestamp of the baseline instance. |
1553356800000 |
| Buffer |
integer |
The margin of the baseline instance. Unit: seconds. |
360 |
| 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 |
| InGroupId |
integer |
The ID of the cycle of the baseline instance. For a baseline instance that is scheduled by day, the field value is 1. For a baseline instance that is scheduled by hour, the field value ranges from 1 to 24. |
1 |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"RequestId": "0000-ABCD-EFG****",
"ErrorMessage": "The specified parameters are invalid.",
"ErrorCode": "1031203110005",
"Success": true,
"Data": {
"TopicId": 1234,
"Influences": [
{
"Status": "SAFE",
"Owner": "952795****",
"BaselineName": "Baseline name",
"BaselineId": 12345,
"Bizdate": 1553356800000,
"Buffer": 360,
"ProjectId": 1234,
"Priority": 1,
"InGroupId": 1
}
]
}
}
Kode kesalahan
|
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. | |
| 500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 500 | InternalError.Wkbench.ServiceError | An internal error occurred. | |
| 500 | Invalid.Wkbench.Parameter | The specified parameters are invalid. | |
| 500 | Invalid.Wkbench.TopicNotExist | The topic does not exist. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | |
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.