Queries information about your services.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenest:ListServices |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| MaxResults |
integer |
No |
The number of entries to return on each page. Maximum value: 100. Default value: 20. |
20 |
| NextToken |
string |
No |
The token that is used to retrieve the next page of results. Set this to the NextToken value returned from the previous API call. |
BBBAAfu+XtuBE55iRLHEYYuojI4= |
| Filter |
array<object> |
No |
The filter. |
|
|
object |
No |
The filter. |
||
| Value |
array |
No |
The filter values. |
|
|
string |
No |
The filter values. The value of N can be from 1 to 10. |
1 |
|
| Name |
string |
No |
The filter name. You can specify one or more filter names to query services. Valid values:
|
Status |
| InUsed |
boolean |
No |
Specifies whether the service is in use. Valid values:
|
false |
| Tag |
array<object> |
No |
The custom tags. |
|
|
object |
No |
The custom tags. |
||
| Key |
string |
No |
The tag key. |
key1 |
| Value |
string |
No |
The tag value. |
value1 |
| FuzzyKeyword |
string |
No |
The keyword for a fuzzy query. |
name |
| ServiceAccessType |
string |
No |
The service access type. |
All |
| OrderByType |
string |
No |
The sorting type for services. |
UpdateTime |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The token for the next query. |
AAAAAfu+XtuBE55iRLHEYYuojI41 |
| RequestId |
string |
The request ID. |
3F976EF8-C10A-57DC-917C-BB7BEB508FFB |
| TotalCount |
integer |
The total number of results. |
1 |
| MaxResults |
integer |
The number of entries returned per page. Maximum value: 100. Default value: 20. |
20 |
| Services |
array<object> |
The list of services. |
|
|
object |
The list of services. |
||
| Status |
string |
The service status. Valid values:
|
Online |
| PublishTime |
string |
The time when the service was published. |
2022-01-21T10:35:44Z |
| Version |
string |
The service version. |
4 |
| DeployType |
string |
The deployment type. Valid values:
|
ros |
| ServiceId |
string |
The service ID. |
service-6b5d632edd394dxxxxxx |
| SupplierUrl |
string |
The service provider's URL. |
http://example.com |
| ServiceType |
string |
The service type. Valid values:
|
private |
| SupplierName |
string |
The service provider name. |
ACo., Ltd. |
| ServiceInfos |
array<object> |
The service information. |
|
|
object |
The service information. |
||
| Locale |
string |
The language of the service configuration. Valid values:
|
zh-CN |
| Image |
string |
The URL of the service icon. |
http://img.tidb.oss.url |
| Name |
string |
The service name. |
Bdatabase |
| ShortDescription |
string |
The service overview. |
Bis an open-source distributed relational database independently designed and developed |
| Softwares |
array<object> |
The software information of the service. |
|
|
object |
The software information of the service. |
||
| Name |
string |
The software name. |
wordpress |
| Version |
string |
The software version. |
6.0.1 |
| CommodityCode |
string |
The commodity code of the service in Alibaba Cloud Marketplace. |
cmjj00xxxx |
| ServiceProductUrl |
string |
The URL of the product page. |
http://example1.com |
| Categories |
string |
The category of the data disk. Valid values:
|
cloud_ssd |
| VersionName |
string |
The custom version name defined by the service provider. |
v2.0.0 |
| DeployFrom |
string |
The deployment source of the service. Valid values:
|
ComputeNest |
| Score |
integer |
The service score. |
5 |
| Tags |
array<object> |
The service tags. |
|
|
object |
The service tags. |
||
| Key |
string |
The tag key. |
key1 |
| Value |
string |
The tag value. |
value1 |
| TrialDuration |
string |
The trial duration. Unit: days. The maximum trial duration is 30 days. |
7 |
| TrialType |
string |
The trial type. Valid values:
|
Trial |
| TenantType |
string |
The tenant type. Valid values:
|
SingleTenant |
| VirtualInternetService |
string |
Indicates whether the service is a virtual Internet service. Valid values:
|
false |
| SupplierUid |
integer |
The Alibaba Cloud account ID of the service provider. |
1436322xxxxx |
| Commodity |
object |
The commodity specifications. |
|
| DeployPage |
string |
The deployment page. |
Order: Order page Detail: Details page |
| CommodityCode |
string |
The commodity specification code. |
cmjj00**** |
| SupplierNameEng |
string |
The English name of the service provider. |
Alibaba Cloud |
| ServiceLocaleConfigs |
array<object> |
The multi-language configurations of the service. |
|
|
object |
The multi-language configurations of the service. |
||
| OriginalValue |
string |
The raw data value of the business information. |
Service Name |
| ZhValue |
string |
The Chinese value of the business information. |
服务名称 |
| EnValue |
string |
The English value of the business information. |
Service Name |
Examples
Success response
JSON format
{
"NextToken": "AAAAAfu+XtuBE55iRLHEYYuojI41",
"RequestId": "3F976EF8-C10A-57DC-917C-BB7BEB508FFB",
"TotalCount": 1,
"MaxResults": 20,
"Services": [
{
"Status": "Online",
"PublishTime": "2022-01-21T10:35:44Z",
"Version": "4",
"DeployType": "ros",
"ServiceId": "service-6b5d632edd394dxxxxxx",
"SupplierUrl": "http://example.com",
"ServiceType": "private",
"SupplierName": "ACo., Ltd.",
"ServiceInfos": [
{
"Locale": "zh-CN",
"Image": "http://img.tidb.oss.url",
"Name": "Bdatabase",
"ShortDescription": "Bis an open-source distributed relational database independently designed and developed",
"Softwares": [
{
"Name": "wordpress",
"Version": "6.0.1"
}
]
}
],
"CommodityCode": "cmjj00xxxx",
"ServiceProductUrl": "http://example1.com",
"Categories": "cloud_ssd",
"VersionName": "v2.0.0",
"DeployFrom": "ComputeNest",
"Score": 5,
"Tags": [
{
"Key": "key1",
"Value": "value1"
}
],
"TrialDuration": "7",
"TrialType": "Trial",
"TenantType": "SingleTenant",
"VirtualInternetService": "false",
"SupplierUid": 0,
"Commodity": {
"DeployPage": "Order: Order page\nDetail: Details page",
"CommodityCode": "cmjj00****\n\n"
},
"SupplierNameEng": "Alibaba Cloud",
"ServiceLocaleConfigs": [
{
"OriginalValue": "Service Name\n",
"ZhValue": "服务名称",
"EnValue": "Service Name\n"
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.