Memodifikasi nama, deskripsi, bandwidth antar-wilayah, dan nilai Differentiated Services Code Point (DSCP) dari antrian Quality of Service (QoS).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:UpdateCenInterRegionTrafficQosQueueAttribute |
update |
*CenInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Token client yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan client untuk menghasilkan token tersebut, tetapi Anda harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Token hanya boleh berisi karakter ASCII dan tidak boleh melebihi 64 karakter. |
123e4567-e89b-12d3-a456-426655**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run tanpa menjalankan permintaan sebenarnya. Nilai yang valid:
|
false |
| QosQueueId |
string |
Yes |
ID antrian. |
qos-queue-nv2vfzqkewhk4t**** |
| QosQueueName |
string |
No |
Nama baru antrian. Nama harus terdiri dari 1 hingga 128 karakter, dan tidak boleh diawali dengan http:// atau https://. Anda juga dapat mengosongkan parameter ini. |
nametest |
| QosQueueDescription |
string |
No |
Deskripsi baru antrian. Deskripsi harus terdiri dari 1 hingga 256 karakter, dan tidak boleh diawali dengan http:// atau https://. Anda juga dapat mengosongkan parameter ini. |
desctest |
| RemainBandwidthPercent |
string |
No |
Persentase bandwidth yang dapat dialokasikan ke antrian saat ini. Masukkan angka saja. Anda tidak perlu menambahkan tanda persen (%). |
1 |
| Bandwidth |
integer |
No |
Nilai bandwidth absolut yang dapat dialokasikan ke antrian saat ini. Satuan: Mbit/s. Masukkan angka saja. Anda tidak perlu menambahkan satuan. |
1 |
| Dscps |
array |
No |
Nilai differentiated services code point (DSCP) yang digunakan untuk mencocokkan paket dalam antrian. |
|
|
integer |
No |
Nilai DSCP yang digunakan untuk mencocokkan paket dalam antrian. Nilai yang valid: 0 hingga 63. Anda dapat memasukkan hingga 20 nilai DSCP sekaligus. |
5 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
6DF9A765-BCD2-5C7E-8C32-C35C8A361A39 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "6DF9A765-BCD2-5C7E-8C32-C35C8A361A39"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectStatus.TrafficQosPolicy | The status of TrafficQosPolicy is incorrect. | The error message returned because the status of the specified QoS policy does not support the operation. |
| 400 | InvalidTrafficQosQueueId.NotFound | The instance of TrafficQosQueueId is not found. | |
| 400 | IllegalParam.BandwidthGuaranteeModeMismatch | The BandwidthGuaranteeMode does not match the Bandwidth or RemainBandwidthPercent. | The BandwidthGuaranteeMode does not match the Bandwidth or RemainBandwidthPercent. |
| 400 | IllegalParam.AttachmentBandwidthExceed | The entered bandwidth causes the total QoS guaranteed bandwidth to exceed the cross-region bandwidth allocation value. | The entered bandwidth causes the total QoS guaranteed bandwidth to exceed the cross-region bandwidth allocation value. |
| 400 | IllegalParam.Bandwidth | Bandwidth is illegal | The error message returned because the specified bandwidth value is invalid. |
| 400 | IllegalParam.RemainBandwidthPercent | The specified RemainBandwidthPercent is invalid. | The error message returned because the RemainBandwidthPercent parameter is set to invalid value. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
| 400 | MissingParam.TrafficQosPolicyQueueId | The parameter TrafficQosPolicyQueueId is mandatory. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.