获取实例的健康诊断结果
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
POST /webapi/diagnosis/describe HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| PageNumber |
integer |
否 |
分页查询时的页码。默认值是 1。 |
3 |
| PageSize |
integer |
否 |
分页查询时每页展示的授权条目数。默认值为 10,最大值为 50。 |
10 |
| InstanceId |
string |
否 |
实例 ID。 |
c-b25e21e24388**** |
| Dimension |
string |
否 |
评估维度。 |
table_analysis |
| Statuses |
string |
否 |
状态集合。 |
healthy |
| ReportDate |
string |
否 |
报告时间。 |
2026-03-08 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| HttpStatusCode |
integer |
HTTP 请求状态码。 |
200 |
| RequestId |
string |
请求 ID。 |
32A44F0D-BFF6-5664-999A-218BBDE74XXX |
| Success |
boolean |
请求是否成功。 |
false |
| ErrCode |
string |
错误码。 |
InvalidParams |
| ErrMessage |
string |
错误信息。 |
Invalid params: [instance not exists]. |
| Total |
integer |
查询结果总数。 |
3 |
| AccessDeniedDetail |
string |
AccessDeniedDetail |
{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" } |
| Data |
array<object> |
返回数据。 |
|
|
object |
返回数据。 |
||
| Dimension |
string |
评估维度。 |
table_analysis |
| ItemId |
string |
评估项 ID。 |
02cf887a |
| ItemName |
string |
评估项名称。 |
评估分区分桶不合理 |
| Introduction |
string |
评估项介绍。 |
for autotest |
| FullScore |
number |
评估项目满分。 |
10.0 |
| InstanceId |
string |
实例 ID。 |
c-b25e21e243889XXX |
| EvaluationTime |
integer |
评估时间。 |
2026-03-08T02:12:32Z |
| Status |
string |
状态列表。
|
healthy |
| Description |
string |
诊断项描述。 |
评估分区分桶不合理 |
| Score |
number |
诊断分数。 |
10.0 |
| Suggestion |
string |
诊断建议。 |
未出现分桶大小超过5GB的情况,评估结果为健康。 |
| BestPractice |
string |
最佳实践。 |
无 |
| ReportDate |
string |
报告日期 |
2026-03-08 |
示例
正常返回示例
JSON格式
{
"HttpStatusCode": 200,
"RequestId": "32A44F0D-BFF6-5664-999A-218BBDE74XXX\n",
"Success": false,
"ErrCode": "InvalidParams",
"ErrMessage": "Invalid params: [instance not exists].",
"Total": 3,
"AccessDeniedDetail": "{ \"PolicyType\": \"AccountLevelIdentityBasedPolicy\", \"AuthPrincipalOwnerId\": \"xxx\", \"EncodedDiagnosticMessage\": \"xxx\", \"AuthPrincipalType\": \"xxx\", \"AuthPrincipalDisplayName\": \"xxx\", \"NoPermissionType\": \"ImplicitDeny\", \"AuthAction\": \"sr:xxx\" }",
"Data": [
{
"Dimension": "table_analysis",
"ItemId": "02cf887a",
"ItemName": "评估分区分桶不合理",
"Introduction": "for autotest",
"FullScore": 10,
"InstanceId": "c-b25e21e243889XXX",
"EvaluationTime": 0,
"Status": "healthy",
"Description": "评估分区分桶不合理",
"Score": 10,
"Suggestion": "未出现分桶大小超过5GB的情况,评估结果为健康。",
"BestPractice": "无",
"ReportDate": "2026-03-08"
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。