Queries the routing rules for a Service Mesh (ASM) gateway.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ServiceMeshId | string | Yes | The ASM instance ID. | c08ba3fd1e6484b0f8cc1ad8fe10d**** |
IstioGatewayName | string | No | The name of the ASM gateway. | ingressgateway |
Response parameters
Examples
Sample success responses
JSON
format
{
"ManagementRoutes": [
{
"ASMGatewayName": "ingressgateway",
"RouteName": "http-route",
"RoutePath": "/reviews/v1",
"Status": 1,
"Priority": 1,
"Description": "demo route",
"Namespace": "istio-demo",
"DestinationHost": [
"test.asm.aliyun.com"
],
"DestinationSubSet": [
"v1"
]
}
],
"RequestId": "31d3a0f0-07ed-4f6e-9004-1804498c****"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
500 | ERR500 | An internal server error occurred. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||
---|---|---|---|---|---|---|---|---|
2022-08-25 | The Error code has changed. The response structure of the API has changed | see changesets | ||||||
|