调用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. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。