Queries the information about a route based on its ID.
Operation description
This API operation is available for all DataWorks editions.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
The route ID. |
1000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Route |
object |
The information about the route. |
|
| Id |
integer |
The route ID. |
1000 |
| ResourceGroupId |
string |
The resource group ID. |
Serverless_res_group_524257424564736_6831777003XXXXX |
| ResourceId |
string |
The network resource ID. |
ns-679XXXXX |
| DestinationCidr |
string |
The CIDR block of the destination-based route. |
192.168.0.0/16 |
| CreateTime |
integer |
The time when the route was created. The value is a 64-bit timestamp. |
1727055811000 |
| NetworkId |
integer |
The network ID. |
1000 |
| RequestId |
string |
The request ID. |
6A6CBE87-9F91-1323-B680-E7A7065XXXXX |
Examples
Success response
JSON format
{
"Success": true,
"Route": {
"Id": 1000,
"ResourceGroupId": "Serverless_res_group_524257424564736_6831777****",
"ResourceId": "ns-679XXXXX",
"DestinationCidr": "192.168.0.0/16",
"CreateTime": 1727055811000,
"NetworkId": 1000
},
"RequestId": "6A6CBE87-9F91-1323-B680-E7A7065XXXXX"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.