文档

DescribeServiceInstanceDiagnosis - 查看服务实例诊断详情

更新时间:

查看服务实例的诊断详情。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

GET /api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/diagnosis

请求参数

名称类型必填描述示例值
ClusterIdstring

服务所在地域 ID。

cn-shanghai
ServiceNamestring

服务的名称。

foo
InstanceNamestring

服务实例的名称。

foo-69xxxx4f4-5w9r9

返回参数

名称类型描述示例值
object

返回结果。

RequestIdstring

请求 ID。

40325405-579C-4D82***
Diagnosisobject

诊断信息。

Errorstring

识别到的异常。

Container worker0 failed to pull image.
Causesarray

异常原因列表。

string

异常原因。

Failed to pull image "busybox:no_exist_tag": rpc error: code = NotFound.
Advicesarray

修复建议列表。

string

修复建议。

Please make sure the container image exists.

示例

正常返回示例

JSON格式

{
  "RequestId": "40325405-579C-4D82***",
  "Diagnosis": {
    "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."
    ]
  }
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (1)
文档反馈