Queries the routing rules for an Alibaba Cloud Service Mesh (ASM) gateway.


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 DescribeIstioGatewayRoutes

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

ServiceMeshId String Yes c08ba3fd1e6484b0f8cc1ad8fe10d****

The ID of the ASM instance.

IstioGatewayName String No ingressgateway

The name of the ASM gateway.

Response parameters

Parameter Type Example Description
ManagementRoutes Array of managementRoute

The routing rules.

ASMGatewayName String ingressgateway

The name of the ASM gateway.

RouteName String http-route

The name of the routing rule.

RoutePath String /reviews/v1

The path that is used to match request URLs.

Status Integer 1

The status of the routing rule. Valid values:

  • 0: The routing rule is valid.
  • 1: The routing rule is invalid.
  • 2: An error occurs during the creation or update of the routing rule.
Priority Integer 1

The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority.

Description String demo route

The description of the routing rule.

RequestId String 31d3a0f0-07ed-4f6e-9004-1804498c****

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK

        <Description>demo route</Description>

JSON format

HTTP/1.1 200 OK

  "ManagementRoutes" : {
    "ASMGatewayName" : "ingressgateway",
    "RouteName" : "http-route",
    "RoutePath" : "/reviews/v1",
    "Status" : 1,
    "Priority" : 1,
    "Description" : "demo route"
  "RequestId" : "31d3a0f0-07ed-4f6e-9004-1804498c****"

Error codes

HTTP status code Error code Error message Description
500 ERR500 An internal server error occurred. The error message returned because a backend service error has occurred.

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