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

中转路由器

复制全文
下载 pdf
路由条目
ModifyTransitRouterRouteEntryAttributes-修改路由条目
复制全文
下载 pdf
ModifyTransitRouterRouteEntryAttributes-修改路由条目
调用ModifyTransitRouterRouteEntryAttributes接口,修改指定路由条目的信息。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:ModifyTransitRouterRouteEntryAttributes​
接口名称。当前 API 的名称为ModifyTransitRouterRouteEntryAttributes。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为2020-04-01。​
​
TransitRouterRouteEntryId String 必选 示例值:tr-rte-1i5i8khf9m58gae5kcx6****​
TR路由条目的ID。您可以调用DescribeTransitRouterRouteEntries接口获取TR路由条目的ID。​
​
TransitRouterRouteEntryName String 可选 示例值:routeentry-01​
TR路由表路由条目的名称。​
  • 必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和短横线(-)。​
  • 长度限制为1 ~ 128个字符。​
  • 不传入该参数或该参数不传入数值时,默认为TR路由条目的ID。​
​
Description String 可选 示例值:This transit router is used for test.​
TR路由表路由条目的描述信息。​
  • 必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。​
  • 长度限制为0 ~ 255个字符。​
  • 不传入该参数或该参数不传入数值时,默认为空字符串。​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
GET /?Action=ModifyTransitRouterRouteEntryAttributes&Version=2020-04-01&TransitRouterRouteEntryId=tr-rte-1i5i8khf9m58gae5kcx6**** HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250804T093309Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250804/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2025080417331312820410309491497C",​
"Action": "ModifyTransitRouterRouteEntryAttributes",​
"Version": "2020-04-01",​
"Service": "transitrouter",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidDescription.Malformed​
The specified description is malformed.​
指定的描述格式不合法。请修复描述格式后重试。​
400​
InvalidDescription.Malformed​
The specified description is malformed. Ensure the maximum length of description is 255.​
指定的描述格式不合法。描述长度不能超过255个字符。​
400​
InvalidName.Malformed​
The specified name is malformed.​
指定的名称格式不合法。请修复名称格式后重试。​
400​
InvalidName.Malformed​
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​
InvalidTransitRouterRouteEntry.RouteTypeInvalidToModify​
The specified Transit Router route entry is propagated and cannot be modified.​
指定的中转路由器路由是路由学习自动学习到的路由,不支持修改。​
404​
InvalidTransitRouterRouteEntry.NotFound​
The specified Transit Router route entry does not exist.​
指定的中转路由器路由条目不存在。​
​
最近更新时间:2025.12.31 12:18:45
这个页面对您有帮助吗?
有用
有用
无用
无用