Updates the information about a routing rule 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 |
RouteName | string | No | The name of the routing rule. | http-test |
Priority | integer | No | The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority. | 0 |
Status | integer | No | 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. | 0 |
Description | string | No | The description of the routing rule. | demo route |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "BD65C0AD-D3C6-48D3-8D93-38D2015C****"
}
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.