Queries conflicting routes in a network instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | DescribeRouteConflict |
The operation that you want to perform. Set the value to DescribeRouteConflict. |
ChildInstanceId | String | Yes | vpc-bp18sth14qii3pn**** |
The ID of the network instance to which the conflicting routes belong. |
ChildInstanceRegionId | String | Yes | cn-hangzhou |
The ID of the region where the network instance is created. |
ChildInstanceRouteTableId | String | Yes | vtb-bp174d1gje79u1g4t**** |
The ID of the route table to which the conflicting routes belong. |
ChildInstanceType | String | Yes | VBR |
The type of the network instance. Valid values:
|
PageNumber | Integer | No | 1 |
The number of the page to return. Default value: 1. |
PageSize | Integer | No | 2 |
The number of entries to return on each page. Valid values: 1 to 50. Default value: 10. |
DestinationCidrBlock | String | No | 172.16.XX.XX/24 |
The destination CIDR block of the conflicting route. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
PageNumber | Integer | 1 |
The number of the returned page. |
PageSize | Integer | 1 |
The number of entries returned per page. |
RequestId | String | B6C11547-2D56-4EEC-A8D5-FDC5A53E53D0 |
The ID of the request. |
RouteConflicts | Array |
Detailed information about the conflicting routes. |
|
RouteConflict | |||
DestinationCidrBlock | String | 172.16.XX.XX/24 |
The destination CIDR block of the route. |
InstanceId | String | vbr-bp174d1gje79u1**** |
The ID of the network instance. |
InstanceType | String | VBR |
The type of the network instance. Valid values:
|
RegionId | String | cn-hangzhou |
The ID of the region. |
Status | String | conflict |
The cause of the route error. Valid values:
|
TotalCount | Integer | 2 |
The total number of entries returned. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeRouteConflict
&ChildInstanceId=vpc-bp18sth14qii3pn****
&ChildInstanceRegionId=cn-hangzhou
&ChildInstanceRouteTableId=vtb-bp174d1gje79u1g4t****
&ChildInstanceType=VBR
&<Common request parameters>
Sample success responses
XML
format
<DescribeRouteConflictResponse>
<PageNumber>1</PageNumber>
<PageSize>10</PageSize>
<RequestId>B6C11547-2D56-4EEC-A8D5-FDC5A53E53D0</RequestId>
<RouteConflicts>
<RouteConflict></RouteConflict>
</RouteConflicts>
<TotalCount>0</TotalCount>
</DescribeRouteConflictResponse>
JSON
format
{
"PageNumber": 1,
"TotalCount": 0,
"PageSize": 10,
"RequestId": "B6C11547-2D56-4EEC-A8D5-FDC5A53E53D0",
"RouteConflicts": {
"RouteConflict": []
}
}
Error codes
For a list of error codes, visit the API Error Center.