Queries the cloud services and resource types that are supported by Cloud Config.
Operation description
This topic provides an example on how to query the Alibaba Cloud services and resource types supported by a Cloud Config.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NextToken |
string |
No |
The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken. |
D3AjqMNSy0ls7zBNCf3a**** |
| MaxResults |
integer |
No |
The maximum number of entries to return in a request. Valid values: 1 to 500. Default value: 200. |
200 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Products |
array<object> |
The cloud services that are supported by Cloud Config. |
|
|
array<object> |
|||
| ProductNameEn |
string |
The English name of the Alibaba Cloud service. |
Elastic Compute Service |
| ResourceTypeList |
array<object> |
The resource types that are supported by Cloud Config. |
|
|
object |
|||
| ResourceType |
string |
The identifier of the resource type. |
ACS::ECS::Instance |
| TypeNameEn |
string |
The English name of the resource type. |
Ecs Instance |
| TypeNameZh |
string |
The Chinese name of the resource type. |
ECS实例 |
| TypePageLink |
string |
The URL of the resource type in the console. |
https://ecs.console.alibabacloud.com/#/server/@{ResourceId}/detail?regionId=@{RegionId} |
| ProductNameZh |
string |
The Chinese name of the Alibaba Cloud service. |
云服务器ECS |
| RequestId |
string |
The request ID. |
610B0276-ABEE-57DF-9C13-C2415FADA7D6 |
| NextToken |
string |
A pagination token. It can be used in the next request to retrieve a new page of results. |
D99AjqMNSy0ls7zBNCfcs**** |
| MaxResults |
string |
The maximum number of entries to return for a single request. Valid values: 1 to 500. |
200 |
Examples
Success response
JSON format
{
"Products": [
{
"ProductNameEn": "Elastic Compute Service",
"ResourceTypeList": [
{
"ResourceType": "ACS::ECS::Instance",
"TypeNameEn": "Ecs Instance",
"TypeNameZh": "ECS实例",
"TypePageLink": "https://ecs.console.alibabacloud.com/#/server/@{ResourceId}/detail?regionId=@{RegionId}"
}
],
"ProductNameZh": "云服务器ECS"
}
],
"RequestId": "610B0276-ABEE-57DF-9C13-C2415FADA7D6",
"NextToken": "D99AjqMNSy0ls7zBNCfcs****",
"MaxResults": "200"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | The request has failed due to a temporary failure of the server. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.