ModifyRouterInterfaceAttribute
目前该API接口已标记为弃用,推荐使用替代API:Vpc(2016-04-28) - ModifyRouterInterfaceAttribute。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
vpc:ModifyRouterInterfaceAttribute |
update |
*RouterInterface
|
|
无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
||
| RouterInterfaceId |
string |
是 |
||
| Name |
string |
否 |
||
| Description |
string |
否 |
||
| OppositeInterfaceId |
string |
否 |
||
| OppositeRouterId |
string |
否 |
||
| OppositeRouterType |
string |
否 |
||
| OppositeInterfaceOwnerId |
integer |
否 |
||
| HealthCheckSourceIp |
string |
否 |
||
| HealthCheckTargetIp |
string |
否 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
示例
正常返回示例
JSON格式
{
"RequestId": ""
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | IncorrectStatus | RouterInterface can be operated by this action only when the status is Active,idle or inactive. | |
| 400 | Forbidden.FinancialLocked | This RouterInterface is financiel locked because of bills outstanding. | |
| 400 | InvalidName.Malformd | The attribute name is illeagl. | 属性名称不合法。 |
| 400 | InvalidOppositeRouterType.ValueNotSupported | The specified OppositeRouterType is not valid. | 指定的 OppositeRouterType 不合法。 |
| 400 | InvalidDescription.Malformed | The Description is illeagl. | 指定的资源描述格式不合法。长度为2-256个字符,不能以 http:// 和 https:// 开头。 |
| 400 | Forbbiden | The Router instance owener error | |
| 400 | LinkRole.NotSupport | This linkrole is not supported | 不支持指定的链接角色。 |
| 400 | Forbbiden.ModifyIdAndType | Opposite is VBR, cannot modify the ID and type | |
| 400 | InvalidParam.ModifyRouterInterface | Modify routerinterface param invalid | |
| 404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. | 指定的RegionId不存在,请您检查此产品在该地域是否可用。 |
| 404 | InvalidRouterInterfaceId.NotFound | The specified RouterInterfaceId does not exist in our records. | 指定的路由器接口不存在,请您检查填写的路由器接口是否正确。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。