CreateForwardEntry_云服务器 ECS_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
vpc:CreateForwardEntry
Create
ForwardTable
acs:vpc:{#regionId}:{#accountId}:forwardtable/{#ForwardTableId}

请求参数

字段名称字段详情
RegionIdstring
ForwardTableIdstring
ExternalIpstring
ExternalPortstring
InternalIpstring
InternalPortstring
IpProtocolstring

返回参数

字段名称字段详情
ForwardEntryIdstring
RequestIdstring

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
OperationUnsupported.ForwardEntry
Duplicated destination ip port is unsupported.诊断
400
InvalidExternalIp.Malformed
The specified ExternalIp is not a valid IP address.诊断
400
InvalidInternalIp.Malformed
The specified InternalIp is not a valid IP address.诊断
400
InvalidExternalPort.Malformed
The specified ExternalPort is not a valid port.诊断
400
InvalidInternalPort.Malformed
The specified InternalPort is not a valid port.诊断
400
Forbidden.DestnationIpOutOfVpcCIDR
The specified Internal Ip is Out of VPC CIDR.诊断
400
InvalidProtocal.ValueNotSupported
The specified IpProtocol does not support.诊断
400
IncorretForwardEntryStatus
Some Forward entry status blocked this operation..诊断
400
QuotaExceeded
Forward entry quota exceeded in this route table.诊断
400
ForwardEntry.Duplicated
The specified ExternalIp, IpProtocol, ExternalPort,InternalIp, InternalPort is duplicated.诊断
400
Invalid.natgwNotExist
The specified natgateway not exist.诊断
400
InvalidIp.NotInNatgw
The specified ip not belong to natgateway.诊断
400
MissingParameter
Missing mandatory parameter.诊断
400
OperationFailed.InstacneBindEip
Private ip instance already bind eip.诊断
400
DuplicatedParam.ExternalPort
The param of %s is duplicated.诊断
400
DuplicatedParam.InternalPort
The param of %s is duplicated.诊断
400
UnsupportedFeature.PrivateLinkEnabled
The feature of PrivateLinkEnabled is not supported.诊断
400
UnsupportedFeature.PortSegment
The feature of PortSegment is not supported.诊断
400
ExclusiveParam.%sAnd%s
The param of %s and %s are mutually exclusive.诊断
400
OperationFailed.AnyPortConfig
Operation failed because any port correspondence any protocol.诊断
400
QuotaExceeded.ForwardEntry
The quota of %s is exceeded, usage %s/%s.诊断
400
IncorrectStatus.NatIp
The status of %s [%s] is incorrect.诊断
400
Forbidden.IpHasBeenUsedInSnat
The source ip can't be used. Because it has been used in snat.诊断
400
Forbidden.DestinationIpOutOfVswitchCIDR
The specified Internal Ip is Out of VSwitch CIDR.诊断
400
Forbidden.ExternalIp.UsedInSnatTable
The specified ExternalIp is already used in SnatTable.诊断
400
Forbidden.InternalIpOutOfVpcCIDR
The specified Internal Ip is Out of VPC CIDR.诊断
400
AnyPort.PortMustBeZero
Any port port must be zero.诊断
400
InvalidParameter.Name.Malformed
The specified Name is not valid.诊断
400
IncorrectStatus.ForwardEntry
The status of %s [%s] is incorrect.诊断
400
Duplicated.DestinationPort
The specified param DestinationPort is duplicated.诊断
400
OperationUnsupported.EipInBinding
Create snat entry with eip in associating status is unsupported.诊断
400
QuotaExceeded.ForwardEntrySessionManytoOne
The dnat session quota is exceed.诊断
400
DuplicatedParam.%s
The param of %s is duplicated.诊断
400
UnsupportedFeature.%s
The feature of %s is not supported.诊断
400
Operation.Conflict
The operation may conflicts with others.诊断
404
InvalidRegionId.NotFound
The specified RegionId does not exist in our records.诊断
404
InvalidForwardTableId.NotFound
Specified forward table does not exist.诊断
404
InvalidExternalIp.NotFound
Specified External Ip address does not found on the VRouter.诊断
404
ResourceNotFound.NatIp
The specified resource of %s is not found.诊断
500
InternalError
The request processing has failed due to some unknown error.诊断
500
System.Error
ERROR SYSTEM ERROR.诊断

变更历史

变更时间变更内容概要操作
2023-04-24
变更错误码400
2022-01-18
新增deprecated
2021-06-11
变更错误码400

相关示例