サービス品質 (QoS) キューの名前、説明、リージョン間帯域幅、および Differentiated Services Code Point (DSCP) 値を変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cen:UpdateCenInterRegionTrafficQosQueueAttribute |
update |
*CenInstance
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークンです。 クライアントを使用してトークンを生成できますが、トークンが異なるリクエスト間で一意であることを確認する必要があります。トークンには ASCII 文字のみを含めることができ、長さは 64 文字を超えることはできません。 |
123e4567-e89b-12d3-a456-426655**** |
| DryRun |
boolean |
任意 |
実際のリクエストを実行せずに、ドライランを実行するかどうかを指定します。有効な値:
|
false |
| QosQueueId |
string |
必須 |
キュー ID。 |
qos-queue-nv2vfzqkewhk4t**** |
| QosQueueName |
string |
任意 |
キューの新しい名前。 名前の長さは 1~128 文字で、http:// または https:// で始めることはできません。このパラメーターは空のままにすることもできます。 |
nametest |
| QosQueueDescription |
string |
任意 |
キューの新しい説明。 説明の長さは 1~256 文字で、http:// または https:// で始めることはできません。このパラメーターは空のままにすることもできます。 |
desctest |
| RemainBandwidthPercent |
string |
任意 |
現在のキューに割り当てることができる帯域幅の割合。 数値を入力します。パーセント記号 (%) を入力する必要はありません。 |
1 |
| Bandwidth |
integer |
任意 |
現在のキューに割り当てることができる絶対帯域幅値。単位:Mbit/s。 数値を入力します。単位を入力する必要はありません。 |
1 |
| Dscps |
array |
任意 |
キュー内のパケットを照合するために使用される Differentiated Services Code Point (DSCP) 値。 |
|
|
integer |
任意 |
キュー内のパケットを照合するために使用される DSCP 値。有効な値:0~63。 一度に最大 20 個の DSCP 値を入力できます。 |
5 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| RequestId |
string |
リクエスト ID。 |
6DF9A765-BCD2-5C7E-8C32-C35C8A361A39 |
例
成功レスポンス
JSONJSON
{
"RequestId": "6DF9A765-BCD2-5C7E-8C32-C35C8A361A39"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。