CreateLocalSourceIpPortTranslationNatRule

Last Updated At: 2026-08-02 00:06:16

1. Interface Description

Interface request domain name: vpc.api3.convergecloud.com.

Create local source IP port translation for a Direct Connect gateway

Default interface request rate limit: 20 times per second.

Interface update time: 2020-03-10 19:00:01.

The interface is both signature verification and authentication.

2. Input Parameters

The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.

Parameter name Required Allow NULL Type Description
Action Yes No String Public parameter, The value of this interface: CreateLocalSourceIpPortTranslationNatRule
Version Yes No String Public parameter, The value of this interface: 2017-03-12
Region No No String Public parameter,Regional information A list of supported geographies is available through the DescribeRegions interface
DirectConnectGatewayId Yes No String Direct connect gateway ID
Example: dcg-e6mxyyvj
VpcId Yes No String Character-type VPCID
Example: vpc-67wlqf6v
LocalSourceIpPortTranslationNatRuleSet Yes No Array of LocalSourceIpPortTranslationNatRule Local source IP port translation list
Example:View

3. Output Parameters

Parameter name Type Description
TaskId Uint64 Asynchronous task TaskId. Task status can be queried using the DescribeTaskResult API.
Example: 65535
RequestId String Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem.

4. Error Code

The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.

Error Code Description
InvalidParameterValue The parameter value is invalid.
InvalidParameter Invalid input parameters.
LimitExceeded Exceeded the limit
InternalServerError Internal operation error.
InvalidParameterValue.InVpcCidr It cannot be within the VPC CIDR range.
InvalidParameterValue.NotInVpcCidr It must be within the VPC CIDR range.
InvalidParameterValue.IpExists It already exists in the rules.
InvalidParameterValue.IpNotExists It does not exist within the rules.
InvalidParameterValue.NatRuleExists Existed
InvalidParameterValue.AclRuleExists The Direct Connect gateway ACL rule already exists.
InvalidParameterValue.NatRuleNotExists The Direct Connect gateway NAT rule does not exist.
InvalidParameterValue.AclRuleNotExists The Direct Connect gateway ACL rule does not exist.
InvalidParameterValue.VpgVpcNotMatch The Direct Connect gateway does not exist or is not associated with the VPC.
InvalidParameterValue.NotNatVpg It's not a NAT type Direct Connect gateway.
InvalidParameter.InvalidPortType Port Type Error
InvalidParameterValue.Duplicate Input Parameters are repetitive.
InvalidParameterValue.Empty Missing parameter