You need to enable JavaScript to run this app.
文档中心
中转路由器

中转路由器

复制全文
下载 pdf
流队列策略
ModifyTransitRouterTrafficQosQueueEntryAttributes-修改流队列
复制全文
下载 pdf
ModifyTransitRouterTrafficQosQueueEntryAttributes-修改流队列
调用 ModifyTransitRouterTrafficQosQueueEntryAttributes 接口,修改流队列带宽比例、名称和描述。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:ModifyTransitRouterTrafficQosQueueEntryAttributes​
接口名称。当前 API 的名称为ModifyTransitRouterTrafficQosQueueEntryAttributes。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为2020-04-01。​
​
TransitRouterTrafficQosQueueEntryId String 必选 示例值:qos-queue-entry-123456789​
中转路由器流量流队列条目的ID。​
​
TransitRouterTrafficQosQueueEntryName String 可选 示例值:tqe-02​
队列的名称。​
  • 必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:点号(.)、下划线(_)和短横线(-)。​
  • 长度限制为1 ~ 128个字符。​
  • 不传入该参数或该参数不传入数值时,默认为空。​
​
Description String 可选 示例值:This traffic qos queue entry is used for test.​
队列的描述信息。​
  • 必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。​
  • 长度限制为0 ~ 255个字符。​
  • 不传入该参数或该参数不传入数值时,默认为空字符串。​
​
BandwidthPercent Integer 可选 示例值:50​
流队列的带宽百分比,取值范围为 0~100。​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
GET /?Action=ModifyTransitRouterTrafficQosQueueEntryAttributes&Version=2020-04-01&TransitRouterTrafficQosQueueEntryId=qos-queue-entry-123456789 HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250804T033538Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250804/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "ModifyTransitRouterTrafficQosQueueEntryAttributes",​
"Version": "2020-04-01",​
"Service": "transitrouter",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidDescription.Malformed​
The specified description is malformed.​
指定的描述格式不合法。请修复描述格式后重试。​
400​
InvalidDescription.TooLong​
The specified description is malformed. Ensure the maximum length of description is 255.​
指定的描述格式不合法。描述长度不能超过255个字符。​
400​
InvalidName.Malformed​
The specified name is malformed.​
指定的名称格式不合法。请修复名称格式后重试。​
400​
InvalidName.TooLong​
The specified name is malformed. Ensure the maximum length of name is 128.​
指定的名称格式不合法。名称长度不能超过128个字符。​
400​
InvalidTransitRouter.InvalidStatus​
The specified Transit Router is not in the correct status for the request.​
指定的中转路由器所处状态无法响应该请求。​
400​
InvalidTransitRouterTrafficQosQueueEntry.BandwidthPercentExceed​
The specified bandwidth percentage of the traffic qos queue entry exceeds the available remaining bandwidth percentage.​
指定的流队列限速带宽百分比超出剩余可分配的带宽百分比。​
400​
InvalidTransitRouterTrafficQosQueueEntry.BandwidthPercentNotSupport​
The specified bandwidth percent of the Transit Router traffic qos queue entry is invalid. Only normal priority traffic qos queues support configuring bandwidth percent.​
指定的流队列限速带宽百分比无效,仅允许普通优先级流队列配置限速带宽百分比。​
400​
InvalidTransitRouterTrafficQosQueueEntry.DefaultCannotModify​
The specified Transit Router traffic qos queue entry is default, and cannot be modified.​
指定的流队列是默认队列,无法修改。​
400​
InvalidTransitRouterTrafficQosQueueEntry.InvalidBandwidthPercent​
The specified bandwidth percent of the Transit Router traffic qos queue entry is invalid. Bandwidth percent only support 0~100.​
指定的流队列限速带宽百分比无效,仅允许0-100范围内的整数。​
400​
InvalidTransitRouterTrafficQosQueueEntry.InvalidStatus​
The specified Transit Router traffic qos queue entry is not in the correct status for the request.​
指定的流队列所处状态无法响应该请求。​
404​
InvalidTransitRouterTrafficQosQueueEntry.NotFound​
The specified Transit Router traffic qos queue entry does not exist.​
指定的流队列不存在。​
​
最近更新时间:2026.03.24 10:26:55
这个页面对您有帮助吗?
有用
有用
无用
无用