Tenant Cloud
Network
Virtual Private Cloud
NAT Gateway APIs
CreateNatGatewaySourceIpTranslationNatRule
1. Interface Description
Interface request domain name: vpc.api3.convergecloud.com.
This API (CreateNatGatewaySourceIpTranslationNatRule) is used to create NAT gateway SNAT rules.
Default interface request rate limit: 20 times per second.
Interface update time: 2023-08-30 23:20:38.
The interface only verifies the signature but does not authenticate.
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: CreateNatGatewaySourceIpTranslationNatRule |
| 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 |
| NatGatewayId | Yes | No | String | NAT gateway ID, e.g., "nat-df45454". Example: nat-3isn9hr0 |
| SourceIpTranslationNatRules | Yes | No | Array of SourceIpTranslationNatRule | NAT gateway SNAT translation rules Example:View |
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 |
|---|---|
| InternalServerError | Internal operation error. |
| LimitExceeded | Exceeded the limit |
| UnknownParameter | Unknown parameter error |
| UnsupportedOperation | Operation unsupported. |
| MissingParameter | Missing parameters. The request did not carry the required parameter. |
| InvalidParameterValue | The parameter value is invalid. |
| InvalidParameter | Invalid input parameters. |
| InvalidParameterValue.Malformed | Invalid input format. |
| ResourceNotFound | The resource does not exist |
| InternalServerError | Internal operation error. |
| UnsupportedOperation.UnbindEIP | No EIP is bound. |
| UnsupportedOperation | Operation unsupported. |