Queries your service usages.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenest:ListServiceUsages |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| 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. This value is the NextToken value returned from the previous API call. |
AAAAAWns8w4MmhzeptXVRG0PUEU= |
| Filter |
array<object> |
No |
The filter. |
|
|
object |
No |
The filter. |
||
| Name |
string |
No |
The name of the filter. You can query by one or more names. Valid values:
|
ServiceId |
| Value |
array |
No |
A list of filter values. |
|
|
string |
No |
The filter values. You can specify up to 10 values. |
5 |
|
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
18AD0960-A9FE-1AC8-ADF8-22131Fxxxxxx |
| NextToken |
string |
A pagination token. It is returned when the results are not complete. To retrieve the next page of results, include this token in the NextToken parameter of the next request. |
AAAAAYChudnQUoBH+mGWFpb6oP0= |
| MaxResults |
integer |
The number of entries returned on each page. The maximum value is 100. The default value is 20. |
20 |
| TotalCount |
integer |
The total number of entries. |
1 |
| ServiceUsages |
array<object> |
The service usage details. |
|
|
array<object> |
The service usage details. |
||
| UserAliUid |
integer |
The Alibaba Cloud account ID of the user. |
127383705958xxxx |
| ServiceId |
string |
The service ID. |
service-c9f36ec6d19b4exxxxxx |
| ServiceName |
string |
The service name. |
Deployment link permission request |
| SupplierName |
string |
The name of the supplier. |
Acceptance testing |
| Status |
string |
The service status. Valid values:
|
Submitted |
| Comments |
string |
The remarks of the approval. |
Approved. |
| CreateTime |
string |
The time when the request was created. |
2022-05-25T02:02:02Z |
| UpdateTime |
string |
The time when the request was last updated. |
2022-05-25T02:02:02Z |
| UserInformation |
object |
The user information. |
|
|
string |
The user information. |
{ "ServiceId": "xxx", "EmailAddress": "email", "Company": "company", "Country": "country", "Telephone": "Applicant's phone number", "Name": "Applicant's name", "Title": "Applicant's title", "Industry": "Technology" } |
Examples
Success response
JSON format
{
"RequestId": "18AD0960-A9FE-1AC8-ADF8-22131Fxxxxxx",
"NextToken": "AAAAAYChudnQUoBH+mGWFpb6oP0=",
"MaxResults": 20,
"TotalCount": 1,
"ServiceUsages": [
{
"UserAliUid": 0,
"ServiceId": "service-c9f36ec6d19b4exxxxxx",
"ServiceName": "Deployment link permission request",
"SupplierName": "Acceptance testing",
"Status": "Submitted",
"Comments": "Approved.",
"CreateTime": "2022-05-25T02:02:02Z",
"UpdateTime": "2022-05-25T02:02:02Z",
"UserInformation": {
"key": "{\n \"ServiceId\": \"xxx\",\n \"EmailAddress\": \"email\",\n \"Company\": \"company\",\n \"Country\": \"country\",\n \"Telephone\": \"Applicant's phone number\",\n \"Name\": \"Applicant's name\",\n \"Title\": \"Applicant's title\",\n \"Industry\": \"Technology\"\n}"
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.