This operation lists the possible values for resource properties, such as RegionId and ZoneId.
Try it now
Test
RAM authorization
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:
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.