All Products
Search
Document Center

CloudOps Orchestration Service:DescribeApplicationGroupBill

Last Updated:Oct 14, 2024

Queries the resource costs of an application group.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
oos:DescribeApplicationGroupBillget
  • ApplicationGroup
    acs:oos:{#regionId}:{#AccountId}:application/{#ApplicationName}/applicationgroup/{#ApplicationGroupName}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The ID of the region.

cn-hangzhou
ApplicationNamestringYes

The application name.

test_application
NamestringYes

The application group name.

test_application_group
BillingCyclestringYes

The billing cycle, in the YYYY-MM format.

2023-06
ResourceTypestringYes

The type of the cloud resource.

ALIYUN::ECS::INSTANCE
MaxResultsintegerNo

The number of entries per page.

10
NextTokenstringNo

The token that is used to retrieve the next page of results.

-

Response parameters

ParameterTypeDescriptionExample
object
NextTokenstring

The token that is used to retrieve the next page of results.

""
RequestIdstring

The request ID.

E897A1AB-4701-5B71-93AD-38FD703763A3
MaxResultsinteger

The number of entries per page.

10
ApplicationGroupConsumearray<object>

The consume of application group.

ApplicationGroupConsumeobject
InstanceIdstring

The ID of the instance.

i-0jl781czrhqey0s5zpsj
InstanceNamestring

The name of the instance.

test-
InstanceTypestring

The instance type.

ALIYUN::ECS::INSTANCE
CreationTimestring

The time when the instance was created.

2023-06-10T06:00Z
Statusstring

The status of instance.

Running
Amountfloat

The amount consumed by the instance.

18.88
Currencystring

The currency unit.

Enumeration Value:
  • JPY: JPY.
  • USD: USD.
  • CNY: CNY.
CNY
Performancestring

The performance of the data synchronization instance.

"{\"mem\":\"6.82\",\"cpu\":\"0.55\"}"
Optimizationstring

Optimization suggestions.

1
PeakTypestring

The peak type.

Enumeration Value:
  • WHITE: WHITE.
  • NIGHT: NIGHT.
  • AVERAGE: AVERAGE.
WHITE

Examples

Sample success responses

JSONformat

{
  "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

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history