查看服务的诊断详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
GET /api/v2/services/{ClusterId}/{ServiceName}/diagnosis
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
ClusterId | string | 是 | 服务所在地域 ID。 | cn-shanghai |
ServiceName | string | 是 | 服务名称。 | foo |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "40325405-579C-4D82****",
"DiagnosisList": [
{
"Error": "Container worker0 failed to pull image.",
"Causes": [
"Failed to pull image \"busybox:no_exist_tag\": rpc error: code = NotFound."
],
"Advices": [
"Please make sure the container image exists."
]
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史