published on Friday, Mar 27, 2026 by tencentcloudstack
published on Friday, Mar 27, 2026 by tencentcloudstack
Provides a resource to create a VPC private nat gateway translation acl rule
Example Usage
If translation_type is NETWORK_LAYER
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VpcPrivateNatGatewayTranslationAclRule("example", {
natGatewayId: "intranat-bw389ya1",
translationDirection: "LOCAL",
translationType: "NETWORK_LAYER",
translationIp: "2.2.2.2",
originalIp: "1.1.1.1",
translationAclRules: {
protocol: "TCP",
sourcePort: "80",
destinationPort: "8080",
destinationCidr: "8.8.8.8",
description: "remark.",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VpcPrivateNatGatewayTranslationAclRule("example",
nat_gateway_id="intranat-bw389ya1",
translation_direction="LOCAL",
translation_type="NETWORK_LAYER",
translation_ip="2.2.2.2",
original_ip="1.1.1.1",
translation_acl_rules={
"protocol": "TCP",
"source_port": "80",
"destination_port": "8080",
"destination_cidr": "8.8.8.8",
"description": "remark.",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewVpcPrivateNatGatewayTranslationAclRule(ctx, "example", &tencentcloud.VpcPrivateNatGatewayTranslationAclRuleArgs{
NatGatewayId: pulumi.String("intranat-bw389ya1"),
TranslationDirection: pulumi.String("LOCAL"),
TranslationType: pulumi.String("NETWORK_LAYER"),
TranslationIp: pulumi.String("2.2.2.2"),
OriginalIp: pulumi.String("1.1.1.1"),
TranslationAclRules: &tencentcloud.VpcPrivateNatGatewayTranslationAclRuleTranslationAclRulesArgs{
Protocol: pulumi.String("TCP"),
SourcePort: pulumi.String("80"),
DestinationPort: pulumi.String("8080"),
DestinationCidr: pulumi.String("8.8.8.8"),
Description: pulumi.String("remark."),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.VpcPrivateNatGatewayTranslationAclRule("example", new()
{
NatGatewayId = "intranat-bw389ya1",
TranslationDirection = "LOCAL",
TranslationType = "NETWORK_LAYER",
TranslationIp = "2.2.2.2",
OriginalIp = "1.1.1.1",
TranslationAclRules = new Tencentcloud.Inputs.VpcPrivateNatGatewayTranslationAclRuleTranslationAclRulesArgs
{
Protocol = "TCP",
SourcePort = "80",
DestinationPort = "8080",
DestinationCidr = "8.8.8.8",
Description = "remark.",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VpcPrivateNatGatewayTranslationAclRule;
import com.pulumi.tencentcloud.VpcPrivateNatGatewayTranslationAclRuleArgs;
import com.pulumi.tencentcloud.inputs.VpcPrivateNatGatewayTranslationAclRuleTranslationAclRulesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new VpcPrivateNatGatewayTranslationAclRule("example", VpcPrivateNatGatewayTranslationAclRuleArgs.builder()
.natGatewayId("intranat-bw389ya1")
.translationDirection("LOCAL")
.translationType("NETWORK_LAYER")
.translationIp("2.2.2.2")
.originalIp("1.1.1.1")
.translationAclRules(VpcPrivateNatGatewayTranslationAclRuleTranslationAclRulesArgs.builder()
.protocol("TCP")
.sourcePort("80")
.destinationPort("8080")
.destinationCidr("8.8.8.8")
.description("remark.")
.build())
.build());
}
}
resources:
example:
type: tencentcloud:VpcPrivateNatGatewayTranslationAclRule
properties:
natGatewayId: intranat-bw389ya1
translationDirection: LOCAL
translationType: NETWORK_LAYER
translationIp: 2.2.2.2
originalIp: 1.1.1.1
translationAclRules:
protocol: TCP
sourcePort: '80'
destinationPort: '8080'
destinationCidr: 8.8.8.8
description: remark.
If translation_type is NETWORK_LAYER
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VpcPrivateNatGatewayTranslationAclRule("example", {
natGatewayId: "intranat-bw389ya1",
translationDirection: "LOCAL",
translationType: "TRANSPORT_LAYER",
translationIp: "3.3.3.3",
translationAclRules: {
protocol: "ALL",
sourcePort: "0-65535",
sourceCidr: "2.2.2.2",
destinationPort: "0-65535",
destinationCidr: "3.3.3.3",
description: "remark.",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VpcPrivateNatGatewayTranslationAclRule("example",
nat_gateway_id="intranat-bw389ya1",
translation_direction="LOCAL",
translation_type="TRANSPORT_LAYER",
translation_ip="3.3.3.3",
translation_acl_rules={
"protocol": "ALL",
"source_port": "0-65535",
"source_cidr": "2.2.2.2",
"destination_port": "0-65535",
"destination_cidr": "3.3.3.3",
"description": "remark.",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewVpcPrivateNatGatewayTranslationAclRule(ctx, "example", &tencentcloud.VpcPrivateNatGatewayTranslationAclRuleArgs{
NatGatewayId: pulumi.String("intranat-bw389ya1"),
TranslationDirection: pulumi.String("LOCAL"),
TranslationType: pulumi.String("TRANSPORT_LAYER"),
TranslationIp: pulumi.String("3.3.3.3"),
TranslationAclRules: &tencentcloud.VpcPrivateNatGatewayTranslationAclRuleTranslationAclRulesArgs{
Protocol: pulumi.String("ALL"),
SourcePort: pulumi.String("0-65535"),
SourceCidr: pulumi.String("2.2.2.2"),
DestinationPort: pulumi.String("0-65535"),
DestinationCidr: pulumi.String("3.3.3.3"),
Description: pulumi.String("remark."),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.VpcPrivateNatGatewayTranslationAclRule("example", new()
{
NatGatewayId = "intranat-bw389ya1",
TranslationDirection = "LOCAL",
TranslationType = "TRANSPORT_LAYER",
TranslationIp = "3.3.3.3",
TranslationAclRules = new Tencentcloud.Inputs.VpcPrivateNatGatewayTranslationAclRuleTranslationAclRulesArgs
{
Protocol = "ALL",
SourcePort = "0-65535",
SourceCidr = "2.2.2.2",
DestinationPort = "0-65535",
DestinationCidr = "3.3.3.3",
Description = "remark.",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VpcPrivateNatGatewayTranslationAclRule;
import com.pulumi.tencentcloud.VpcPrivateNatGatewayTranslationAclRuleArgs;
import com.pulumi.tencentcloud.inputs.VpcPrivateNatGatewayTranslationAclRuleTranslationAclRulesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new VpcPrivateNatGatewayTranslationAclRule("example", VpcPrivateNatGatewayTranslationAclRuleArgs.builder()
.natGatewayId("intranat-bw389ya1")
.translationDirection("LOCAL")
.translationType("TRANSPORT_LAYER")
.translationIp("3.3.3.3")
.translationAclRules(VpcPrivateNatGatewayTranslationAclRuleTranslationAclRulesArgs.builder()
.protocol("ALL")
.sourcePort("0-65535")
.sourceCidr("2.2.2.2")
.destinationPort("0-65535")
.destinationCidr("3.3.3.3")
.description("remark.")
.build())
.build());
}
}
resources:
example:
type: tencentcloud:VpcPrivateNatGatewayTranslationAclRule
properties:
natGatewayId: intranat-bw389ya1
translationDirection: LOCAL
translationType: TRANSPORT_LAYER
translationIp: 3.3.3.3
translationAclRules:
protocol: ALL
sourcePort: 0-65535
sourceCidr: 2.2.2.2
destinationPort: 0-65535
destinationCidr: 3.3.3.3
description: remark.
Create VpcPrivateNatGatewayTranslationAclRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcPrivateNatGatewayTranslationAclRule(name: string, args: VpcPrivateNatGatewayTranslationAclRuleArgs, opts?: CustomResourceOptions);@overload
def VpcPrivateNatGatewayTranslationAclRule(resource_name: str,
args: VpcPrivateNatGatewayTranslationAclRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcPrivateNatGatewayTranslationAclRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
nat_gateway_id: Optional[str] = None,
translation_acl_rules: Optional[VpcPrivateNatGatewayTranslationAclRuleTranslationAclRulesArgs] = None,
translation_direction: Optional[str] = None,
translation_ip: Optional[str] = None,
translation_type: Optional[str] = None,
original_ip: Optional[str] = None,
vpc_private_nat_gateway_translation_acl_rule_id: Optional[str] = None)func NewVpcPrivateNatGatewayTranslationAclRule(ctx *Context, name string, args VpcPrivateNatGatewayTranslationAclRuleArgs, opts ...ResourceOption) (*VpcPrivateNatGatewayTranslationAclRule, error)public VpcPrivateNatGatewayTranslationAclRule(string name, VpcPrivateNatGatewayTranslationAclRuleArgs args, CustomResourceOptions? opts = null)
public VpcPrivateNatGatewayTranslationAclRule(String name, VpcPrivateNatGatewayTranslationAclRuleArgs args)
public VpcPrivateNatGatewayTranslationAclRule(String name, VpcPrivateNatGatewayTranslationAclRuleArgs args, CustomResourceOptions options)
type: tencentcloud:VpcPrivateNatGatewayTranslationAclRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VpcPrivateNatGatewayTranslationAclRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VpcPrivateNatGatewayTranslationAclRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VpcPrivateNatGatewayTranslationAclRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcPrivateNatGatewayTranslationAclRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcPrivateNatGatewayTranslationAclRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
VpcPrivateNatGatewayTranslationAclRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VpcPrivateNatGatewayTranslationAclRule resource accepts the following input properties:
- Nat
Gateway stringId - The unique ID of the private NAT gateway, in the format:
intranat-xxxxxxxx. - Translation
Acl VpcRules Private Nat Gateway Translation Acl Rule Translation Acl Rules - Access control list.
- Translation
Direction string - The target of the translation rule, optional value: LOCAL.
- Translation
Ip string - The mapped IP address. When the translation rule type is layer 4, it represents an IP pool.
- Translation
Type string - The type of translation rule, optional values: NETWORK_LAYER, TRANSPORT_LAYER. Corresponding to layer 3 and layer 4 respectively.
- Original
Ip string - The original IP address before mapping. Valid when the translation rule type is layer 3.
- Vpc
Private stringNat Gateway Translation Acl Rule Id - ID of the resource.
- Nat
Gateway stringId - The unique ID of the private NAT gateway, in the format:
intranat-xxxxxxxx. - Translation
Acl VpcRules Private Nat Gateway Translation Acl Rule Translation Acl Rules Args - Access control list.
- Translation
Direction string - The target of the translation rule, optional value: LOCAL.
- Translation
Ip string - The mapped IP address. When the translation rule type is layer 4, it represents an IP pool.
- Translation
Type string - The type of translation rule, optional values: NETWORK_LAYER, TRANSPORT_LAYER. Corresponding to layer 3 and layer 4 respectively.
- Original
Ip string - The original IP address before mapping. Valid when the translation rule type is layer 3.
- Vpc
Private stringNat Gateway Translation Acl Rule Id - ID of the resource.
- nat
Gateway StringId - The unique ID of the private NAT gateway, in the format:
intranat-xxxxxxxx. - translation
Acl VpcRules Private Nat Gateway Translation Acl Rule Translation Acl Rules - Access control list.
- translation
Direction String - The target of the translation rule, optional value: LOCAL.
- translation
Ip String - The mapped IP address. When the translation rule type is layer 4, it represents an IP pool.
- translation
Type String - The type of translation rule, optional values: NETWORK_LAYER, TRANSPORT_LAYER. Corresponding to layer 3 and layer 4 respectively.
- original
Ip String - The original IP address before mapping. Valid when the translation rule type is layer 3.
- vpc
Private StringNat Gateway Translation Acl Rule Id - ID of the resource.
- nat
Gateway stringId - The unique ID of the private NAT gateway, in the format:
intranat-xxxxxxxx. - translation
Acl VpcRules Private Nat Gateway Translation Acl Rule Translation Acl Rules - Access control list.
- translation
Direction string - The target of the translation rule, optional value: LOCAL.
- translation
Ip string - The mapped IP address. When the translation rule type is layer 4, it represents an IP pool.
- translation
Type string - The type of translation rule, optional values: NETWORK_LAYER, TRANSPORT_LAYER. Corresponding to layer 3 and layer 4 respectively.
- original
Ip string - The original IP address before mapping. Valid when the translation rule type is layer 3.
- vpc
Private stringNat Gateway Translation Acl Rule Id - ID of the resource.
- nat_
gateway_ strid - The unique ID of the private NAT gateway, in the format:
intranat-xxxxxxxx. - translation_
acl_ Vpcrules Private Nat Gateway Translation Acl Rule Translation Acl Rules Args - Access control list.
- translation_
direction str - The target of the translation rule, optional value: LOCAL.
- translation_
ip str - The mapped IP address. When the translation rule type is layer 4, it represents an IP pool.
- translation_
type str - The type of translation rule, optional values: NETWORK_LAYER, TRANSPORT_LAYER. Corresponding to layer 3 and layer 4 respectively.
- original_
ip str - The original IP address before mapping. Valid when the translation rule type is layer 3.
- vpc_
private_ strnat_ gateway_ translation_ acl_ rule_ id - ID of the resource.
- nat
Gateway StringId - The unique ID of the private NAT gateway, in the format:
intranat-xxxxxxxx. - translation
Acl Property MapRules - Access control list.
- translation
Direction String - The target of the translation rule, optional value: LOCAL.
- translation
Ip String - The mapped IP address. When the translation rule type is layer 4, it represents an IP pool.
- translation
Type String - The type of translation rule, optional values: NETWORK_LAYER, TRANSPORT_LAYER. Corresponding to layer 3 and layer 4 respectively.
- original
Ip String - The original IP address before mapping. Valid when the translation rule type is layer 3.
- vpc
Private StringNat Gateway Translation Acl Rule Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcPrivateNatGatewayTranslationAclRule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing VpcPrivateNatGatewayTranslationAclRule Resource
Get an existing VpcPrivateNatGatewayTranslationAclRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VpcPrivateNatGatewayTranslationAclRuleState, opts?: CustomResourceOptions): VpcPrivateNatGatewayTranslationAclRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
nat_gateway_id: Optional[str] = None,
original_ip: Optional[str] = None,
translation_acl_rules: Optional[VpcPrivateNatGatewayTranslationAclRuleTranslationAclRulesArgs] = None,
translation_direction: Optional[str] = None,
translation_ip: Optional[str] = None,
translation_type: Optional[str] = None,
vpc_private_nat_gateway_translation_acl_rule_id: Optional[str] = None) -> VpcPrivateNatGatewayTranslationAclRulefunc GetVpcPrivateNatGatewayTranslationAclRule(ctx *Context, name string, id IDInput, state *VpcPrivateNatGatewayTranslationAclRuleState, opts ...ResourceOption) (*VpcPrivateNatGatewayTranslationAclRule, error)public static VpcPrivateNatGatewayTranslationAclRule Get(string name, Input<string> id, VpcPrivateNatGatewayTranslationAclRuleState? state, CustomResourceOptions? opts = null)public static VpcPrivateNatGatewayTranslationAclRule get(String name, Output<String> id, VpcPrivateNatGatewayTranslationAclRuleState state, CustomResourceOptions options)resources: _: type: tencentcloud:VpcPrivateNatGatewayTranslationAclRule get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Nat
Gateway stringId - The unique ID of the private NAT gateway, in the format:
intranat-xxxxxxxx. - Original
Ip string - The original IP address before mapping. Valid when the translation rule type is layer 3.
- Translation
Acl VpcRules Private Nat Gateway Translation Acl Rule Translation Acl Rules - Access control list.
- Translation
Direction string - The target of the translation rule, optional value: LOCAL.
- Translation
Ip string - The mapped IP address. When the translation rule type is layer 4, it represents an IP pool.
- Translation
Type string - The type of translation rule, optional values: NETWORK_LAYER, TRANSPORT_LAYER. Corresponding to layer 3 and layer 4 respectively.
- Vpc
Private stringNat Gateway Translation Acl Rule Id - ID of the resource.
- Nat
Gateway stringId - The unique ID of the private NAT gateway, in the format:
intranat-xxxxxxxx. - Original
Ip string - The original IP address before mapping. Valid when the translation rule type is layer 3.
- Translation
Acl VpcRules Private Nat Gateway Translation Acl Rule Translation Acl Rules Args - Access control list.
- Translation
Direction string - The target of the translation rule, optional value: LOCAL.
- Translation
Ip string - The mapped IP address. When the translation rule type is layer 4, it represents an IP pool.
- Translation
Type string - The type of translation rule, optional values: NETWORK_LAYER, TRANSPORT_LAYER. Corresponding to layer 3 and layer 4 respectively.
- Vpc
Private stringNat Gateway Translation Acl Rule Id - ID of the resource.
- nat
Gateway StringId - The unique ID of the private NAT gateway, in the format:
intranat-xxxxxxxx. - original
Ip String - The original IP address before mapping. Valid when the translation rule type is layer 3.
- translation
Acl VpcRules Private Nat Gateway Translation Acl Rule Translation Acl Rules - Access control list.
- translation
Direction String - The target of the translation rule, optional value: LOCAL.
- translation
Ip String - The mapped IP address. When the translation rule type is layer 4, it represents an IP pool.
- translation
Type String - The type of translation rule, optional values: NETWORK_LAYER, TRANSPORT_LAYER. Corresponding to layer 3 and layer 4 respectively.
- vpc
Private StringNat Gateway Translation Acl Rule Id - ID of the resource.
- nat
Gateway stringId - The unique ID of the private NAT gateway, in the format:
intranat-xxxxxxxx. - original
Ip string - The original IP address before mapping. Valid when the translation rule type is layer 3.
- translation
Acl VpcRules Private Nat Gateway Translation Acl Rule Translation Acl Rules - Access control list.
- translation
Direction string - The target of the translation rule, optional value: LOCAL.
- translation
Ip string - The mapped IP address. When the translation rule type is layer 4, it represents an IP pool.
- translation
Type string - The type of translation rule, optional values: NETWORK_LAYER, TRANSPORT_LAYER. Corresponding to layer 3 and layer 4 respectively.
- vpc
Private stringNat Gateway Translation Acl Rule Id - ID of the resource.
- nat_
gateway_ strid - The unique ID of the private NAT gateway, in the format:
intranat-xxxxxxxx. - original_
ip str - The original IP address before mapping. Valid when the translation rule type is layer 3.
- translation_
acl_ Vpcrules Private Nat Gateway Translation Acl Rule Translation Acl Rules Args - Access control list.
- translation_
direction str - The target of the translation rule, optional value: LOCAL.
- translation_
ip str - The mapped IP address. When the translation rule type is layer 4, it represents an IP pool.
- translation_
type str - The type of translation rule, optional values: NETWORK_LAYER, TRANSPORT_LAYER. Corresponding to layer 3 and layer 4 respectively.
- vpc_
private_ strnat_ gateway_ translation_ acl_ rule_ id - ID of the resource.
- nat
Gateway StringId - The unique ID of the private NAT gateway, in the format:
intranat-xxxxxxxx. - original
Ip String - The original IP address before mapping. Valid when the translation rule type is layer 3.
- translation
Acl Property MapRules - Access control list.
- translation
Direction String - The target of the translation rule, optional value: LOCAL.
- translation
Ip String - The mapped IP address. When the translation rule type is layer 4, it represents an IP pool.
- translation
Type String - The type of translation rule, optional values: NETWORK_LAYER, TRANSPORT_LAYER. Corresponding to layer 3 and layer 4 respectively.
- vpc
Private StringNat Gateway Translation Acl Rule Id - ID of the resource.
Supporting Types
VpcPrivateNatGatewayTranslationAclRuleTranslationAclRules, VpcPrivateNatGatewayTranslationAclRuleTranslationAclRulesArgs
- Destination
Cidr string - Destination address.
- Destination
Port string - Destination port.
- Protocol string
- ACL protocol type, optional values:
ALL,TCP,UDP. - Source
Port string - Source port.
- Acl
Rule doubleId - ACL rule ID.
- Action double
- Whether to match.
- Description string
- ACL rule description.
- Source
Cidr string - Source address. Supports
iporcidrformatxxx.xxx.xxx.000/xx.
- Destination
Cidr string - Destination address.
- Destination
Port string - Destination port.
- Protocol string
- ACL protocol type, optional values:
ALL,TCP,UDP. - Source
Port string - Source port.
- Acl
Rule float64Id - ACL rule ID.
- Action float64
- Whether to match.
- Description string
- ACL rule description.
- Source
Cidr string - Source address. Supports
iporcidrformatxxx.xxx.xxx.000/xx.
- destination
Cidr String - Destination address.
- destination
Port String - Destination port.
- protocol String
- ACL protocol type, optional values:
ALL,TCP,UDP. - source
Port String - Source port.
- acl
Rule DoubleId - ACL rule ID.
- action Double
- Whether to match.
- description String
- ACL rule description.
- source
Cidr String - Source address. Supports
iporcidrformatxxx.xxx.xxx.000/xx.
- destination
Cidr string - Destination address.
- destination
Port string - Destination port.
- protocol string
- ACL protocol type, optional values:
ALL,TCP,UDP. - source
Port string - Source port.
- acl
Rule numberId - ACL rule ID.
- action number
- Whether to match.
- description string
- ACL rule description.
- source
Cidr string - Source address. Supports
iporcidrformatxxx.xxx.xxx.000/xx.
- destination_
cidr str - Destination address.
- destination_
port str - Destination port.
- protocol str
- ACL protocol type, optional values:
ALL,TCP,UDP. - source_
port str - Source port.
- acl_
rule_ floatid - ACL rule ID.
- action float
- Whether to match.
- description str
- ACL rule description.
- source_
cidr str - Source address. Supports
iporcidrformatxxx.xxx.xxx.000/xx.
- destination
Cidr String - Destination address.
- destination
Port String - Destination port.
- protocol String
- ACL protocol type, optional values:
ALL,TCP,UDP. - source
Port String - Source port.
- acl
Rule NumberId - ACL rule ID.
- action Number
- Whether to match.
- description String
- ACL rule description.
- source
Cidr String - Source address. Supports
iporcidrformatxxx.xxx.xxx.000/xx.
Import
VPC private nat gateway translation acl rule can be imported using the natGatewayId#translationDirection#translationType#translationIp[#originalIp]#aclruleId, e.g.
If translation_type is NETWORK_LAYER
$ pulumi import tencentcloud:index/vpcPrivateNatGatewayTranslationAclRule:VpcPrivateNatGatewayTranslationAclRule example intranat-bw389ya1#LOCAL#NETWORK_LAYER#2.2.2.2#1.1.1.1#23
If translation_type is NETWORK_LAYER
$ pulumi import tencentcloud:index/vpcPrivateNatGatewayTranslationAclRule:VpcPrivateNatGatewayTranslationAclRule example intranat-bw389ya1#LOCAL#TRANSPORT_LAYER#3.3.3.3#25
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
published on Friday, Mar 27, 2026 by tencentcloudstack
