Queries a list of routes of a network resource.
Operation description
This API operation is available for all DataWorks editions.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ResourceGroupId | string | Yes | The ID of the resource group. | Serverless_res_group_524257424564736_6831777003XXXXX |
NetworkId | long | No | The network ID. | 1000 |
PageSize | integer | No | The number of entries per page. | 100 |
PageNumber | integer | No | The page number. | 1 |
SortBy | string | No | The fields used for sorting. Fields such as TriggerTime and StartedTime are supported. The value of this parameter is in the Sort field + Sort by (Desc/Asc) format. By default, results are sorted in ascending order. Valid values:
Default value: CreateTime Asc. | CreateTime Asc |
Response parameters
Examples
Sample success responses
JSON
format
{
"Success": true,
"PagingInfo": {
"RouteList": [
{
"Id": 1000,
"ResourceGroupId": "Serverless_res_group_524257424564736_6831777003****",
"ResourceId": "ns-679XXXXXX",
"DestinationCidr": "192.168.0.0/16",
"CreateTime": 1727055811000,
"NetworkId": 1000
}
],
"PageNumber": 1,
"PageSize": 100,
"TotalCount": 100
},
"RequestId": "6A6CBE87-9F91-1323-B680-E7A7065XXXXX"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2025-01-23 | The request parameters of the API has changed | View Change Details |
2025-01-02 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |