All Products
Search
Document Center

DataWorks:ListRoutes

Last Updated:Dec 10, 2024

Queries a list of routes of a network resource.

Operation description

This API operation is available for all DataWorks editions.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

Successboolean

Indicates whether the request was successful.

true
RouteListarray<object>

The routes.

Dataobject

The information about the route.

NetworkIdlong

The network ID.

1000

Examples

Sample success responses

JSONformat

{
  "Success": true,
  "RouteList": [
    {
      "Id": 1000,
      "ResourceGroupId": "Serverless_res_group_524257424564736_6831777003XXXXX",
      "ResourceId": "ns-679XXXXXX",
      "DestinationCidr": "192.168.0.0/16",
      "CreateTime": 1727055811000,
      "NetworkId": 1000
    }
  ],
  "RequestId": "6A6CBE87-9F91-1323-B680-E7A7065XXXXX"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history