Panggil DescribeBandWithdChargeType untuk mengkueri metode penagihan bandwidth yang tersedia.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeBandWithdChargeType |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| BandWithTypeInfo |
string |
Informasi metode penagihan. |
{ "BandWidthName": "月95峰值带宽", "BandWidthType": "95BandwidthByMonth" } |
| ChargeContractType |
string |
Metode penagihan.
|
ChargeByGrade |
| ChargeCycleInfo |
string |
Siklus penagihan (siklus penagihan saat ini tidak dikembalikan). |
{null} |
| Code |
integer |
Kode bisnis. Mengembalikan 0 jika berhasil. |
0 |
| RequestId |
string |
ID Permintaan. |
791049FD-49CE-4667-BD6C-F23094DEDA7A |
Contoh
Respons sukses
JSONformat
{
"BandWithTypeInfo": "{ \"BandWidthName\": \"月95峰值带宽\", \t\t\t\"BandWidthType\": \"95BandwidthByMonth\" \t\t}",
"ChargeContractType": "ChargeByGrade",
"ChargeCycleInfo": "{null}",
"Code": 0,
"RequestId": "791049FD-49CE-4667-BD6C-F23094DEDA7A"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. | |
| 400 | NoPermission | Permission denied. | |
| 400 | CallInterface | Call Interface Happen Error. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.