Memodifikasi nama, deskripsi, bandwidth antar-region, dan nilai Differentiated Services Code Point (DSCP) dari antrean 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 klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi Anda harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Token hanya boleh berisi karakter ASCII dan panjangnya tidak boleh melebihi 64 karakter. |
123e4567-e89b-12d3-a456-426655**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run, tanpa melakukan permintaan yang sebenarnya. Nilai yang valid:
|
false |
| QosQueueId |
string |
Yes |
ID antrean. |
qos-queue-nv2vfzqkewhk4t**** |
| QosQueueName |
string |
No |
Nama baru dari antrean. Panjang nama harus antara 1 hingga 128 karakter, dan tidak boleh dimulai dengan http:// atau https://. Anda juga dapat membiarkan parameter ini kosong. |
nametest |
| QosQueueDescription |
string |
No |
Deskripsi baru dari antrean. Panjang deskripsi harus antara 1 hingga 256 karakter, dan tidak boleh dimulai dengan http:// atau https://. Anda juga dapat membiarkan parameter ini kosong. |
desctest |
| RemainBandwidthPercent |
string |
No |
Persentase bandwidth yang dapat dialokasikan ke antrean saat ini. Masukkan angka. Anda tidak perlu memasukkan tanda persen (%). |
1 |
| Bandwidth |
integer |
No |
Nilai bandwidth absolut yang dapat dialokasikan ke antrean saat ini. Satuan: Mbit/s. Masukkan angka. Anda tidak perlu memasukkan satuan. |
1 |
| Dscps |
array |
No |
Nilai differentiated services code point (DSCP) yang digunakan untuk mencocokkan paket dalam antrean. |
|
|
integer |
No |
Nilai DSCP yang digunakan untuk mencocokkan paket dalam antrean. Nilai yang valid: 0 hingga 63. Anda dapat memasukkan hingga 20 nilai DSCP dalam satu waktu. |
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. | |
| 400 | InvalidTrafficQosQueueId.NotFound | The instance of TrafficQosQueueId is not found. | |
| 400 | IllegalParam.BandwidthGuaranteeModeMismatch | 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. | |
| 400 | IllegalParam.Bandwidth | Bandwidth is illegal | |
| 400 | IllegalParam.RemainBandwidthPercent | The specified RemainBandwidthPercent is invalid. | |
| 400 | InvalidParameter | Invalid parameter. | |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | |
| 400 | MissingParam.TrafficQosPolicyQueueId | The parameter TrafficQosPolicyQueueId is mandatory. | |
| 400 | ParamMismatch.QueueTypeAndBandwidthPercent | The parameters QueueType and BandwidthPercent are incompatible. | |
| 400 | InvalidOperation.NotSupportLinkType | The operation is invalid because the specified queue link type is not supported. | |
| 400 | InvalidOperation.DefaultQueueOnlySupportSetLinkType | The operation is invalid because only the LinkType can be configured for the default queue in HierarchicalQoS. | |
| 400 | InvalidOperation.SetFlatQueueLinkType | The operation is invalid because the FlatQueuing QoS does not support setting the LinkType. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.