ModifyForwardEntry
Description
Call the ModifyForwardEntry interface to modify the specified DNAT entry.
Request Method
POST
Request Path
/apsara/route/Vpc/ModifyForwardEntry
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
ExternalPort | BODY | string | No | 80 | public network port. Value range:1~65535. |
version | BODY | string | No | 2016-01-01 | version of api |
ForwardTableId | BODY | string | Yes | ftb-8vbx8xu2lqj9qb334h0ow | DNAT list ID. |
ExternalIp | BODY | string | No | 116.XX.XX.28 | public IP address. |
ForwardEntryId | BODY | string | Yes | fwd-8vbn3bc8roygjp0gy3xk7 | The ID of the DNAT entry. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
IpProtocol | BODY | string | No | TCP | protocol type. Value: TCP: Forwarding TCP protocol messages. UDP: Forwarding UDP protocol messages. Any: forward messages of all protocols. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID where the NAT gateway is located. You can obtain the region ID by calling the DescribeRegions interface. |
InternalPort | BODY | string | No | 80 | target private network port. Value range:1~65535. |
ClientToken | BODY | string | No | 123e4567-e89b-12d3-a456-42665544**** | Ensure request idempotence. Generate a parameter value from your client to ensure that the parameter value is unique between different requests. Only ASCII characters are supported and cannot exceed 64 characters. |
ForwardEntryName | BODY | string | No | ForwardEntry-1 | The name of the DNAT entry. is 2 to 128 characters in length and must start with letters or Chinese, but cannot be http:// or https://. |
InternalIp | BODY | string | No | 10.XX.XX.78 | target private network IP. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}