Memodifikasi bandwidth puncak dari instans paket bandwidth dengan memanggil operasi ModifyCenBandwidthPackageSpec.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:ModifyCenBandwidthPackageSpec |
update |
*CenBandwidthPackage
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CenBandwidthPackageId |
string |
Yes |
ID instans dari paket bandwidth. |
cenbwp-4c2zaavbvh5x**** |
| Bandwidth |
integer |
No |
Bandwidth puncak baru dari instans paket bandwidth. Satuan: Mbit/s. Nilai yang valid: 2 hingga 10000. |
2 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Operation.Failed | Spec of the specified bandwidth package is not changed, please check again. | Spesifikasi paket bandwidth belum dimodifikasi. |
| 400 | InvalidStatus.Resource | The status of the specified resource is invalid. The resource cannot be renewed. | Sumber daya berada dalam status tidak valid dan tidak dapat diperpanjang. |
| 400 | OperationFailed.InsufficientBalance | Your account does not have enough balance. | Operasi gagal karena akun Alibaba Cloud memiliki pembayaran tertunda. |
| 400 | OperationFailed.OperationIsProcessing | The operation failed because another operation is being processed. | Operasi gagal karena adanya operasi konkuren. |
| 400 | OperationFailed.OrderIsProcessing | The operation failed because the order is being processed. | Operasi gagal karena pesanan sedang diproses. |
| 400 | OperationFailed.UpDownRadeConfigNoChange | The operation failed because the config not change. | Konfigurasi tidak berubah. |
| 400 | InvalidOperation.SaleValidateFailed | Sales expression validation system error. | Terjadi kesalahan sistem selama validasi ekspresi penjualan. |
| 400 | InvalidParameter | Invalid parameter. | Parameter tidak valid. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | Akun tidak memiliki izin untuk melakukan operasi ini. |
| 400 | InvalidParameter.CenBandwidthPackageId | The specified parameter CenBandwidthPackageId is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.