Queries the resource costs of an application group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:DescribeApplicationGroupBill |
get |
*ApplicationGroup
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The ID of the region. |
cn-hangzhou |
| ApplicationName |
string |
Yes |
The application name. |
test_application |
| Name |
string |
Yes |
The application group name. |
test_application_group |
| BillingCycle |
string |
Yes |
The billing cycle, in the YYYY-MM format. |
2023-06 |
| ResourceType |
string |
Yes |
The type of the cloud resource. |
ALIYUN::ECS::INSTANCE |
| MaxResults |
integer |
No |
The number of entries per page. |
10 |
| NextToken |
string |
No |
The token that is used to retrieve the next page of results. |
- |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The token that is used to retrieve the next page of results. |
"" |
| RequestId |
string |
The request ID. |
E897A1AB-4701-5B71-93AD-38FD703763A3 |
| MaxResults |
integer |
The number of entries per page. |
10 |
| ApplicationGroupConsume |
array<object> |
The consume of application group. |
|
|
object |
|||
| InstanceId |
string |
The ID of the instance. |
i-0jl781czrhqey0s5zpsj |
| InstanceName |
string |
The name of the instance. |
test- |
| InstanceType |
string |
The instance type. |
ALIYUN::ECS::INSTANCE |
| CreationTime |
string |
The time when the instance was created. |
2023-06-10T06:00Z |
| Status |
string |
The status of instance. |
Running |
| Amount |
number |
The amount consumed by the instance. |
18.88 |
| Currency |
string |
The currency unit. Valid values:
|
CNY |
| Performance |
string |
The performance of the data synchronization instance. |
"{\"mem\":\"6.82\",\"cpu\":\"0.55\"}" |
| Optimization |
string |
Optimization suggestions. |
1 |
| PeakType |
string |
The peak type. Valid values:
|
WHITE |
Examples
Success response
JSON format
{
"NextToken": "\"\"",
"RequestId": "E897A1AB-4701-5B71-93AD-38FD703763A3",
"MaxResults": 10,
"ApplicationGroupConsume": [
{
"InstanceId": "i-0jl781czrhqey0s5zpsj",
"InstanceName": "test-",
"InstanceType": "ALIYUN::ECS::INSTANCE",
"CreationTime": "2023-06-10T06:00Z",
"Status": "Running",
"Amount": 18.88,
"Currency": "CNY",
"Performance": "\"{\\\"mem\\\":\\\"6.82\\\",\\\"cpu\\\":\\\"0.55\\\"}\"",
"Optimization": "1",
"PeakType": "WHITE"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.