获取资源组视角账单统计列表
获取资源组视角账单统计列表
Query Parameters
筛选条件 支持:bill_month、resource_group_id 例如:bill_month=202312 AND resource_group_id=13e9a890-dcb1-469b-942f-745a55b4527f
排序
分页大小
分页页码
计费账户ID
- 200
- default
OK
Schema
- Array [
- ]
- Array [
- ]
resource_group_view_bill_details object[]
账单记录
amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
original_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
discount_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
coupon_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
voucher_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
paid_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
unpaid_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
分页页码
总记录
filter object
筛选数据
resource_owner object
资源实例所属用户 可选 MAP<id,display_name>
subscription_owner object
所属订阅 可选MAP<id,display_name>
billing_accounts object
所属计费账户 可选 MAP<id,display_name>
boss_filters object[]
boss数据层级筛选项
类目/SPU/SKU ID
类目/SPU/SKU 显示名
子级筛选数据 一般分三级 顶级为类目次级为SPU三级为SKU
{
"resource_group_view_bill_details": [
{
"id": "string",
"resource_owner_id": "string",
"resource_owner_name": "string",
"resource_group_id": "string",
"resource_group_name": "string",
"subscription_id": "string",
"billing_account_id": "string",
"bill_month": "string",
"spu_id": "string",
"spu_name": "string",
"amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"original_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"discount_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"coupon_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"voucher_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"paid_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"unpaid_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"state": "BS_UNSPECIFIED",
"payment_model": "PM_UNSPECIFIED",
"create_time": "2024-12-05T02:41:59.281Z",
"sku_id": "string",
"sku_name": "string",
"quantity": 0,
"billing_item_property_name": "string",
"billing_item_display_name": "string",
"consume_type": "CT_UNSPECIFIED",
"consume_desc": "string",
"resource_name": "string",
"subscription_name": "string",
"resource_instance_id": "string",
"management_group_display_name": "string",
"billing_account_display_name": "string",
"management_group_uuid": "string",
"backend_catalog_id": "string",
"backend_catalog_displayname": "string",
"tenant_id": "string",
"tenant_type": "string",
"update_time": "2024-12-05T02:41:59.281Z",
"consume_time": "2024-12-05T02:41:59.281Z"
}
],
"next_page_token": "string",
"total_size": 0,
"filter": {
"resource_owner": {},
"subscription_owner": {},
"billing_accounts": {},
"boss_filters": [
{
"id": "string",
"display_name": "string",
"children": [
null
]
}
]
}
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}