All Products
Search
Document Center

Platform For AI:ListDiagnosticResults

Last Updated:Jul 25, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

List of Diagnostic Tasks

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
eflo:ListDiagnosticResultsget
*Cluster
acs:eflo:{#regionId}:{#accountId}:cluster/*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
NextTokenstringNo

NextToken for the next page. Include this value when requesting the next page.

a3f2224a5ec7224116c4f5246120abe4
MaxResultslongNo

Number of items per page in a paginated query. The maximum value is 100.

Default value:

  • If no value is set or the set value is less than 20, the default value is 20.
  • If the set value is greater than 100, the default value is 100.
20
DiagTypestringNo

Type of diagnosis, indicating which diagnostic rules are hit.

NetDiag
ResourceGroupIdstringNo

The resource group ID.

rg-acfmywpvugkh7kq

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

AC4F0004-7BCE-52E0-891B-CAC7D64E3368
DiagnosticResultsarray<object>

The diagnostic information.

DiagnosticResultsobject

The diagnostic information.

DiagContentstring

Diagnostic content. For example, in network diagnostics, there are static configuration checks, dynamic operation checks, and other diagnostic contents.

diagcontent
ResourceIdstring

The resource ID.

e01-cn-bl03ofg6206
ClusterIdstring

The cluster ID.

i118578141694745246055
DiagIdstring

Diagnosis ID

123
Statusstring

Status of the diagnostic task. Possible values:

  • InProgress: Diagnosing.
  • Finished: Diagnosis completed.
  • Failed: Diagnosis failed.
succeed
CreationTimestring

Creation time of the diagnostic task.

2024-01-15T02:01:12Z
FinishedTimestring

Completion time of the diagnostic task.

2024-10-16T02:04Z
DiagResultstring

Diagnostic result, either success or failure.

Success
ServerNamestring

Server name.

proxy-rps.mos.csvw.com
ClusterNamestring

Cluster Name

pjlab-lingjun
NextTokenstring

NextToken for the next page. Include this value when requesting the next page.

a3f2224a5ec7224116c4f5246120abe4
MaxResultslong

Number of items per page in a paginated query. The maximum value is 100.

Default value:

  • If no value is set or the set value is less than 20, the default value is 20.
  • If the set value is greater than 100, the default value is 100.
20

Examples

Sample success responses

JSONformat

{
  "RequestId": "AC4F0004-7BCE-52E0-891B-CAC7D64E3368",
  "DiagnosticResults": [
    {
      "DiagContent": "diagcontent",
      "ResourceId": "e01-cn-bl03ofg6206",
      "ClusterId": "i118578141694745246055",
      "DiagId": 123,
      "Status": "succeed",
      "CreationTime": "2024-01-15T02:01:12Z",
      "FinishedTime": "2024-10-16T02:04Z",
      "DiagResult": "Success",
      "ServerName": "proxy-rps.mos.csvw.com",
      "ClusterName": "pjlab-lingjun"
    }
  ],
  "NextToken": "a3f2224a5ec7224116c4f5246120abe4",
  "MaxResults": 20
}

Error codes

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