調用DescribeBandWithdChargeType查詢可用的頻寬計費方式。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ens:DescribeBandWithdChargeType |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
當前API無需請求參數
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| BandWithTypeInfo |
string |
計費方式資訊。 |
{ "BandWidthName": "月95峰值頻寬", "BandWidthType": "95BandwidthByMonth" } |
| ChargeContractType |
string |
計費方式。
|
ChargeByGrade |
| ChargeCycleInfo |
string |
計費周期(目前暫不返回計費周期)。 |
{null} |
| Code |
integer |
業務碼,成功返回 0。 |
0 |
| RequestId |
string |
請求 ID。 |
791049FD-49CE-4667-BD6C-F23094DEDA7A |
樣本
正常返回樣本
JSON格式
{
"BandWithTypeInfo": "{ \"BandWidthName\": \"月95峰值頻寬\", \t\t\t\"BandWidthType\": \"95BandwidthByMonth\" \t\t}",
"ChargeContractType": "ChargeByGrade",
"ChargeCycleInfo": "{null}",
"Code": 0,
"RequestId": "791049FD-49CE-4667-BD6C-F23094DEDA7A"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | MissingParameter | The input parameter domainName that is mandatory for processing this request is not supplied. | |
| 400 | InstanceIdNotFound | The input parameter instancdId that is not found. | 指定的執行個體ID不存在。 |
| 400 | NoPermission | Permission denied. | |
| 400 | CallInterface | Call Interface Happen Error. | 介面調用出錯。 |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。