Diagnoses an Alibaba Cloud Service Mesh (ASM) instance.
Debugging
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:
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=RunDiagnosis
&ServiceMeshId=c08ba3fd1e6484b0f8cc1ad8fe10d****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<RunDiagnosisResponse>
<RequestId>777434B6-D296-5097-AC09-1DFFDDD0XXXX</RequestId>
<Result>done</Result>
</RunDiagnosisResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"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.