Lists the supported services.
Operation description
GET /api/v1/providers/{provider}/products.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/providers/{provider}/products HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| provider |
string |
Yes |
The Cloud service provider. Only Aliyun is supported. |
Aliyun |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| x-acs-accept-language |
string |
No |
The language of the response. zh_CH: Chinese (default). en_US: English. Valid values:
|
zh_CH |
| nextToken |
string |
No |
The pagination token for retrieving the next page of results. If empty, the query starts from the beginning. |
ECS |
| maxResults |
integer |
No |
The number of entries per page. Maximum value: 100. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| maxResults |
integer |
The maximum number of entries returned. |
10 |
| nextToken |
string |
A pagination token for retrieving the next page of results. If NextToken is empty, no next page exists. |
Redis |
| products |
array<object> |
The cloud services. |
|
|
object |
The service information. |
||
| productCode |
string |
The service code. |
ECS |
| productName |
string |
The service name. |
Elastic Compute Service |
| requestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
| totalCount |
integer |
The total number of entries returned. |
20 |
Examples
Success response
JSON format
{
"maxResults": 10,
"nextToken": "Redis",
"products": [
{
"productCode": "ECS",
"productName": "Elastic Compute Service"
}
],
"requestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"totalCount": 20
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.