All Products
Search
Document Center

Cloud Control API:ListDataSources

Last Updated:Dec 11, 2025

This operation lists the possible values for resource properties, such as RegionId and ZoneId.

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 syntax

GET /api/v1/providers/{provider}/products/{product}/dataSources/* HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

requestPath

string

No

The URI of the request. The format is /api/v1/providers/{provider}/products/{product}/dataSources/{resourceType}.

The variables in the URI are described as follows:

Example for a Redis DBInstance:

/api/v1/providers/Aliyun/products/Redis/dataSources/DBInstance

resourceType: The resource type.

The following is an example:

Redis DB Instance: /api/v1/providers/Aliyun/products/Redis/dataSources/DBInstance

/api/v1/providers/Aliyun/products/Redis/dataSources/DBInstance

Request parameters

Parameter

Type

Required

Description

Example

attributeName

string

Yes

The name of the property. Currently, only RegionId is supported.

RegionId

filter

object

No

The filter condition. The value must be a JSON string in the {"key1":"value1"} format.

Response elements

Element

Type

Description

Example

object

The response structure.

dataSources

array<object>

The list of data.

object

The data.

id

string

The data ID.

cn-beijing

requestId

string

The request ID.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

Examples

Success response

JSON format

{
  "dataSources": [
    {
      "id": "cn-beijing"
    }
  ],
  "requestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.