Tenant Cloud
Network
Virtual Private Cloud
Direct Connect Gateway APIs
ModifyLocalDestinationIpPortTranslationNatRule
1. Interface Description
Interface request domain name: vpc.api3.convergecloud.com.
Modify the local destination IP port translation for a Direct Connect gateway
Default interface request rate limit: 20 times per second.
Interface update time: 2022-11-02 20:08:25.
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: ModifyLocalDestinationIpPortTranslationNatRule |
| 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 |
| OldProtocol | Yes | No | String | Old Protocol Example: tcp |
| OldOriginalPort | Yes | No | Int64 | Legacy source port Example: 80 |
| OldOriginalIp | Yes | No | String | Legacy source IP Example: 10.0.0.5 |
| OldTranslationPort | Yes | No | Int64 | Legacy destination port Example: 80 |
| OldTranslationIp | Yes | No | String | Legacy destination IP Example: 2.2.2.2 |
| Protocol | No | No | String | Modified Protocol Example: tcp |
| OriginalPort | No | No | Int64 | Modified Source Port Example: 80 |
| OriginalIp | No | No | String | Modified Source IP Example: 10.0.0.5 |
| TranslationPort | No | No | Int64 | Modified Destination Port Example: 80 |
| TranslationIp | No | No | String | Modified destination IP Example: 2.2.2.2 |
| Description | No | No | String | Description after modification Example: for_demo |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| 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 |