Note:
This is a legacy API which has been hidden and will no longer be updated. We recommend using the new VPC API 3.0 which is standardized and faster.
This API (DeleteLocalIPTranslationAclRule) is used to delete the ACL rules for local IP translation.
Domain for API request:vpc.api.qcloud.com
The following request parameter list only provides API request parameters. Common request parameters need to be added when the API is called. For more information, refer to Common Request Parameters. The Action field for this API is DeleteLocalIPTranslationAclRule.
Parameter Name | Required | Type | Description |
---|---|---|---|
vpcId | Yes | String | Virtual private cloud ID assigned by the system, for example: vpc-dfg5445. |
directConnectGatewayId | Yes | String | Direct Connect gateway ID assigned by the system, for example: dcg-4d545d. |
originalIP | Yes | String | Original IP. |
translationIP | Yes | String | Translated IP. |
aclRules.n | Yes | Array | ID array of ACL rules, for example: aclRules.0=25. |
Parameter Name | Type | Description |
---|---|---|
code | Int | Common error code. A value of 0 indicates success, and other values indicate failure. For more information, please refer to Common Error Codes on the Error Code page. |
message | String | Module error message description depending on API. |
The following list only provides the business logic error codes for this API. For additional common error codes, refer to VPC Error Codes.
Error Code | Description |
---|---|
InvalidVpc.NotFound | Invalid VPC. VPC resource does not exist. Please verify that you have entered resource information correctly. This can be queried via the Querying Virtual Private Cloud List (DescribeVpcEx) API. |
InvalidDirectConnectGateway.NotFound | Invalid Direct Connect gateway. Direct Connect gateway resource does not exist. Please verify that you have entered resource information correctly. This can be queried via the Querying Direct Connect Gateway (DescribeDirectConnectGateway) API. |
InvalidLocalIPTranslation.NotFound | Invalid local IP translation rule. Local IP translation rule does not exist. Please verify that you have entered resource information correctly. |
Input
https://vpc.api.qcloud.com/v2/index.php?Action=DeleteLocalIPTranslationAclRule &<Common request parameters> &vpcId=vpc-dfgg190 &directConnectGatewayId=dcg-ddf14d &originalIP=10.0.0.5 &translationIP=138.0.0.11 &aclRules.0=25
Output
{
"code":"0",
"message":""
}
Was this page helpful?