Updates the information about a routing rule for an Alibaba Cloud Service Mesh (ASM) gateway.

Debugging

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 UpdateIstioRouteAdditionalStatus

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

ServiceMeshId String Yes c08ba3fd1e6484b0f8cc1ad8fe10d****

The ID of the ASM instance.

IstioGatewayName String No ingressgateway

The name of the ASM gateway.

RouteName String No http-test

The name of the routing rule.

Priority Integer No 0

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

Status Integer No 0

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.
Description String No demo route

The description of the routing rule.

Response parameters

Parameter Type Example Description
RequestId String BD65C0AD-D3C6-48D3-8D93-38D2015C****

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=UpdateIstioRouteAdditionalStatus
&ServiceMeshId=c08ba3fd1e6484b0f8cc1ad8fe10d****
&IstioGatewayName=ingressgateway
&RouteName=http-test
&Priority=0
&Status=0
&Description=demo route
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<UpdateIstioRouteAdditionalStatusResponse>
    <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>
</UpdateIstioRouteAdditionalStatusResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "BD65C0AD-D3C6-48D3-8D93-38D2015C****"
}

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.