Diagnoses an Alibaba Cloud Service Mesh (ASM) instance.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes RunDiagnosis

The operation that you want to perform. Set the value to RunDiagnosis.

ServiceMeshId String Yes c08ba3fd1e6484b0f8cc1ad8fe10d****

The ID of the ASM instance.

Response parameters

Parameter Type Example Description
RequestId String 777434B6-D296-5097-AC09-1DFFDDD0XXXX

The ID of the request.

Result String done

The status of the diagnostics. Valid values:

  • failed: The diagnostics of the ASM instance fails.
  • done: The diagnostics of the ASM instance is complete.
  • inprogress: The ASM instance is being diagnosed.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "777434B6-D296-5097-AC09-1DFFDDD0XXXX",
  "Result" : "done"

Error codes

HTTP status code Error code Error message Description
404 ERR404 Not found The error message returned because the requested resource does not exist.

For a list of error codes, visit the API Error Center.