欢迎登陆真网站,您的到来是我们的荣幸。 登陆 注册 忘记密码? ☆设为首页 △加入收藏
欢迎加入真幸福QQ群
电脑知识: 基础知识 网络技术 操作系统 办公软件 电脑维修 电脑安全 windows7 windows8 windows10 服务器教程 平板电脑 视频播放教程 网络应用 互联网 工具软件 浏览器教程 QQ技巧 输入法教程 影视制作 YY教程 wps教程 word教程 Excel教程 PowerPoint
云南西双版纳特产小花糯玉米真空包装


tp link光纤无线路由器怎么设置
阿里云如何查询端口转发规则列表
阿里云如何添加端口转发规则
阿里云地图默认城市
win7旗舰版电脑蓝屏,提示0x0000005A怎么办?
阿里云如何删除共享带宽包
阿里云如何修改共享带宽包-减少公网IP
阿里旺旺如何停用群
win8本地安全策略常见问题解答
阿里云如何修改共享带宽包-增加公网IP
阿里云如何修改端口转发规则
【 来源:网络 】【 点击:1 】 【 发布时间:2017_03_03 08:59:59 】

  修改端口转发规则

  描述

  对某一条指定的端口转发规则进行修改

  对端口转发规则合法性的所有约束,同CreateForwardEntry。

  每条端口转发规则都有状态,取值为Available |Pending |Modifying;当端口装发表中任意一条规则的状态处于Pending 或 Modifying时,不允许对端口转发表进行规则修改;

  请求参数

名称 类型 是否必须 描述
Action String 系统规定参数,取值:ModifyForwardEntry
RegionId String Region ID
ForwardTableId String ForwardTableId
ForwardEntryId String Forward表条目ID
ExternalIp String 端口转发规则中的源IP被转发的IP地址,必须是一个绑定在FowardTable所属VRouter上的EIP的地址。
IpProtocol String IpProtocol类型,可选TCP|UDP|Any。
ExternalPort String 取值范围为1~65535。。
InternalIp String 端口转发规则中转发成的IP地址,是一个私网IP地址。
InternalPort String 取值范围为1~65535。

  返回参数

  全是公共返回参数,详见公共返回参数

  错误码

错误代码 描述 Http 状态码 语义
InvalidRegionId.NotFound The specified RegionId is not found in our record. 404 指定的Region ID不存在
InvalidForwardTableId.NotFound Specified forward table does not exist. 404 指定的转发表不存在
InvalidForwardEntryId.NotFound Specified forward entry ID does not exist 404 指定的转发条目ID不存在
InvalidExternalIp.NotFound Specified Source Ip address does not found on the VRouter 404 指定的源IP地址在VRouter上没有找到
QuotaExceeded Forward entry quota exceeded in this route table. 400 同一个转发表条目不能超过 40条
IncorretForwardEntryStatus Some Forward entry status blocked this operation. 400 同一个 VPC 下面的转发表中的任一个转发条目处在中间状态(添加中,修改中,删除中),不能创建转发条目
InvalidProtocal.ValueNotSupportedc The specified IpProtocol does not exist or IpProtocol and ExternalPort or InternalPort do not match. 400 协议不存在
InvalidInternalIp.Malformed The specified InternalIp is not a valid IP address. 400 指定的目的IP地址不合法
InvalidExternalIp.Malformed The specified ExternalIp is not a valid IP address. 400 指定的源IP地址不合法
InvalidExternalPort.Malformed The specified ExternalPort is not a valid port. 400 指定的源端口号不合法
InvalidInternalPort.Malformed The specified InternalPort is not a valid port. 400 指定的目的端口号不合法
ForwardEntry.Duplicated The specified is duplicated 400 指定的<源IP ,协议, 源端口号>已经存在
Forbidden.InternalIpAndInternalPortDuplicate The specified is duplicated. 400 指定的<目的IP地址, 目的端口号>重复
Forbidden.PortsAndIpProtocol ExternalPort/InternalPort/IpProtocol must be all Any or all not Any. 400 ExternalPort/InternalPort/IpProtocol必须同时为Any或者同时不为Any

  示例

  请求示例

  https://ecs.aliyuncs.com/?SignatureVersion=1.0&Format=json&TimeStamp=2016-05-23T04%3A09%3A16Z&RegionId=cn-shanghai&ForwardEntryId=fwd-11iv34uj7&InternalIp=192.168.1.3&AccessKeyId=jZgi0oyrQ6ihgKp9&ForwardTableId=ftb-11tc6xgmv&SignatureMethod=HMAC-SHA1&Version=2014-05-26&Signature=DM6q9yvEuEPSryxJtyLlN4S2hXE%3D&action=ModifyForwardEntry&SignatureNonce=1daf567d-209c-11e6-aba8-2cf0ee28adf2

  返回示例

  XML格式

  暂略

  JSON格式

  { "RequestId": "24CC85DC-7700-4F09-9624-99E988C7DD03"}

本网站由川南居提供技术支持,fkzxf版权所有 浙ICP备12031891号