All Products
Search
Document Center

DataWorks:ListNetworks

Last Updated:Mar 30, 2026

Retrieves a list of network resources for a serverless resource group.

Operation description

This API operation is available for all DataWorks editions.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ResourceGroupId

string

Yes

The ID of the resource group.

Serverless_res_group_524257424564736_6831777003XXXXX

PageSize

integer

No

The number of entries per page.

10

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:

  • Id (Desc/Asc): the network ID

  • Status (Desc/Asc): the network status

  • CreateUser (Desc/Asc): the user who created the network

  • CreateTime (Desc/Asc): the time when the network was created

Default value: CreateTime Asc.

CreateTime Asc

Response elements

Element

Type

Description

Example

object

The response parameters.

Success

boolean

Indicates whether the request was successful.

true

PagingInfo

object

The pagination information.

NetworkList

array<object>

The network resources of the serverless resource group.

object

The information about the network resource of the serverless resource group.

Id

integer

The network ID.

1000

ResourceGroupId

string

The ID of the serverless resource group.

Serverless_res_group_524257424564736_6831777003XXXXX

VpcId

string

The ID of the virtual private cloud (VPC).

vpc-m2et4f3oc8msfbccXXXXX

VswitchId

string

The VSwitch ID.

vsw-uf8usrhs7hjd9amsXXXXX

SecurityGroupId

string

The security group ID.

sg-2ze13vamugr7jenXXXXX

Status

string

The status of the network resource. Valid values: Pending, Creating, Running, Deleting, and Deleted.

Running

CreateUser

string

The ID of the user who creates the network resource.

11075500042XXXXX

CreateTime

integer

The time when the network resource was created. The value is a 64-bit timestamp.

1727055811000

PageNumber

integer

The page number.

1

PageSize

integer

The number of entries per page.

100

TotalCount

integer

The total number of entries returned.

100

RequestId

string

The ID of the request. It is used to locate logs and troubleshoot problems.

6A6CBE87-9F91-1323-B680-E7A7065XXXXX

Examples

Success response

JSON format

{
  "Success": true,
  "PagingInfo": {
    "NetworkList": [
      {
        "Id": 1000,
        "ResourceGroupId": "Serverless_res_group_524257424564736_6831777003XXXXX",
        "VpcId": "vpc-m2et4f3oc8msfbccXXXXX",
        "VswitchId": "vsw-uf8usrhs7hjd9amsXXXXX",
        "SecurityGroupId": "sg-2ze13vamugr7jenXXXXX",
        "Status": "Running",
        "CreateUser": "11075500042XXXXX",
        "CreateTime": 1727055811000
      }
    ],
    "PageNumber": 1,
    "PageSize": 100,
    "TotalCount": 100
  },
  "RequestId": "6A6CBE87-9F91-1323-B680-E7A7065XXXXX"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.