1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. CfwNatPolicyOrderConfig
tencentcloud 1.82.57 published on Tuesday, Jan 20, 2026 by tencentcloudstack
tencentcloud logo
tencentcloud 1.82.57 published on Tuesday, Jan 20, 2026 by tencentcloudstack

    Provides a resource to create a CFW nat policy order config

    NOTE: If resource tencentcloud.CfwNatPolicyOrderConfig is used to sort resource tencentcloud.CfwNatPolicy, all instances of resource tencentcloud.CfwNatPolicy must be configured simultaneously, and the sorting of this resource cannot be declared elsewhere.

    NOTE: At any given time, resource tencentcloud.CfwNatPolicyOrderConfig can only be sorted against resources tencentcloud.CfwNatPolicy of the same direction.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const inExample1 = new tencentcloud.CfwNatPolicy("in_example1", {
        sourceContent: "1.1.1.1/24",
        sourceType: "net",
        targetContent: "0.0.0.0/0",
        targetType: "net",
        protocol: "TCP",
        ruleAction: "drop",
        port: "-1/-1",
        direction: 1,
        enable: "true",
        description: "remark.",
        scope: "ALL",
    });
    const inExample2 = new tencentcloud.CfwNatPolicy("in_example2", {
        sourceContent: "3.3.3.3/24",
        sourceType: "net",
        targetContent: "0.0.0.0/0",
        targetType: "net",
        protocol: "ANY",
        ruleAction: "drop",
        port: "-1/-1",
        direction: 1,
        enable: "true",
        description: "remark.",
        scope: "ALL",
    });
    const inExample3 = new tencentcloud.CfwNatPolicy("in_example3", {
        sourceContent: "6.6.6.6/24",
        sourceType: "net",
        targetContent: "0.0.0.0/0",
        targetType: "net",
        protocol: "UDP",
        ruleAction: "accept",
        port: "-1/-1",
        direction: 1,
        enable: "true",
        description: "remark.",
        scope: "ALL",
    });
    const outExample1 = new tencentcloud.CfwNatPolicy("out_example1", {
        sourceContent: "1.1.1.1/24",
        sourceType: "net",
        targetContent: "0.0.0.0/0",
        targetType: "net",
        protocol: "TCP",
        ruleAction: "drop",
        port: "-1/-1",
        direction: 0,
        enable: "true",
        description: "remark.",
        scope: "ALL",
    });
    const outExample2 = new tencentcloud.CfwNatPolicy("out_example2", {
        sourceContent: "3.3.3.3/24",
        sourceType: "net",
        targetContent: "0.0.0.0/0",
        targetType: "net",
        protocol: "ANY",
        ruleAction: "accept",
        port: "-1/-1",
        direction: 0,
        enable: "true",
        description: "remark.",
        scope: "ALL",
    });
    const example = new tencentcloud.CfwNatPolicyOrderConfig("example", {
        inboundRuleUuidLists: [
            inExample3.uuid,
            inExample1.uuid,
            inExample2.uuid,
        ],
        outboundRuleUuidLists: [
            outExample2.uuid,
            outExample1.uuid,
        ],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    in_example1 = tencentcloud.CfwNatPolicy("in_example1",
        source_content="1.1.1.1/24",
        source_type="net",
        target_content="0.0.0.0/0",
        target_type="net",
        protocol="TCP",
        rule_action="drop",
        port="-1/-1",
        direction=1,
        enable="true",
        description="remark.",
        scope="ALL")
    in_example2 = tencentcloud.CfwNatPolicy("in_example2",
        source_content="3.3.3.3/24",
        source_type="net",
        target_content="0.0.0.0/0",
        target_type="net",
        protocol="ANY",
        rule_action="drop",
        port="-1/-1",
        direction=1,
        enable="true",
        description="remark.",
        scope="ALL")
    in_example3 = tencentcloud.CfwNatPolicy("in_example3",
        source_content="6.6.6.6/24",
        source_type="net",
        target_content="0.0.0.0/0",
        target_type="net",
        protocol="UDP",
        rule_action="accept",
        port="-1/-1",
        direction=1,
        enable="true",
        description="remark.",
        scope="ALL")
    out_example1 = tencentcloud.CfwNatPolicy("out_example1",
        source_content="1.1.1.1/24",
        source_type="net",
        target_content="0.0.0.0/0",
        target_type="net",
        protocol="TCP",
        rule_action="drop",
        port="-1/-1",
        direction=0,
        enable="true",
        description="remark.",
        scope="ALL")
    out_example2 = tencentcloud.CfwNatPolicy("out_example2",
        source_content="3.3.3.3/24",
        source_type="net",
        target_content="0.0.0.0/0",
        target_type="net",
        protocol="ANY",
        rule_action="accept",
        port="-1/-1",
        direction=0,
        enable="true",
        description="remark.",
        scope="ALL")
    example = tencentcloud.CfwNatPolicyOrderConfig("example",
        inbound_rule_uuid_lists=[
            in_example3.uuid,
            in_example1.uuid,
            in_example2.uuid,
        ],
        outbound_rule_uuid_lists=[
            out_example2.uuid,
            out_example1.uuid,
        ])
    
    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 {
    		inExample1, err := tencentcloud.NewCfwNatPolicy(ctx, "in_example1", &tencentcloud.CfwNatPolicyArgs{
    			SourceContent: pulumi.String("1.1.1.1/24"),
    			SourceType:    pulumi.String("net"),
    			TargetContent: pulumi.String("0.0.0.0/0"),
    			TargetType:    pulumi.String("net"),
    			Protocol:      pulumi.String("TCP"),
    			RuleAction:    pulumi.String("drop"),
    			Port:          pulumi.String("-1/-1"),
    			Direction:     pulumi.Float64(1),
    			Enable:        pulumi.String("true"),
    			Description:   pulumi.String("remark."),
    			Scope:         pulumi.String("ALL"),
    		})
    		if err != nil {
    			return err
    		}
    		inExample2, err := tencentcloud.NewCfwNatPolicy(ctx, "in_example2", &tencentcloud.CfwNatPolicyArgs{
    			SourceContent: pulumi.String("3.3.3.3/24"),
    			SourceType:    pulumi.String("net"),
    			TargetContent: pulumi.String("0.0.0.0/0"),
    			TargetType:    pulumi.String("net"),
    			Protocol:      pulumi.String("ANY"),
    			RuleAction:    pulumi.String("drop"),
    			Port:          pulumi.String("-1/-1"),
    			Direction:     pulumi.Float64(1),
    			Enable:        pulumi.String("true"),
    			Description:   pulumi.String("remark."),
    			Scope:         pulumi.String("ALL"),
    		})
    		if err != nil {
    			return err
    		}
    		inExample3, err := tencentcloud.NewCfwNatPolicy(ctx, "in_example3", &tencentcloud.CfwNatPolicyArgs{
    			SourceContent: pulumi.String("6.6.6.6/24"),
    			SourceType:    pulumi.String("net"),
    			TargetContent: pulumi.String("0.0.0.0/0"),
    			TargetType:    pulumi.String("net"),
    			Protocol:      pulumi.String("UDP"),
    			RuleAction:    pulumi.String("accept"),
    			Port:          pulumi.String("-1/-1"),
    			Direction:     pulumi.Float64(1),
    			Enable:        pulumi.String("true"),
    			Description:   pulumi.String("remark."),
    			Scope:         pulumi.String("ALL"),
    		})
    		if err != nil {
    			return err
    		}
    		outExample1, err := tencentcloud.NewCfwNatPolicy(ctx, "out_example1", &tencentcloud.CfwNatPolicyArgs{
    			SourceContent: pulumi.String("1.1.1.1/24"),
    			SourceType:    pulumi.String("net"),
    			TargetContent: pulumi.String("0.0.0.0/0"),
    			TargetType:    pulumi.String("net"),
    			Protocol:      pulumi.String("TCP"),
    			RuleAction:    pulumi.String("drop"),
    			Port:          pulumi.String("-1/-1"),
    			Direction:     pulumi.Float64(0),
    			Enable:        pulumi.String("true"),
    			Description:   pulumi.String("remark."),
    			Scope:         pulumi.String("ALL"),
    		})
    		if err != nil {
    			return err
    		}
    		outExample2, err := tencentcloud.NewCfwNatPolicy(ctx, "out_example2", &tencentcloud.CfwNatPolicyArgs{
    			SourceContent: pulumi.String("3.3.3.3/24"),
    			SourceType:    pulumi.String("net"),
    			TargetContent: pulumi.String("0.0.0.0/0"),
    			TargetType:    pulumi.String("net"),
    			Protocol:      pulumi.String("ANY"),
    			RuleAction:    pulumi.String("accept"),
    			Port:          pulumi.String("-1/-1"),
    			Direction:     pulumi.Float64(0),
    			Enable:        pulumi.String("true"),
    			Description:   pulumi.String("remark."),
    			Scope:         pulumi.String("ALL"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewCfwNatPolicyOrderConfig(ctx, "example", &tencentcloud.CfwNatPolicyOrderConfigArgs{
    			InboundRuleUuidLists: pulumi.Float64Array{
    				inExample3.Uuid,
    				inExample1.Uuid,
    				inExample2.Uuid,
    			},
    			OutboundRuleUuidLists: pulumi.Float64Array{
    				outExample2.Uuid,
    				outExample1.Uuid,
    			},
    		})
    		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 inExample1 = new Tencentcloud.CfwNatPolicy("in_example1", new()
        {
            SourceContent = "1.1.1.1/24",
            SourceType = "net",
            TargetContent = "0.0.0.0/0",
            TargetType = "net",
            Protocol = "TCP",
            RuleAction = "drop",
            Port = "-1/-1",
            Direction = 1,
            Enable = "true",
            Description = "remark.",
            Scope = "ALL",
        });
    
        var inExample2 = new Tencentcloud.CfwNatPolicy("in_example2", new()
        {
            SourceContent = "3.3.3.3/24",
            SourceType = "net",
            TargetContent = "0.0.0.0/0",
            TargetType = "net",
            Protocol = "ANY",
            RuleAction = "drop",
            Port = "-1/-1",
            Direction = 1,
            Enable = "true",
            Description = "remark.",
            Scope = "ALL",
        });
    
        var inExample3 = new Tencentcloud.CfwNatPolicy("in_example3", new()
        {
            SourceContent = "6.6.6.6/24",
            SourceType = "net",
            TargetContent = "0.0.0.0/0",
            TargetType = "net",
            Protocol = "UDP",
            RuleAction = "accept",
            Port = "-1/-1",
            Direction = 1,
            Enable = "true",
            Description = "remark.",
            Scope = "ALL",
        });
    
        var outExample1 = new Tencentcloud.CfwNatPolicy("out_example1", new()
        {
            SourceContent = "1.1.1.1/24",
            SourceType = "net",
            TargetContent = "0.0.0.0/0",
            TargetType = "net",
            Protocol = "TCP",
            RuleAction = "drop",
            Port = "-1/-1",
            Direction = 0,
            Enable = "true",
            Description = "remark.",
            Scope = "ALL",
        });
    
        var outExample2 = new Tencentcloud.CfwNatPolicy("out_example2", new()
        {
            SourceContent = "3.3.3.3/24",
            SourceType = "net",
            TargetContent = "0.0.0.0/0",
            TargetType = "net",
            Protocol = "ANY",
            RuleAction = "accept",
            Port = "-1/-1",
            Direction = 0,
            Enable = "true",
            Description = "remark.",
            Scope = "ALL",
        });
    
        var example = new Tencentcloud.CfwNatPolicyOrderConfig("example", new()
        {
            InboundRuleUuidLists = new[]
            {
                inExample3.Uuid,
                inExample1.Uuid,
                inExample2.Uuid,
            },
            OutboundRuleUuidLists = new[]
            {
                outExample2.Uuid,
                outExample1.Uuid,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CfwNatPolicy;
    import com.pulumi.tencentcloud.CfwNatPolicyArgs;
    import com.pulumi.tencentcloud.CfwNatPolicyOrderConfig;
    import com.pulumi.tencentcloud.CfwNatPolicyOrderConfigArgs;
    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 inExample1 = new CfwNatPolicy("inExample1", CfwNatPolicyArgs.builder()
                .sourceContent("1.1.1.1/24")
                .sourceType("net")
                .targetContent("0.0.0.0/0")
                .targetType("net")
                .protocol("TCP")
                .ruleAction("drop")
                .port("-1/-1")
                .direction(1.0)
                .enable("true")
                .description("remark.")
                .scope("ALL")
                .build());
    
            var inExample2 = new CfwNatPolicy("inExample2", CfwNatPolicyArgs.builder()
                .sourceContent("3.3.3.3/24")
                .sourceType("net")
                .targetContent("0.0.0.0/0")
                .targetType("net")
                .protocol("ANY")
                .ruleAction("drop")
                .port("-1/-1")
                .direction(1.0)
                .enable("true")
                .description("remark.")
                .scope("ALL")
                .build());
    
            var inExample3 = new CfwNatPolicy("inExample3", CfwNatPolicyArgs.builder()
                .sourceContent("6.6.6.6/24")
                .sourceType("net")
                .targetContent("0.0.0.0/0")
                .targetType("net")
                .protocol("UDP")
                .ruleAction("accept")
                .port("-1/-1")
                .direction(1.0)
                .enable("true")
                .description("remark.")
                .scope("ALL")
                .build());
    
            var outExample1 = new CfwNatPolicy("outExample1", CfwNatPolicyArgs.builder()
                .sourceContent("1.1.1.1/24")
                .sourceType("net")
                .targetContent("0.0.0.0/0")
                .targetType("net")
                .protocol("TCP")
                .ruleAction("drop")
                .port("-1/-1")
                .direction(0.0)
                .enable("true")
                .description("remark.")
                .scope("ALL")
                .build());
    
            var outExample2 = new CfwNatPolicy("outExample2", CfwNatPolicyArgs.builder()
                .sourceContent("3.3.3.3/24")
                .sourceType("net")
                .targetContent("0.0.0.0/0")
                .targetType("net")
                .protocol("ANY")
                .ruleAction("accept")
                .port("-1/-1")
                .direction(0.0)
                .enable("true")
                .description("remark.")
                .scope("ALL")
                .build());
    
            var example = new CfwNatPolicyOrderConfig("example", CfwNatPolicyOrderConfigArgs.builder()
                .inboundRuleUuidLists(            
                    inExample3.uuid(),
                    inExample1.uuid(),
                    inExample2.uuid())
                .outboundRuleUuidLists(            
                    outExample2.uuid(),
                    outExample1.uuid())
                .build());
    
        }
    }
    
    resources:
      inExample1:
        type: tencentcloud:CfwNatPolicy
        name: in_example1
        properties:
          sourceContent: 1.1.1.1/24
          sourceType: net
          targetContent: 0.0.0.0/0
          targetType: net
          protocol: TCP
          ruleAction: drop
          port: -1/-1
          direction: 1
          enable: 'true'
          description: remark.
          scope: ALL
      inExample2:
        type: tencentcloud:CfwNatPolicy
        name: in_example2
        properties:
          sourceContent: 3.3.3.3/24
          sourceType: net
          targetContent: 0.0.0.0/0
          targetType: net
          protocol: ANY
          ruleAction: drop
          port: -1/-1
          direction: 1
          enable: 'true'
          description: remark.
          scope: ALL
      inExample3:
        type: tencentcloud:CfwNatPolicy
        name: in_example3
        properties:
          sourceContent: 6.6.6.6/24
          sourceType: net
          targetContent: 0.0.0.0/0
          targetType: net
          protocol: UDP
          ruleAction: accept
          port: -1/-1
          direction: 1
          enable: 'true'
          description: remark.
          scope: ALL
      outExample1:
        type: tencentcloud:CfwNatPolicy
        name: out_example1
        properties:
          sourceContent: 1.1.1.1/24
          sourceType: net
          targetContent: 0.0.0.0/0
          targetType: net
          protocol: TCP
          ruleAction: drop
          port: -1/-1
          direction: 0
          enable: 'true'
          description: remark.
          scope: ALL
      outExample2:
        type: tencentcloud:CfwNatPolicy
        name: out_example2
        properties:
          sourceContent: 3.3.3.3/24
          sourceType: net
          targetContent: 0.0.0.0/0
          targetType: net
          protocol: ANY
          ruleAction: accept
          port: -1/-1
          direction: 0
          enable: 'true'
          description: remark.
          scope: ALL
      example:
        type: tencentcloud:CfwNatPolicyOrderConfig
        properties:
          inboundRuleUuidLists:
            - ${inExample3.uuid}
            - ${inExample1.uuid}
            - ${inExample2.uuid}
          outboundRuleUuidLists:
            - ${outExample2.uuid}
            - ${outExample1.uuid}
    

    Create CfwNatPolicyOrderConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CfwNatPolicyOrderConfig(name: string, args?: CfwNatPolicyOrderConfigArgs, opts?: CustomResourceOptions);
    @overload
    def CfwNatPolicyOrderConfig(resource_name: str,
                                args: Optional[CfwNatPolicyOrderConfigArgs] = None,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def CfwNatPolicyOrderConfig(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                cfw_nat_policy_order_config_id: Optional[str] = None,
                                inbound_rule_uuid_lists: Optional[Sequence[float]] = None,
                                outbound_rule_uuid_lists: Optional[Sequence[float]] = None)
    func NewCfwNatPolicyOrderConfig(ctx *Context, name string, args *CfwNatPolicyOrderConfigArgs, opts ...ResourceOption) (*CfwNatPolicyOrderConfig, error)
    public CfwNatPolicyOrderConfig(string name, CfwNatPolicyOrderConfigArgs? args = null, CustomResourceOptions? opts = null)
    public CfwNatPolicyOrderConfig(String name, CfwNatPolicyOrderConfigArgs args)
    public CfwNatPolicyOrderConfig(String name, CfwNatPolicyOrderConfigArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CfwNatPolicyOrderConfig
    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 CfwNatPolicyOrderConfigArgs
    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 CfwNatPolicyOrderConfigArgs
    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 CfwNatPolicyOrderConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CfwNatPolicyOrderConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CfwNatPolicyOrderConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    CfwNatPolicyOrderConfig 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 CfwNatPolicyOrderConfig resource accepts the following input properties:

    CfwNatPolicyOrderConfigId string
    ID of the resource.
    InboundRuleUuidLists List<double>
    The unique IDs of the inbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    OutboundRuleUuidLists List<double>
    The unique IDs of the outbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    CfwNatPolicyOrderConfigId string
    ID of the resource.
    InboundRuleUuidLists []float64
    The unique IDs of the inbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    OutboundRuleUuidLists []float64
    The unique IDs of the outbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    cfwNatPolicyOrderConfigId String
    ID of the resource.
    inboundRuleUuidLists List<Double>
    The unique IDs of the inbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    outboundRuleUuidLists List<Double>
    The unique IDs of the outbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    cfwNatPolicyOrderConfigId string
    ID of the resource.
    inboundRuleUuidLists number[]
    The unique IDs of the inbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    outboundRuleUuidLists number[]
    The unique IDs of the outbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    cfw_nat_policy_order_config_id str
    ID of the resource.
    inbound_rule_uuid_lists Sequence[float]
    The unique IDs of the inbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    outbound_rule_uuid_lists Sequence[float]
    The unique IDs of the outbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    cfwNatPolicyOrderConfigId String
    ID of the resource.
    inboundRuleUuidLists List<Number>
    The unique IDs of the inbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    outboundRuleUuidLists List<Number>
    The unique IDs of the outbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CfwNatPolicyOrderConfig 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 CfwNatPolicyOrderConfig Resource

    Get an existing CfwNatPolicyOrderConfig 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?: CfwNatPolicyOrderConfigState, opts?: CustomResourceOptions): CfwNatPolicyOrderConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cfw_nat_policy_order_config_id: Optional[str] = None,
            inbound_rule_uuid_lists: Optional[Sequence[float]] = None,
            outbound_rule_uuid_lists: Optional[Sequence[float]] = None) -> CfwNatPolicyOrderConfig
    func GetCfwNatPolicyOrderConfig(ctx *Context, name string, id IDInput, state *CfwNatPolicyOrderConfigState, opts ...ResourceOption) (*CfwNatPolicyOrderConfig, error)
    public static CfwNatPolicyOrderConfig Get(string name, Input<string> id, CfwNatPolicyOrderConfigState? state, CustomResourceOptions? opts = null)
    public static CfwNatPolicyOrderConfig get(String name, Output<String> id, CfwNatPolicyOrderConfigState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CfwNatPolicyOrderConfig    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.
    The following state arguments are supported:
    CfwNatPolicyOrderConfigId string
    ID of the resource.
    InboundRuleUuidLists List<double>
    The unique IDs of the inbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    OutboundRuleUuidLists List<double>
    The unique IDs of the outbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    CfwNatPolicyOrderConfigId string
    ID of the resource.
    InboundRuleUuidLists []float64
    The unique IDs of the inbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    OutboundRuleUuidLists []float64
    The unique IDs of the outbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    cfwNatPolicyOrderConfigId String
    ID of the resource.
    inboundRuleUuidLists List<Double>
    The unique IDs of the inbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    outboundRuleUuidLists List<Double>
    The unique IDs of the outbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    cfwNatPolicyOrderConfigId string
    ID of the resource.
    inboundRuleUuidLists number[]
    The unique IDs of the inbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    outboundRuleUuidLists number[]
    The unique IDs of the outbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    cfw_nat_policy_order_config_id str
    ID of the resource.
    inbound_rule_uuid_lists Sequence[float]
    The unique IDs of the inbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    outbound_rule_uuid_lists Sequence[float]
    The unique IDs of the outbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    cfwNatPolicyOrderConfigId String
    ID of the resource.
    inboundRuleUuidLists List<Number>
    The unique IDs of the inbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.
    outboundRuleUuidLists List<Number>
    The unique IDs of the outbound rule, which is not required when you create a rule. The priority will be determined by the index position of the UUID in the list.

    Import

    CFW nat policy order config can be imported using the customId(like uuid or base64 string), e.g.

    $ pulumi import tencentcloud:index/cfwNatPolicyOrderConfig:CfwNatPolicyOrderConfig example GedqV07VpNU0ob8LuOXw==
    

    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 tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.57 published on Tuesday, Jan 20, 2026 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate