この API は廃止されました。一時的にアクセス可能ですが、更新やバグ修正対応は一切行われません。代わりに Vpc(2016-04-28) - CreateForwardEntry への移行を推奨します。より強化された機能に加え、サポートも引き続きご利用いただけます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:CreateForwardEntry |
create |
*ForwardTable
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
|
|
| ForwardTableId |
string |
必須 |
|
|
| ExternalIp |
string |
必須 |
|
|
| ExternalPort |
string |
必須 |
|
|
| InternalIp |
string |
必須 |
|
|
| InternalPort |
string |
必須 |
|
|
| IpProtocol |
string |
必須 |
|
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|
||
| ForwardEntryId |
string |
|
|
| RequestId |
string |
|
例
成功レスポンス
JSONJSON
{
"ForwardEntryId": "",
"RequestId": ""
}
エラーコード
|
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. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 500 | System.Error | ERROR SYSTEM ERROR. | |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。