久久96国产精品久久久-久久发布国产伦子伦精品-久久精品国产精品青草-久久天天躁夜夜躁狠狠85麻豆

技術員聯盟提供win764位系統下載,win10,win7,xp,裝機純凈版,64位旗艦版,綠色軟件,免費軟件下載基地!

當前位置:主頁 > 教程 > 服務器類 >

阿里云如何修改端口轉發規則

來源:技術員聯盟┆發布時間:2017-05-02 13:32┆點擊:

  修改端口轉發規則

  描述

  對某一條指定的端口轉發規則進行修改

  對端口轉發規則合法性的所有約束,同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  

  示例

  請求示例