All Products
Search
Document Center

Container Service for Kubernetes:GetClusterInspectReportDetail

Last Updated:Dec 22, 2025

Obtain the details of the inspection report for the cluster

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
cs:GetClusterInspectReportDetailget
*Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
    none
none

Request syntax

GET /clusters/{clusterId}/inspectReports/{reportId} HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
clusterIdstringYes

The ID of the cluster.

c82e6987e2961451182edacd74faf****
reportIdstringYes

The ID of the inspection report.

782df89346054a0000562063a****
languagestringNo

The query language.

  • zh_CN
  • en_US
zh_CN
categorystringNo

The category of the inspection item. Valid values:

  • security: Security compliance
  • performance: Performance efficiency
  • stability: Business stability
  • limitation: Service limits
  • cost: Cost optimization
cost
targetTypestringNo

The type of the inspection object. Only items that meet the targetType parameter are returned.

NodePool
levelstringNo

The level of the inspection item. Valid values:

  • advice: Suggestions
  • warning: Low severity
  • error: Medium severity
  • critical: High severity
error
enableFilterbooleanNo

Inspection results filtering. If this parameter is set to true, only abnormal inspection items are returned.

true
nextTokenstringNo

The token that is used to display the returned tags on multiple pages.

bb41e2bcb47b747389dce6c0d2
maxResultsintegerNo

The maximum number of entries per page. Maximum value: 50.

20

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

requestIdstring

The request ID.

49511F2D-D56A-5C24-B9AE-C8491E09B***
nextTokenstring

The token that is used to display the returned tags on multiple pages.

AK8uQQrxgFK8sbARvnCj6w9R3kPme4I3
reportIdstring

The ID of the inspection report.

782df89346054a0000562063a****
startTimestring

The start time of the inspection report.

2024-12-18T19:40:16.778333+08:00
endTimestring

The completion time of the inspection report.

2024-12-18T19:41:12.778433+08:00
statusstring

The status of the inspection report. Valid values:

  • completed: The inspection report is generated.
  • running: The inspection report is generating.
completed
summaryobject

Overview of inspection reports.

codestring

Check the status code of the inspection task.

warning
normalCountinteger

The number of check items whose inspection result is normal.

10
adviceCountinteger

The number of check items whose inspection result is advice.

0
warnCountinteger

The number of check items whose inspection result is warning.

1
errorCountinteger

The number of check items whose inspection result is error.

0
checkItemResultsarray<object>

The results.

checkItemResultsobject

The inspection result.

namestring

The name of the inspection item.

descriptionstring

The description of the inspection item.

fixstring

The fixing suggestion.

targetsarray

The inspection objects.

targetsstring

The inspection object.

lb-5tstgwefjvwe1zko7xxx
resultstring

The inspection results. Valid values:

  • true: The inspection item is abnormal.
  • false: The inspection item is normal.
  • disable: The inspection item is not enabled.
false
targetTypestring

The resource type of the inspection object.

CLB
checkItemUidstring

The unique identifier of the inspection item.

APIServerClbInstanceStatus
categorystring

The category of the inspection item. Valid values:

  • security: Security compliance
  • performance: Performance efficiency
  • stability: Business stability
  • limitation: Service limits
  • cost: Cost optimization
stability
levelstring

The level of the inspection item. Valid values:

  • advice: Suggestions
  • warning: Low severity
  • error: Medium severity
  • critical: High severity
critical

Examples

Sample success responses

JSONformat

{
  "requestId": "49511F2D-D56A-5C24-B9AE-C8491E09B***",
  "nextToken": "AK8uQQrxgFK8sbARvnCj6w9R3kPme4I3",
  "reportId": "782df89346054a0000562063a****",
  "startTime": "2024-12-18T19:40:16.778333+08:00",
  "endTime": "2024-12-18T19:41:12.778433+08:00",
  "status": "completed",
  "summary": {
    "code": "warning",
    "normalCount": 10,
    "adviceCount": 0,
    "warnCount": 1,
    "errorCount": 0
  },
  "checkItemResults": [
    {
      "name": "",
      "description": "",
      "fix": "",
      "targets": [
        "lb-5tstgwefjvwe1zko7xxx"
      ],
      "result": false,
      "targetType": "CLB",
      "checkItemUid": "APIServerClbInstanceStatus",
      "category": "stability",
      "level": "critical"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.