調用GetTopicInfluence擷取事件影響的基準執行個體列表。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| TopicId |
integer |
是 |
事件的 ID。 |
1234 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| HttpStatusCode |
integer |
HTTP 返回碼。 |
200 |
| RequestId |
string |
本次調用的唯一 ID。出現錯誤後,您可以根據該 ID 排查問題。 |
0000-ABCD-EFG**** |
| ErrorMessage |
string |
錯誤資訊。 |
The specified parameters are invalid. |
| ErrorCode |
string |
錯誤碼。 |
1031203110005 |
| Success |
boolean |
調用是否成功。 |
true |
| Data |
object |
事件影響的基準執行個體列表。 |
|
| TopicId |
integer |
事件的 ID。 |
1234 |
| Influences |
array<object> |
影響的基準執行個體列表。 |
|
|
object |
|||
| Status |
string |
基準的狀態,包括 ERROR(異常)、SAFE(安全)、DANGROUS(預警)和 OVER(破線)。 |
SAFE |
| Owner |
string |
基準責任人的阿里雲 UID。多個責任人之間使用英文逗號(,)分隔。 |
952795**** |
| BaselineName |
string |
基準的名稱。 |
Baseline name |
| BaselineId |
integer |
基準的 ID。 |
12345 |
| Bizdate |
integer |
基準執行個體的業務日期時間戳記。 |
1553356800000 |
| Buffer |
integer |
基準執行個體的餘量,單位為秒。 |
360 |
| ProjectId |
integer |
基準所在工作空間的 ID。 |
1234 |
| Priority |
integer |
基準的優先順序,取值範圍為{1,2,5,7,8}。 |
1 |
| InGroupId |
integer |
基準執行個體的周期號。Apsara Infrastructure Management Framework線為 1,小時基準的取值範圍為[1,24]。 |
1 |
樣本
正常返回樣本
JSON格式
{
"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
}
]
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 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. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。