All Products
Search
Document Center

ENS:ModifyForwardEntry

Last Updated:Mar 12, 2024

Modifies a Destination Network Address Translation (DNAT) rule.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ForwardEntryIdstringYes

The ID of the DNAT entry.

dnat-5tfjp3537mi6iokl59g5c****
ForwardEntryNamestringNo

The name of the DNAT entry. The name must be 2 to 128 characters in length. It cannot start with http:// or https://.

test0
HealthCheckPortintegerNo

The probe port. The port must be within the internal port range. By default, this parameter is left empty.

80

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

Examples

Sample success responses

JSONformat

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

Error codes

HTTP status codeError codeError message
400ens.interface.error An error occurred while call the API.
400InvalidParameter.HealthCheckPortHealthCheckPort is not in the range of InternalPort
400InvalidParameter.DnatNotFound The specified dnat is not found.
400Missing%sYou must specify the parameter %s.
400Invalid%sThe specified parameter %s is invalid.
400NoPermissionPermission denied.
400InvalidParameter.%sThe specified field %s invalid. Please check it again.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history