Queries the valid values of resource attributes, such as RegionID and ZoneId.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/providers/{provider}/products/{product}/dataSources/* HTTP/1.1Path Parameters
Parameter | Type | Required | Description | Example |
requestPath | string | No | The URL of the request. The format is /api/v1/providers/{provider}/products/{product}/dataSources/{resourceType}. The variables in the URL are described as follows: provider: The cloud service provider. Only product: The product code. resourceType: The resource type. Example for a Redis DBInstance:
| /api/v1/providers/Aliyun/products/Redis/dataSources/DBInstance |
Request parameters
Parameter | Type | Required | Description | Example |
attributeName | string | Yes | The name of the attribute. Only | 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 parameters. | ||
| 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.