Queries the usage of your services.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenestsupplier: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. The maximum value is 100. The default value is 20. |
20 |
| NextToken |
string |
No |
The token that is used to retrieve the next page of results. You can obtain this token from the NextToken parameter in the response to the previous request. |
AAAAAWns8w4MmhzeptXVRG0PUEU= |
| Filter |
array<object> |
No |
The filter. |
|
|
object |
No |
The filter. |
||
| Name |
string |
No |
The filter name. You can query by one or more names. Valid values:
|
ServiceId |
| Value |
array |
No |
The filter values. You can specify 1 to 10 values. |
|
|
string |
No |
The filter values. You can specify 1 to 10 values. |
5 |
|
| SupplierRole |
string |
No |
The supplier role. |
Supplier |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
18AD0960-A9FE-1AC8-ADF8-22131Fxxxxxx |
| NextToken |
string |
The token to retrieve the next page of results. If this parameter is not empty, more results can be retrieved. |
AAAAAYChudnQUoBH+mGWFpb6oP0= |
| MaxResults |
integer |
The number of entries returned per 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. |
部署链接权限申请 |
| SupplierName |
string |
The supplier name. |
验收测试 |
| Status |
string |
The service status. Valid values:
|
Submitted |
| Comments |
string |
The remarks on the approval. |
审核通过。 |
| 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 information about the user who submitted the request. |
|
|
string |
The information about the user who submitted the request. |
"Name": "123123", "Telephone": "18xxxxxxxx3", "EmailAddress": "texxxxxx@alia.com", "Company": "dsf", "Title": "", "Industry": "", "CustomConfig1": "xxx", "CustomConfig2": "ooo" |
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": "部署链接权限申请",
"SupplierName": "验收测试",
"Status": "Submitted",
"Comments": "审核通过。",
"CreateTime": "2022-05-25T02:02:02Z",
"UpdateTime": "2022-05-25T02:02:02Z",
"UserInformation": {
"key": "\"Name\": \"123123\",\n \t\"Telephone\": \"18xxxxxxxx3\",\n \t\"EmailAddress\": \"texxxxxx@alia.com\",\n \t\"Company\": \"dsf\",\n \t\"Title\": \"\",\n \t\"Industry\": \"\",\n \t\"CustomConfig1\": \"xxx\",\n \t\"CustomConfig2\": \"ooo\""
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.