日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

QueryInstanceBill - 實(shí)例賬單查詢服務(wù)

更新時(shí)間:

查詢用戶某個(gè)賬期內(nèi)所有商品實(shí)例或計(jì)費(fèi)項(xiàng)的消費(fèi)匯總。API已升級(jí)為DescribeInstanceBill,此API不再提供50000行以后數(shù)據(jù)的查詢。

接口說明

API 描述

在調(diào)用本接口時(shí),請(qǐng)注意:

  • 實(shí)例賬單 API 已升級(jí),請(qǐng)使用新版 API: DescribeInstanceBill 。此 API 不再提供 50000 行以后數(shù)據(jù)的查詢。
  • 實(shí)例賬單是根據(jù)賬單數(shù)據(jù)拆分生成,一般會(huì)有一天延遲。
  • 實(shí)例信息在賬期內(nèi)會(huì)變化,月匯總的實(shí)例 Config 和 Spec 對(duì)應(yīng)記錄生成時(shí)間信息,如需詳情可參考對(duì)應(yīng)明細(xì)賬單。
  • 云通信產(chǎn)品可查詢從 2020 年 6 月以后的數(shù)據(jù); 萬網(wǎng)產(chǎn)品可查詢從 2020 年 11 月以后的數(shù)據(jù)。

調(diào)試

您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。

授權(quán)信息

下表是API對(duì)應(yīng)的授權(quán)信息,可以在RAM權(quán)限策略語句的Action元素中使用,用來給RAM用戶或RAM角色授予調(diào)用此API的權(quán)限。具體說明如下:

  • 操作:是指具體的權(quán)限點(diǎn)。
  • 訪問級(jí)別:是指每個(gè)操作的訪問級(jí)別,取值為寫入(Write)、讀?。≧ead)或列出(List)。
  • 資源類型:是指操作中支持授權(quán)的資源類型。具體說明如下:
    • 對(duì)于必選的資源類型,用背景高亮的方式表示。
    • 對(duì)于不支持資源級(jí)授權(quán)的操作,用全部資源表示。
  • 條件關(guān)鍵字:是指云產(chǎn)品自身定義的條件關(guān)鍵字。
  • 關(guān)聯(lián)操作:是指成功執(zhí)行操作所需要的其他權(quán)限。操作者必須同時(shí)具備關(guān)聯(lián)操作的權(quán)限,操作才能成功。
操作訪問級(jí)別資源類型條件關(guān)鍵字關(guān)聯(lián)操作
bss:DescribeBillListRead
  • 全部資源
    *
  • bssapi:ProductCode
  • bssapi:ProductType

請(qǐng)求參數(shù)

名稱類型必填描述示例值
BillingCyclestring

賬期 YYYY-MM。僅支持最近 18 個(gè)月賬期。

2020-03
ProductCodestring

產(chǎn)品代碼。

rds
ProductTypestring

產(chǎn)品類型。當(dāng) ProductCode 為云市場產(chǎn)品 code 時(shí),此參數(shù)必填。

rds
SubscriptionTypestring

訂閱類型。取值:

  • Subscription:預(yù)付費(fèi)。
  • PayAsYouGo:后付費(fèi)。
說明 必須和 ProductCode 參數(shù)一起使用。
PayAsYouGo
IsBillingItemboolean

是否按照計(jì)費(fèi)項(xiàng)維度拉取數(shù)據(jù)。

  • false。與“費(fèi)用中心-費(fèi)用賬單-賬單明細(xì)-實(shí)例”賬單一致。
  • true。與“費(fèi)用中心-費(fèi)用賬單-賬單明細(xì)-計(jì)費(fèi)項(xiàng)”賬單一致。

默認(rèn) false。

false
PageNuminteger

頁碼,默認(rèn)值為 1。

1
PageSizeinteger

每頁數(shù)量,默認(rèn)值:20,最大值:300。

20
IsHideZeroChargeboolean

根據(jù)原價(jià)(PretaxGrossAmount)和應(yīng)付(PretaxAmount)是否都為 0 做過濾。取值:

  • false。
  • true。
false
BillingDatestring

賬單日期,僅當(dāng) Granularity 為 DAILY 時(shí)必填,格式為 YYYY-MM-DD。

2020-03-03
Granularitystring

查詢賬單的顆粒度。取值:

  • MONTHLY:月。與“費(fèi)用中心-費(fèi)用賬單-賬單明細(xì)-賬期”賬單一致。
  • DAILY:日。與“費(fèi)用中心-費(fèi)用賬單-賬單明細(xì)-按天”賬單一致。

選擇 DAILY 需指定 BillingDate。

MONTHLY
BillOwnerIdlong

資源歸屬賬號(hào) ID,資源歸屬賬號(hào)是實(shí)際使用資源的賬號(hào)。

122

返回參數(shù)

名稱類型描述示例值
object
Codestring

狀態(tài)碼。

Success
Messagestring

錯(cuò)誤信息。

Successful!
RequestIdstring

請(qǐng)求 ID。

79EE7556-0CFD-44EB-9CD6-B3B526E3A85F
Successboolean

是否成功。

true
Dataobject

返回?cái)?shù)據(jù)。

PageNuminteger

頁碼。

1
BillingCyclestring

賬單日期,格式:YYYY-MM。

2020-03
AccountIDstring

賬號(hào) ID。

185xxxx3489
PageSizeinteger

每頁數(shù)量。

20
TotalCountinteger

總記錄數(shù)。

2
AccountNamestring

用戶賬號(hào)。

test@test.aliyunid.com
Itemsobject []

賬單詳情。

BillingDatestring

賬單日期,僅當(dāng) Granularity 為 DAILY 時(shí)有值,格式為 YYYY-MM-DD。

2020-03
InstanceConfigstring

實(shí)例詳細(xì)配置。

CPU:12
InternetIPstring

公網(wǎng) IP。

34.xx.x.x
Itemstring

賬單類型:

  • SubscriptionOrder (預(yù)付訂單)。
  • PayAsYouGoBill (后付賬單)。
  • Refund (退款)。
  • Adjustment (調(diào)賬)。
PayAsYouGoBill
Tagstring

標(biāo)簽。

tag
InstanceIDstring

實(shí)例 ID。

i-kjhdskjgshfdlkjfdh
Currencystring

幣種,取值:

  • CNY。
  • USD。
  • JPY。
CNY
DeductedByCashCouponsfloat

代金券抵扣。

0
SubscriptionTypestring

訂閱類型,取值:

  • Subscription:預(yù)付費(fèi)。
  • PayAsYouGo:后付費(fèi)。
說明 必須和 ProductCode 參數(shù)一起使用。
PayAsYouGo
InstanceSpecstring

實(shí)例規(guī)格。

ecs.sn1ne.3xlarge
DeductedByCouponsfloat

優(yōu)惠券優(yōu)惠金額。

0
BillingItemstring

計(jì)費(fèi)項(xiàng)。僅當(dāng) IsBillingItem=true 有值。

其他
Regionstring

地域。

杭州
OutstandingAmountfloat

未結(jié)清金額

0
CostUnitstring

財(cái)務(wù)單元。

未分配
ListPriceUnitstring

單價(jià)單位, 僅當(dāng) isBillingItem 為 true 時(shí)有效。

ResourceGroupstring

資源組。

默認(rèn)資源組
PipCodestring

產(chǎn)品 Code,與費(fèi)用中心賬單產(chǎn)品 Code 一致

rds
ServicePeriodUnitstring

服務(wù)周期單位

PretaxAmountfloat

應(yīng)付金額。

0
CommodityCodestring

商品 Code,與費(fèi)用中心產(chǎn)品明細(xì) Code 一致

rds
ProductNamestring

產(chǎn)品名稱。

云數(shù)據(jù)庫RDS
AdjustAmountfloat

信用額度退款抵扣。

0
NickNamestring

實(shí)例昵稱。

test
ProductDetailstring

產(chǎn)品明細(xì)。

云數(shù)據(jù)庫RDS
Usagestring

用量, 僅當(dāng) isBillingItem 為 true 時(shí)有效。

100
IntranetIPstring

內(nèi)網(wǎng) IP。

192.xx.xx.xx
OwnerIDstring

子賬號(hào) AccountID(多賬號(hào)代付場景)。

169***013
DeductedByPrepaidCardfloat

儲(chǔ)值卡抵扣。

0
UsageUnitstring

用量單位, 僅當(dāng) isBillingItem 為 true 時(shí)有效。

GB
PaymentAmountfloat

現(xiàn)金支付。

0
InvoiceDiscountfloat

優(yōu)惠金額。

0
DeductedByResourcePackagestring

資源包抵扣。

NULL
ProductTypestring

產(chǎn)品類型。

rds
ServicePeriodstring

服務(wù)周期。

10
Zonestring

可用區(qū)。

cn-hangzhou-h
ListPricestring

單價(jià), 僅當(dāng) isBillingItem 為 true 時(shí)有效。

100
PretaxGrossAmountfloat

原始金額。

0
CashAmountfloat

現(xiàn)金支付(不包含信用額度退款抵扣)。

0
ProductCodestring

產(chǎn)品代碼。

rds
BillingTypestring

計(jì)費(fèi)方式。

其它

示例

正常返回示例

JSON格式

{
  "Code": "Success",
  "Message": "Successful!",
  "RequestId": "79EE7556-0CFD-44EB-9CD6-B3B526E3A85F",
  "Success": true,
  "Data": {
    "PageNum": 1,
    "BillingCycle": "2020-03",
    "AccountID": "185xxxx3489",
    "PageSize": 20,
    "TotalCount": 2,
    "AccountName": "test@test.aliyunid.com",
    "Items": {
      "Item": [
        {
          "BillingDate": "2020-03",
          "InstanceConfig": "CPU:12",
          "InternetIP": "34.xx.x.x",
          "Item": "PayAsYouGoBill",
          "Tag": "tag",
          "InstanceID": "i-kjhdskjgshfdlkjfdh",
          "Currency": "CNY",
          "DeductedByCashCoupons": 0,
          "SubscriptionType": "PayAsYouGo",
          "InstanceSpec": "ecs.sn1ne.3xlarge",
          "DeductedByCoupons": 0,
          "BillingItem": "其他",
          "Region": "杭州",
          "OutstandingAmount": 0,
          "CostUnit": "未分配",
          "ListPriceUnit": "元",
          "ResourceGroup": "默認(rèn)資源組",
          "PipCode": "rds",
          "ServicePeriodUnit": "秒",
          "PretaxAmount": 0,
          "CommodityCode": "rds",
          "ProductName": "云數(shù)據(jù)庫RDS",
          "AdjustAmount": 0,
          "NickName": "test",
          "ProductDetail": "云數(shù)據(jù)庫RDS",
          "Usage": "100",
          "IntranetIP": "192.xx.xx.xx",
          "OwnerID": "169***013",
          "DeductedByPrepaidCard": 0,
          "UsageUnit": "GB",
          "PaymentAmount": 0,
          "InvoiceDiscount": 0,
          "DeductedByResourcePackage": "NULL",
          "ProductType": "rds",
          "ServicePeriod": "10",
          "Zone": "cn-hangzhou-h",
          "ListPrice": "100",
          "PretaxGrossAmount": 0,
          "CashAmount": 0,
          "ProductCode": "rds",
          "BillingType": "其它"
        }
      ]
    }
  }
}

錯(cuò)誤碼

訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。

變更歷史

變更時(shí)間變更內(nèi)容概要操作
2024-03-28OpenAPI 描述信息更新看變更集
變更項(xiàng)變更內(nèi)容
API 描述OpenAPI 描述信息更新。