published on Friday, May 29, 2026 by tencentcloudstack
published on Friday, May 29, 2026 by tencentcloudstack
Provides a resource to create a VPC private nat gateway translation nat rule
NOTE: This resource must exclusive in one share unit, do not declare additional translation nat rules resources of this nat gateway elsewhere.
NOTE: Append-only convention for typed lists: The provider preserves the API’s authoritative order in state (rules are currently ordered by creation time at the backend, and may gain user-defined ordering semantics in the future). To keep plans clean and avoid spurious churn, add new rules ONLY at the end of each typed list, and do NOT reorder or insert rules in the middle of an existing list. Inserting in the middle, removing from the middle, or reordering will produce a connected
~plan and may trigger uniqueness errors at apply time (e.g.MODIFYon slot N attempts to rename rule A’s IP to rule B’s still-existing IP). When that happens, the SDK error message points at the offending IP — fix the HCL by appending instead of inserting.
Example Usage
Recommended typed list usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VpcPrivateNatGatewayTranslationNatRule("example", {
natGatewayId: "intranat-r46f6pxl",
localNetworkLayerRules: [{
translationIp: "2.2.2.2",
originalIp: "1.1.1.1",
description: "LOCAL three-layer rule.",
}],
localTransportLayerRules: [{
translationIp: "3.3.3.3",
description: "LOCAL four-layer rule.",
}],
peerNetworkLayerRules: [{
translationIp: "5.5.5.5",
originalIp: "4.4.4.4",
description: "PEER three-layer rule.",
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VpcPrivateNatGatewayTranslationNatRule("example",
nat_gateway_id="intranat-r46f6pxl",
local_network_layer_rules=[{
"translation_ip": "2.2.2.2",
"original_ip": "1.1.1.1",
"description": "LOCAL three-layer rule.",
}],
local_transport_layer_rules=[{
"translation_ip": "3.3.3.3",
"description": "LOCAL four-layer rule.",
}],
peer_network_layer_rules=[{
"translation_ip": "5.5.5.5",
"original_ip": "4.4.4.4",
"description": "PEER three-layer rule.",
}])
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.NewVpcPrivateNatGatewayTranslationNatRule(ctx, "example", &tencentcloud.VpcPrivateNatGatewayTranslationNatRuleArgs{
NatGatewayId: pulumi.String("intranat-r46f6pxl"),
LocalNetworkLayerRules: tencentcloud.VpcPrivateNatGatewayTranslationNatRuleLocalNetworkLayerRuleArray{
&tencentcloud.VpcPrivateNatGatewayTranslationNatRuleLocalNetworkLayerRuleArgs{
TranslationIp: pulumi.String("2.2.2.2"),
OriginalIp: pulumi.String("1.1.1.1"),
Description: pulumi.String("LOCAL three-layer rule."),
},
},
LocalTransportLayerRules: tencentcloud.VpcPrivateNatGatewayTranslationNatRuleLocalTransportLayerRuleArray{
&tencentcloud.VpcPrivateNatGatewayTranslationNatRuleLocalTransportLayerRuleArgs{
TranslationIp: pulumi.String("3.3.3.3"),
Description: pulumi.String("LOCAL four-layer rule."),
},
},
PeerNetworkLayerRules: tencentcloud.VpcPrivateNatGatewayTranslationNatRulePeerNetworkLayerRuleArray{
&tencentcloud.VpcPrivateNatGatewayTranslationNatRulePeerNetworkLayerRuleArgs{
TranslationIp: pulumi.String("5.5.5.5"),
OriginalIp: pulumi.String("4.4.4.4"),
Description: pulumi.String("PEER three-layer rule."),
},
},
})
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.VpcPrivateNatGatewayTranslationNatRule("example", new()
{
NatGatewayId = "intranat-r46f6pxl",
LocalNetworkLayerRules = new[]
{
new Tencentcloud.Inputs.VpcPrivateNatGatewayTranslationNatRuleLocalNetworkLayerRuleArgs
{
TranslationIp = "2.2.2.2",
OriginalIp = "1.1.1.1",
Description = "LOCAL three-layer rule.",
},
},
LocalTransportLayerRules = new[]
{
new Tencentcloud.Inputs.VpcPrivateNatGatewayTranslationNatRuleLocalTransportLayerRuleArgs
{
TranslationIp = "3.3.3.3",
Description = "LOCAL four-layer rule.",
},
},
PeerNetworkLayerRules = new[]
{
new Tencentcloud.Inputs.VpcPrivateNatGatewayTranslationNatRulePeerNetworkLayerRuleArgs
{
TranslationIp = "5.5.5.5",
OriginalIp = "4.4.4.4",
Description = "PEER three-layer rule.",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VpcPrivateNatGatewayTranslationNatRule;
import com.pulumi.tencentcloud.VpcPrivateNatGatewayTranslationNatRuleArgs;
import com.pulumi.tencentcloud.inputs.VpcPrivateNatGatewayTranslationNatRuleLocalNetworkLayerRuleArgs;
import com.pulumi.tencentcloud.inputs.VpcPrivateNatGatewayTranslationNatRuleLocalTransportLayerRuleArgs;
import com.pulumi.tencentcloud.inputs.VpcPrivateNatGatewayTranslationNatRulePeerNetworkLayerRuleArgs;
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 VpcPrivateNatGatewayTranslationNatRule("example", VpcPrivateNatGatewayTranslationNatRuleArgs.builder()
.natGatewayId("intranat-r46f6pxl")
.localNetworkLayerRules(VpcPrivateNatGatewayTranslationNatRuleLocalNetworkLayerRuleArgs.builder()
.translationIp("2.2.2.2")
.originalIp("1.1.1.1")
.description("LOCAL three-layer rule.")
.build())
.localTransportLayerRules(VpcPrivateNatGatewayTranslationNatRuleLocalTransportLayerRuleArgs.builder()
.translationIp("3.3.3.3")
.description("LOCAL four-layer rule.")
.build())
.peerNetworkLayerRules(VpcPrivateNatGatewayTranslationNatRulePeerNetworkLayerRuleArgs.builder()
.translationIp("5.5.5.5")
.originalIp("4.4.4.4")
.description("PEER three-layer rule.")
.build())
.build());
}
}
resources:
example:
type: tencentcloud:VpcPrivateNatGatewayTranslationNatRule
properties:
natGatewayId: intranat-r46f6pxl
localNetworkLayerRules:
- translationIp: 2.2.2.2
originalIp: 1.1.1.1
description: LOCAL three-layer rule.
localTransportLayerRules:
- translationIp: 3.3.3.3
description: LOCAL four-layer rule.
peerNetworkLayerRules:
- translationIp: 5.5.5.5
originalIp: 4.4.4.4
description: PEER three-layer rule.
Example coming soon!
Deprecated translation_nat_rules usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const exampleDeprecated = new tencentcloud.VpcPrivateNatGatewayTranslationNatRule("example_deprecated", {
natGatewayId: "intranat-r46f6pxl",
translationNatRules: [
{
translationDirection: "LOCAL",
translationType: "NETWORK_LAYER",
translationIp: "2.2.2.2",
description: "remark.",
originalIp: "1.1.1.1",
},
{
translationDirection: "LOCAL",
translationType: "TRANSPORT_LAYER",
translationIp: "3.3.3.3",
description: "remark.",
},
],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example_deprecated = tencentcloud.VpcPrivateNatGatewayTranslationNatRule("example_deprecated",
nat_gateway_id="intranat-r46f6pxl",
translation_nat_rules=[
{
"translation_direction": "LOCAL",
"translation_type": "NETWORK_LAYER",
"translation_ip": "2.2.2.2",
"description": "remark.",
"original_ip": "1.1.1.1",
},
{
"translation_direction": "LOCAL",
"translation_type": "TRANSPORT_LAYER",
"translation_ip": "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.NewVpcPrivateNatGatewayTranslationNatRule(ctx, "example_deprecated", &tencentcloud.VpcPrivateNatGatewayTranslationNatRuleArgs{
NatGatewayId: pulumi.String("intranat-r46f6pxl"),
TranslationNatRules: tencentcloud.VpcPrivateNatGatewayTranslationNatRuleTranslationNatRuleArray{
&tencentcloud.VpcPrivateNatGatewayTranslationNatRuleTranslationNatRuleArgs{
TranslationDirection: pulumi.String("LOCAL"),
TranslationType: pulumi.String("NETWORK_LAYER"),
TranslationIp: pulumi.String("2.2.2.2"),
Description: pulumi.String("remark."),
OriginalIp: pulumi.String("1.1.1.1"),
},
&tencentcloud.VpcPrivateNatGatewayTranslationNatRuleTranslationNatRuleArgs{
TranslationDirection: pulumi.String("LOCAL"),
TranslationType: pulumi.String("TRANSPORT_LAYER"),
TranslationIp: 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 exampleDeprecated = new Tencentcloud.VpcPrivateNatGatewayTranslationNatRule("example_deprecated", new()
{
NatGatewayId = "intranat-r46f6pxl",
TranslationNatRules = new[]
{
new Tencentcloud.Inputs.VpcPrivateNatGatewayTranslationNatRuleTranslationNatRuleArgs
{
TranslationDirection = "LOCAL",
TranslationType = "NETWORK_LAYER",
TranslationIp = "2.2.2.2",
Description = "remark.",
OriginalIp = "1.1.1.1",
},
new Tencentcloud.Inputs.VpcPrivateNatGatewayTranslationNatRuleTranslationNatRuleArgs
{
TranslationDirection = "LOCAL",
TranslationType = "TRANSPORT_LAYER",
TranslationIp = "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.VpcPrivateNatGatewayTranslationNatRule;
import com.pulumi.tencentcloud.VpcPrivateNatGatewayTranslationNatRuleArgs;
import com.pulumi.tencentcloud.inputs.VpcPrivateNatGatewayTranslationNatRuleTranslationNatRuleArgs;
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 exampleDeprecated = new VpcPrivateNatGatewayTranslationNatRule("exampleDeprecated", VpcPrivateNatGatewayTranslationNatRuleArgs.builder()
.natGatewayId("intranat-r46f6pxl")
.translationNatRules(
VpcPrivateNatGatewayTranslationNatRuleTranslationNatRuleArgs.builder()
.translationDirection("LOCAL")
.translationType("NETWORK_LAYER")
.translationIp("2.2.2.2")
.description("remark.")
.originalIp("1.1.1.1")
.build(),
VpcPrivateNatGatewayTranslationNatRuleTranslationNatRuleArgs.builder()
.translationDirection("LOCAL")
.translationType("TRANSPORT_LAYER")
.translationIp("3.3.3.3")
.description("remark.")
.build())
.build());
}
}
resources:
exampleDeprecated:
type: tencentcloud:VpcPrivateNatGatewayTranslationNatRule
name: example_deprecated
properties:
natGatewayId: intranat-r46f6pxl
translationNatRules:
- translationDirection: LOCAL
translationType: NETWORK_LAYER
translationIp: 2.2.2.2
description: remark.
originalIp: 1.1.1.1
- translationDirection: LOCAL
translationType: TRANSPORT_LAYER
translationIp: 3.3.3.3
description: remark.
Example coming soon!
Create VpcPrivateNatGatewayTranslationNatRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcPrivateNatGatewayTranslationNatRule(name: string, args: VpcPrivateNatGatewayTranslationNatRuleArgs, opts?: CustomResourceOptions);@overload
def VpcPrivateNatGatewayTranslationNatRule(resource_name: str,
args: VpcPrivateNatGatewayTranslationNatRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcPrivateNatGatewayTranslationNatRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
nat_gateway_id: Optional[str] = None,
local_network_layer_rules: Optional[Sequence[VpcPrivateNatGatewayTranslationNatRuleLocalNetworkLayerRuleArgs]] = None,
local_transport_layer_rules: Optional[Sequence[VpcPrivateNatGatewayTranslationNatRuleLocalTransportLayerRuleArgs]] = None,
peer_network_layer_rules: Optional[Sequence[VpcPrivateNatGatewayTranslationNatRulePeerNetworkLayerRuleArgs]] = None,
translation_nat_rules: Optional[Sequence[VpcPrivateNatGatewayTranslationNatRuleTranslationNatRuleArgs]] = None,
vpc_private_nat_gateway_translation_nat_rule_id: Optional[str] = None)func NewVpcPrivateNatGatewayTranslationNatRule(ctx *Context, name string, args VpcPrivateNatGatewayTranslationNatRuleArgs, opts ...ResourceOption) (*VpcPrivateNatGatewayTranslationNatRule, error)public VpcPrivateNatGatewayTranslationNatRule(string name, VpcPrivateNatGatewayTranslationNatRuleArgs args, CustomResourceOptions? opts = null)
public VpcPrivateNatGatewayTranslationNatRule(String name, VpcPrivateNatGatewayTranslationNatRuleArgs args)
public VpcPrivateNatGatewayTranslationNatRule(String name, VpcPrivateNatGatewayTranslationNatRuleArgs args, CustomResourceOptions options)
type: tencentcloud:VpcPrivateNatGatewayTranslationNatRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "tencentcloud_vpcprivatenatgatewaytranslationnatrule" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args VpcPrivateNatGatewayTranslationNatRuleArgs
- 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 VpcPrivateNatGatewayTranslationNatRuleArgs
- 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 VpcPrivateNatGatewayTranslationNatRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcPrivateNatGatewayTranslationNatRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcPrivateNatGatewayTranslationNatRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
VpcPrivateNatGatewayTranslationNatRule 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 VpcPrivateNatGatewayTranslationNatRule resource accepts the following input properties:
- Nat
Gateway stringId - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - Local
Network List<VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Network Layer Rule> - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - Local
Transport List<VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Transport Layer Rule> - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - Peer
Network List<VpcLayer Rules Private Nat Gateway Translation Nat Rule Peer Network Layer Rule> - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - Translation
Nat List<VpcRules Private Nat Gateway Translation Nat Rule Translation Nat Rule> - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - Vpc
Private stringNat Gateway Translation Nat Rule Id - ID of the resource.
- Nat
Gateway stringId - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - Local
Network []VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Network Layer Rule Args - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - Local
Transport []VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Transport Layer Rule Args - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - Peer
Network []VpcLayer Rules Private Nat Gateway Translation Nat Rule Peer Network Layer Rule Args - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - Translation
Nat []VpcRules Private Nat Gateway Translation Nat Rule Translation Nat Rule Args - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - Vpc
Private stringNat Gateway Translation Nat Rule Id - ID of the resource.
- nat_
gateway_ stringid - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - local_
network_ list(object)layer_ rules - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - local_
transport_ list(object)layer_ rules - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - peer_
network_ list(object)layer_ rules - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - translation_
nat_ list(object)rules - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - vpc_
private_ stringnat_ gateway_ translation_ nat_ rule_ id - ID of the resource.
- nat
Gateway StringId - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - local
Network List<VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Network Layer Rule> - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - local
Transport List<VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Transport Layer Rule> - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - peer
Network List<VpcLayer Rules Private Nat Gateway Translation Nat Rule Peer Network Layer Rule> - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - translation
Nat List<VpcRules Private Nat Gateway Translation Nat Rule Translation Nat Rule> - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - vpc
Private StringNat Gateway Translation Nat Rule Id - ID of the resource.
- nat
Gateway stringId - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - local
Network VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Network Layer Rule[] - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - local
Transport VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Transport Layer Rule[] - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - peer
Network VpcLayer Rules Private Nat Gateway Translation Nat Rule Peer Network Layer Rule[] - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - translation
Nat VpcRules Private Nat Gateway Translation Nat Rule Translation Nat Rule[] - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - vpc
Private stringNat Gateway Translation Nat Rule Id - ID of the resource.
- nat_
gateway_ strid - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - local_
network_ Sequence[Vpclayer_ rules Private Nat Gateway Translation Nat Rule Local Network Layer Rule Args] - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - local_
transport_ Sequence[Vpclayer_ rules Private Nat Gateway Translation Nat Rule Local Transport Layer Rule Args] - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - peer_
network_ Sequence[Vpclayer_ rules Private Nat Gateway Translation Nat Rule Peer Network Layer Rule Args] - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - translation_
nat_ Sequence[Vpcrules Private Nat Gateway Translation Nat Rule Translation Nat Rule Args] - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - vpc_
private_ strnat_ gateway_ translation_ nat_ rule_ id - ID of the resource.
- nat
Gateway StringId - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - local
Network List<Property Map>Layer Rules - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - local
Transport List<Property Map>Layer Rules - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - peer
Network List<Property Map>Layer Rules - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - translation
Nat List<Property Map>Rules - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - vpc
Private StringNat Gateway Translation Nat Rule Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcPrivateNatGatewayTranslationNatRule 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 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 VpcPrivateNatGatewayTranslationNatRule Resource
Get an existing VpcPrivateNatGatewayTranslationNatRule 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?: VpcPrivateNatGatewayTranslationNatRuleState, opts?: CustomResourceOptions): VpcPrivateNatGatewayTranslationNatRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
local_network_layer_rules: Optional[Sequence[VpcPrivateNatGatewayTranslationNatRuleLocalNetworkLayerRuleArgs]] = None,
local_transport_layer_rules: Optional[Sequence[VpcPrivateNatGatewayTranslationNatRuleLocalTransportLayerRuleArgs]] = None,
nat_gateway_id: Optional[str] = None,
peer_network_layer_rules: Optional[Sequence[VpcPrivateNatGatewayTranslationNatRulePeerNetworkLayerRuleArgs]] = None,
translation_nat_rules: Optional[Sequence[VpcPrivateNatGatewayTranslationNatRuleTranslationNatRuleArgs]] = None,
vpc_private_nat_gateway_translation_nat_rule_id: Optional[str] = None) -> VpcPrivateNatGatewayTranslationNatRulefunc GetVpcPrivateNatGatewayTranslationNatRule(ctx *Context, name string, id IDInput, state *VpcPrivateNatGatewayTranslationNatRuleState, opts ...ResourceOption) (*VpcPrivateNatGatewayTranslationNatRule, error)public static VpcPrivateNatGatewayTranslationNatRule Get(string name, Input<string> id, VpcPrivateNatGatewayTranslationNatRuleState? state, CustomResourceOptions? opts = null)public static VpcPrivateNatGatewayTranslationNatRule get(String name, Output<String> id, VpcPrivateNatGatewayTranslationNatRuleState state, CustomResourceOptions options)resources: _: type: tencentcloud:VpcPrivateNatGatewayTranslationNatRule get: id: ${id}import {
to = tencentcloud_vpcprivatenatgatewaytranslationnatrule.example
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.
- Local
Network List<VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Network Layer Rule> - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - Local
Transport List<VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Transport Layer Rule> - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - Nat
Gateway stringId - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - Peer
Network List<VpcLayer Rules Private Nat Gateway Translation Nat Rule Peer Network Layer Rule> - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - Translation
Nat List<VpcRules Private Nat Gateway Translation Nat Rule Translation Nat Rule> - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - Vpc
Private stringNat Gateway Translation Nat Rule Id - ID of the resource.
- Local
Network []VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Network Layer Rule Args - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - Local
Transport []VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Transport Layer Rule Args - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - Nat
Gateway stringId - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - Peer
Network []VpcLayer Rules Private Nat Gateway Translation Nat Rule Peer Network Layer Rule Args - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - Translation
Nat []VpcRules Private Nat Gateway Translation Nat Rule Translation Nat Rule Args - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - Vpc
Private stringNat Gateway Translation Nat Rule Id - ID of the resource.
- local_
network_ list(object)layer_ rules - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - local_
transport_ list(object)layer_ rules - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - nat_
gateway_ stringid - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - peer_
network_ list(object)layer_ rules - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - translation_
nat_ list(object)rules - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - vpc_
private_ stringnat_ gateway_ translation_ nat_ rule_ id - ID of the resource.
- local
Network List<VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Network Layer Rule> - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - local
Transport List<VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Transport Layer Rule> - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - nat
Gateway StringId - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - peer
Network List<VpcLayer Rules Private Nat Gateway Translation Nat Rule Peer Network Layer Rule> - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - translation
Nat List<VpcRules Private Nat Gateway Translation Nat Rule Translation Nat Rule> - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - vpc
Private StringNat Gateway Translation Nat Rule Id - ID of the resource.
- local
Network VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Network Layer Rule[] - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - local
Transport VpcLayer Rules Private Nat Gateway Translation Nat Rule Local Transport Layer Rule[] - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - nat
Gateway stringId - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - peer
Network VpcLayer Rules Private Nat Gateway Translation Nat Rule Peer Network Layer Rule[] - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - translation
Nat VpcRules Private Nat Gateway Translation Nat Rule Translation Nat Rule[] - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - vpc
Private stringNat Gateway Translation Nat Rule Id - ID of the resource.
- local_
network_ Sequence[Vpclayer_ rules Private Nat Gateway Translation Nat Rule Local Network Layer Rule Args] - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - local_
transport_ Sequence[Vpclayer_ rules Private Nat Gateway Translation Nat Rule Local Transport Layer Rule Args] - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - nat_
gateway_ strid - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - peer_
network_ Sequence[Vpclayer_ rules Private Nat Gateway Translation Nat Rule Peer Network Layer Rule Args] - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - translation_
nat_ Sequence[Vpcrules Private Nat Gateway Translation Nat Rule Translation Nat Rule Args] - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - vpc_
private_ strnat_ gateway_ translation_ nat_ rule_ id - ID of the resource.
- local
Network List<Property Map>Layer Rules - Translation rules for the LOCAL direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - local
Transport List<Property Map>Layer Rules - Translation rules for the LOCAL direction at the TRANSPORT_LAYER (four-layer). Identity is keyed by
translation_ip(unique within this bucket).original_ipis not applicable for transport-layer rules and is intentionally not exposed. - nat
Gateway StringId - Private NAT gateway unique ID, such as:
intranat-xxxxxxxx. - peer
Network List<Property Map>Layer Rules - Translation rules for the PEER direction at the NETWORK_LAYER (three-layer). Identity is keyed by
original_ip(unique within this bucket). Editingdescriptionortranslation_ipis applied in place via ModifyPrivateNatGatewayTranslationNatRule; editingoriginal_ipis treated as deleting the old rule and creating a new one. - translation
Nat List<Property Map>Rules - It has been deprecated from version 1.82.98, please use local_network_layer_rules / local_transport_layer_rules / peer_network_layer_rules instead. Cannot be used together with the new fields. (Deprecated) Translation rule object array. Use the typed list fields
local_network_layer_rules,local_transport_layer_rules, andpeer_network_layer_rulesinstead. The legacy field continues to work but does not benefit from in-place ModifyPrivateNatGatewayTranslationNatRule support. - vpc
Private StringNat Gateway Translation Nat Rule Id - ID of the resource.
Supporting Types
VpcPrivateNatGatewayTranslationNatRuleLocalNetworkLayerRule, VpcPrivateNatGatewayTranslationNatRuleLocalNetworkLayerRuleArgs
- Original
Ip string - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- Translation
Ip string - Translated (mapped-after) IP for this rule. Can be modified in place.
- Description string
- Translation rule description.
- Original
Ip string - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- Translation
Ip string - Translated (mapped-after) IP for this rule. Can be modified in place.
- Description string
- Translation rule description.
- original_
ip string - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- translation_
ip string - Translated (mapped-after) IP for this rule. Can be modified in place.
- description string
- Translation rule description.
- original
Ip String - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- translation
Ip String - Translated (mapped-after) IP for this rule. Can be modified in place.
- description String
- Translation rule description.
- original
Ip string - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- translation
Ip string - Translated (mapped-after) IP for this rule. Can be modified in place.
- description string
- Translation rule description.
- original_
ip str - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- translation_
ip str - Translated (mapped-after) IP for this rule. Can be modified in place.
- description str
- Translation rule description.
- original
Ip String - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- translation
Ip String - Translated (mapped-after) IP for this rule. Can be modified in place.
- description String
- Translation rule description.
VpcPrivateNatGatewayTranslationNatRuleLocalTransportLayerRule, VpcPrivateNatGatewayTranslationNatRuleLocalTransportLayerRuleArgs
- Translation
Ip string - Translated IP pool for this rule (transport-layer rules use an IP pool). Acts as the rule identity within this bucket.
- Description string
- Translation rule description.
- Translation
Ip string - Translated IP pool for this rule (transport-layer rules use an IP pool). Acts as the rule identity within this bucket.
- Description string
- Translation rule description.
- translation_
ip string - Translated IP pool for this rule (transport-layer rules use an IP pool). Acts as the rule identity within this bucket.
- description string
- Translation rule description.
- translation
Ip String - Translated IP pool for this rule (transport-layer rules use an IP pool). Acts as the rule identity within this bucket.
- description String
- Translation rule description.
- translation
Ip string - Translated IP pool for this rule (transport-layer rules use an IP pool). Acts as the rule identity within this bucket.
- description string
- Translation rule description.
- translation_
ip str - Translated IP pool for this rule (transport-layer rules use an IP pool). Acts as the rule identity within this bucket.
- description str
- Translation rule description.
- translation
Ip String - Translated IP pool for this rule (transport-layer rules use an IP pool). Acts as the rule identity within this bucket.
- description String
- Translation rule description.
VpcPrivateNatGatewayTranslationNatRulePeerNetworkLayerRule, VpcPrivateNatGatewayTranslationNatRulePeerNetworkLayerRuleArgs
- Original
Ip string - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- Translation
Ip string - Translated (mapped-after) IP for this rule. Can be modified in place.
- Description string
- Translation rule description.
- Original
Ip string - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- Translation
Ip string - Translated (mapped-after) IP for this rule. Can be modified in place.
- Description string
- Translation rule description.
- original_
ip string - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- translation_
ip string - Translated (mapped-after) IP for this rule. Can be modified in place.
- description string
- Translation rule description.
- original
Ip String - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- translation
Ip String - Translated (mapped-after) IP for this rule. Can be modified in place.
- description String
- Translation rule description.
- original
Ip string - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- translation
Ip string - Translated (mapped-after) IP for this rule. Can be modified in place.
- description string
- Translation rule description.
- original_
ip str - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- translation_
ip str - Translated (mapped-after) IP for this rule. Can be modified in place.
- description str
- Translation rule description.
- original
Ip String - Original (mapped-before) IP for this rule. Acts as the rule identity within this bucket.
- translation
Ip String - Translated (mapped-after) IP for this rule. Can be modified in place.
- description String
- Translation rule description.
VpcPrivateNatGatewayTranslationNatRuleTranslationNatRule, VpcPrivateNatGatewayTranslationNatRuleTranslationNatRuleArgs
- Description string
- Translation rule description.
- Translation
Direction string - Translation rule target, optional values "LOCAL","PEER".
- Translation
Ip string - Translation IP, when translation rule type is transport layer, it is an IP pool.
- Translation
Type string - Translation rule type, optional values "NETWORK_LAYER","TRANSPORT_LAYER".
- Original
Ip string - Source IP, valid when translation rule type is network layer.
- Description string
- Translation rule description.
- Translation
Direction string - Translation rule target, optional values "LOCAL","PEER".
- Translation
Ip string - Translation IP, when translation rule type is transport layer, it is an IP pool.
- Translation
Type string - Translation rule type, optional values "NETWORK_LAYER","TRANSPORT_LAYER".
- Original
Ip string - Source IP, valid when translation rule type is network layer.
- description string
- Translation rule description.
- translation_
direction string - Translation rule target, optional values "LOCAL","PEER".
- translation_
ip string - Translation IP, when translation rule type is transport layer, it is an IP pool.
- translation_
type string - Translation rule type, optional values "NETWORK_LAYER","TRANSPORT_LAYER".
- original_
ip string - Source IP, valid when translation rule type is network layer.
- description String
- Translation rule description.
- translation
Direction String - Translation rule target, optional values "LOCAL","PEER".
- translation
Ip String - Translation IP, when translation rule type is transport layer, it is an IP pool.
- translation
Type String - Translation rule type, optional values "NETWORK_LAYER","TRANSPORT_LAYER".
- original
Ip String - Source IP, valid when translation rule type is network layer.
- description string
- Translation rule description.
- translation
Direction string - Translation rule target, optional values "LOCAL","PEER".
- translation
Ip string - Translation IP, when translation rule type is transport layer, it is an IP pool.
- translation
Type string - Translation rule type, optional values "NETWORK_LAYER","TRANSPORT_LAYER".
- original
Ip string - Source IP, valid when translation rule type is network layer.
- description str
- Translation rule description.
- translation_
direction str - Translation rule target, optional values "LOCAL","PEER".
- translation_
ip str - Translation IP, when translation rule type is transport layer, it is an IP pool.
- translation_
type str - Translation rule type, optional values "NETWORK_LAYER","TRANSPORT_LAYER".
- original_
ip str - Source IP, valid when translation rule type is network layer.
- description String
- Translation rule description.
- translation
Direction String - Translation rule target, optional values "LOCAL","PEER".
- translation
Ip String - Translation IP, when translation rule type is transport layer, it is an IP pool.
- translation
Type String - Translation rule type, optional values "NETWORK_LAYER","TRANSPORT_LAYER".
- original
Ip String - Source IP, valid when translation rule type is network layer.
Import
VPC private nat gateway translation nat rule can be imported using the id, e.g.
$ pulumi import tencentcloud:index/vpcPrivateNatGatewayTranslationNatRule:VpcPrivateNatGatewayTranslationNatRule example intranat-r46f6pxl
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, May 29, 2026 by tencentcloudstack