1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. CfwEdgePolicyOrderConfig
Viewing docs for tencentcloud 1.82.79
published on Friday, Mar 27, 2026 by tencentcloudstack
tencentcloud logo
Viewing docs for tencentcloud 1.82.79
published on Friday, Mar 27, 2026 by tencentcloudstack

    Provides a resource to create a CFW edge policy order config

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

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const inExample1 = new tencentcloud.CfwEdgePolicy("in_example1", {
        sourceContent: "1.1.1.1/0",
        sourceType: "net",
        targetContent: "0.0.0.0/0",
        targetType: "net",
        protocol: "TCP",
        ruleAction: "drop",
        port: "-1/-1",
        direction: 1,
        enable: "true",
        description: "policy description.",
        scope: "all",
    });
    const inExample2 = new tencentcloud.CfwEdgePolicy("in_example2", {
        sourceContent: "2.2.2.2/0",
        sourceType: "net",
        targetContent: "0.0.0.0/0",
        targetType: "net",
        protocol: "TCP",
        ruleAction: "drop",
        port: "-1/-1",
        direction: 1,
        enable: "true",
        description: "policy description.",
        scope: "all",
    });
    const inExample3 = new tencentcloud.CfwEdgePolicy("in_example3", {
        sourceContent: "3.3.3.3/0",
        sourceType: "net",
        targetContent: "0.0.0.0/0",
        targetType: "net",
        protocol: "TCP",
        ruleAction: "drop",
        port: "-1/-1",
        direction: 1,
        enable: "true",
        description: "policy description.",
        scope: "all",
    });
    const outExample1 = new tencentcloud.CfwEdgePolicy("out_example1", {
        sourceContent: "1.1.1.1/0",
        sourceType: "net",
        targetContent: "0.0.0.0/0",
        targetType: "net",
        protocol: "TCP",
        ruleAction: "drop",
        port: "-1/-1",
        direction: 0,
        enable: "true",
        description: "policy description.",
        scope: "all",
    });
    const outExample2 = new tencentcloud.CfwEdgePolicy("out_example2", {
        sourceContent: "2.2.2.2/0",
        sourceType: "net",
        targetContent: "0.0.0.0/0",
        targetType: "net",
        protocol: "TCP",
        ruleAction: "drop",
        port: "-1/-1",
        direction: 0,
        enable: "true",
        description: "policy description.",
        scope: "all",
    });
    const example = new tencentcloud.CfwEdgePolicyOrderConfig("example", {
        inboundRuleUuidLists: [
            inExample3.uuid,
            inExample1.uuid,
            inExample2.uuid,
        ],
        outboundRuleUuidLists: [
            outExample2.uuid,
            outExample1.uuid,
        ],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    in_example1 = tencentcloud.CfwEdgePolicy("in_example1",
        source_content="1.1.1.1/0",
        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="policy description.",
        scope="all")
    in_example2 = tencentcloud.CfwEdgePolicy("in_example2",
        source_content="2.2.2.2/0",
        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="policy description.",
        scope="all")
    in_example3 = tencentcloud.CfwEdgePolicy("in_example3",
        source_content="3.3.3.3/0",
        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="policy description.",
        scope="all")
    out_example1 = tencentcloud.CfwEdgePolicy("out_example1",
        source_content="1.1.1.1/0",
        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="policy description.",
        scope="all")
    out_example2 = tencentcloud.CfwEdgePolicy("out_example2",
        source_content="2.2.2.2/0",
        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="policy description.",
        scope="all")
    example = tencentcloud.CfwEdgePolicyOrderConfig("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.NewCfwEdgePolicy(ctx, "in_example1", &tencentcloud.CfwEdgePolicyArgs{
    			SourceContent: pulumi.String("1.1.1.1/0"),
    			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("policy description."),
    			Scope:         pulumi.String("all"),
    		})
    		if err != nil {
    			return err
    		}
    		inExample2, err := tencentcloud.NewCfwEdgePolicy(ctx, "in_example2", &tencentcloud.CfwEdgePolicyArgs{
    			SourceContent: pulumi.String("2.2.2.2/0"),
    			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("policy description."),
    			Scope:         pulumi.String("all"),
    		})
    		if err != nil {
    			return err
    		}
    		inExample3, err := tencentcloud.NewCfwEdgePolicy(ctx, "in_example3", &tencentcloud.CfwEdgePolicyArgs{
    			SourceContent: pulumi.String("3.3.3.3/0"),
    			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("policy description."),
    			Scope:         pulumi.String("all"),
    		})
    		if err != nil {
    			return err
    		}
    		outExample1, err := tencentcloud.NewCfwEdgePolicy(ctx, "out_example1", &tencentcloud.CfwEdgePolicyArgs{
    			SourceContent: pulumi.String("1.1.1.1/0"),
    			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("policy description."),
    			Scope:         pulumi.String("all"),
    		})
    		if err != nil {
    			return err
    		}
    		outExample2, err := tencentcloud.NewCfwEdgePolicy(ctx, "out_example2", &tencentcloud.CfwEdgePolicyArgs{
    			SourceContent: pulumi.String("2.2.2.2/0"),
    			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("policy description."),
    			Scope:         pulumi.String("all"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewCfwEdgePolicyOrderConfig(ctx, "example", &tencentcloud.CfwEdgePolicyOrderConfigArgs{
    			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.CfwEdgePolicy("in_example1", new()
        {
            SourceContent = "1.1.1.1/0",
            SourceType = "net",
            TargetContent = "0.0.0.0/0",
            TargetType = "net",
            Protocol = "TCP",
            RuleAction = "drop",
            Port = "-1/-1",
            Direction = 1,
            Enable = "true",
            Description = "policy description.",
            Scope = "all",
        });
    
        var inExample2 = new Tencentcloud.CfwEdgePolicy("in_example2", new()
        {
            SourceContent = "2.2.2.2/0",
            SourceType = "net",
            TargetContent = "0.0.0.0/0",
            TargetType = "net",
            Protocol = "TCP",
            RuleAction = "drop",
            Port = "-1/-1",
            Direction = 1,
            Enable = "true",
            Description = "policy description.",
            Scope = "all",
        });
    
        var inExample3 = new Tencentcloud.CfwEdgePolicy("in_example3", new()
        {
            SourceContent = "3.3.3.3/0",
            SourceType = "net",
            TargetContent = "0.0.0.0/0",
            TargetType = "net",
            Protocol = "TCP",
            RuleAction = "drop",
            Port = "-1/-1",
            Direction = 1,
            Enable = "true",
            Description = "policy description.",
            Scope = "all",
        });
    
        var outExample1 = new Tencentcloud.CfwEdgePolicy("out_example1", new()
        {
            SourceContent = "1.1.1.1/0",
            SourceType = "net",
            TargetContent = "0.0.0.0/0",
            TargetType = "net",
            Protocol = "TCP",
            RuleAction = "drop",
            Port = "-1/-1",
            Direction = 0,
            Enable = "true",
            Description = "policy description.",
            Scope = "all",
        });
    
        var outExample2 = new Tencentcloud.CfwEdgePolicy("out_example2", new()
        {
            SourceContent = "2.2.2.2/0",
            SourceType = "net",
            TargetContent = "0.0.0.0/0",
            TargetType = "net",
            Protocol = "TCP",
            RuleAction = "drop",
            Port = "-1/-1",
            Direction = 0,
            Enable = "true",
            Description = "policy description.",
            Scope = "all",
        });
    
        var example = new Tencentcloud.CfwEdgePolicyOrderConfig("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.CfwEdgePolicy;
    import com.pulumi.tencentcloud.CfwEdgePolicyArgs;
    import com.pulumi.tencentcloud.CfwEdgePolicyOrderConfig;
    import com.pulumi.tencentcloud.CfwEdgePolicyOrderConfigArgs;
    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 CfwEdgePolicy("inExample1", CfwEdgePolicyArgs.builder()
                .sourceContent("1.1.1.1/0")
                .sourceType("net")
                .targetContent("0.0.0.0/0")
                .targetType("net")
                .protocol("TCP")
                .ruleAction("drop")
                .port("-1/-1")
                .direction(1.0)
                .enable("true")
                .description("policy description.")
                .scope("all")
                .build());
    
            var inExample2 = new CfwEdgePolicy("inExample2", CfwEdgePolicyArgs.builder()
                .sourceContent("2.2.2.2/0")
                .sourceType("net")
                .targetContent("0.0.0.0/0")
                .targetType("net")
                .protocol("TCP")
                .ruleAction("drop")
                .port("-1/-1")
                .direction(1.0)
                .enable("true")
                .description("policy description.")
                .scope("all")
                .build());
    
            var inExample3 = new CfwEdgePolicy("inExample3", CfwEdgePolicyArgs.builder()
                .sourceContent("3.3.3.3/0")
                .sourceType("net")
                .targetContent("0.0.0.0/0")
                .targetType("net")
                .protocol("TCP")
                .ruleAction("drop")
                .port("-1/-1")
                .direction(1.0)
                .enable("true")
                .description("policy description.")
                .scope("all")
                .build());
    
            var outExample1 = new CfwEdgePolicy("outExample1", CfwEdgePolicyArgs.builder()
                .sourceContent("1.1.1.1/0")
                .sourceType("net")
                .targetContent("0.0.0.0/0")
                .targetType("net")
                .protocol("TCP")
                .ruleAction("drop")
                .port("-1/-1")
                .direction(0.0)
                .enable("true")
                .description("policy description.")
                .scope("all")
                .build());
    
            var outExample2 = new CfwEdgePolicy("outExample2", CfwEdgePolicyArgs.builder()
                .sourceContent("2.2.2.2/0")
                .sourceType("net")
                .targetContent("0.0.0.0/0")
                .targetType("net")
                .protocol("TCP")
                .ruleAction("drop")
                .port("-1/-1")
                .direction(0.0)
                .enable("true")
                .description("policy description.")
                .scope("all")
                .build());
    
            var example = new CfwEdgePolicyOrderConfig("example", CfwEdgePolicyOrderConfigArgs.builder()
                .inboundRuleUuidLists(            
                    inExample3.uuid(),
                    inExample1.uuid(),
                    inExample2.uuid())
                .outboundRuleUuidLists(            
                    outExample2.uuid(),
                    outExample1.uuid())
                .build());
    
        }
    }
    
    resources:
      inExample1:
        type: tencentcloud:CfwEdgePolicy
        name: in_example1
        properties:
          sourceContent: 1.1.1.1/0
          sourceType: net
          targetContent: 0.0.0.0/0
          targetType: net
          protocol: TCP
          ruleAction: drop
          port: -1/-1
          direction: 1
          enable: 'true'
          description: policy description.
          scope: all
      inExample2:
        type: tencentcloud:CfwEdgePolicy
        name: in_example2
        properties:
          sourceContent: 2.2.2.2/0
          sourceType: net
          targetContent: 0.0.0.0/0
          targetType: net
          protocol: TCP
          ruleAction: drop
          port: -1/-1
          direction: 1
          enable: 'true'
          description: policy description.
          scope: all
      inExample3:
        type: tencentcloud:CfwEdgePolicy
        name: in_example3
        properties:
          sourceContent: 3.3.3.3/0
          sourceType: net
          targetContent: 0.0.0.0/0
          targetType: net
          protocol: TCP
          ruleAction: drop
          port: -1/-1
          direction: 1
          enable: 'true'
          description: policy description.
          scope: all
      outExample1:
        type: tencentcloud:CfwEdgePolicy
        name: out_example1
        properties:
          sourceContent: 1.1.1.1/0
          sourceType: net
          targetContent: 0.0.0.0/0
          targetType: net
          protocol: TCP
          ruleAction: drop
          port: -1/-1
          direction: 0
          enable: 'true'
          description: policy description.
          scope: all
      outExample2:
        type: tencentcloud:CfwEdgePolicy
        name: out_example2
        properties:
          sourceContent: 2.2.2.2/0
          sourceType: net
          targetContent: 0.0.0.0/0
          targetType: net
          protocol: TCP
          ruleAction: drop
          port: -1/-1
          direction: 0
          enable: 'true'
          description: policy description.
          scope: all
      example:
        type: tencentcloud:CfwEdgePolicyOrderConfig
        properties:
          inboundRuleUuidLists:
            - ${inExample3.uuid}
            - ${inExample1.uuid}
            - ${inExample2.uuid}
          outboundRuleUuidLists:
            - ${outExample2.uuid}
            - ${outExample1.uuid}
    

    Create CfwEdgePolicyOrderConfig Resource

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

    Constructor syntax

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

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

    CfwEdgePolicyOrderConfigId 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.
    CfwEdgePolicyOrderConfigId 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.
    cfwEdgePolicyOrderConfigId 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.
    cfwEdgePolicyOrderConfigId 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_edge_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.
    cfwEdgePolicyOrderConfigId 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 CfwEdgePolicyOrderConfig 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 CfwEdgePolicyOrderConfig Resource

    Get an existing CfwEdgePolicyOrderConfig 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?: CfwEdgePolicyOrderConfigState, opts?: CustomResourceOptions): CfwEdgePolicyOrderConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cfw_edge_policy_order_config_id: Optional[str] = None,
            inbound_rule_uuid_lists: Optional[Sequence[float]] = None,
            outbound_rule_uuid_lists: Optional[Sequence[float]] = None) -> CfwEdgePolicyOrderConfig
    func GetCfwEdgePolicyOrderConfig(ctx *Context, name string, id IDInput, state *CfwEdgePolicyOrderConfigState, opts ...ResourceOption) (*CfwEdgePolicyOrderConfig, error)
    public static CfwEdgePolicyOrderConfig Get(string name, Input<string> id, CfwEdgePolicyOrderConfigState? state, CustomResourceOptions? opts = null)
    public static CfwEdgePolicyOrderConfig get(String name, Output<String> id, CfwEdgePolicyOrderConfigState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CfwEdgePolicyOrderConfig    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:
    CfwEdgePolicyOrderConfigId 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.
    CfwEdgePolicyOrderConfigId 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.
    cfwEdgePolicyOrderConfigId 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.
    cfwEdgePolicyOrderConfigId 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_edge_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.
    cfwEdgePolicyOrderConfigId 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 edge policy order config can be imported using the customId(like uuid or base64 string), e.g.

    $ pulumi import tencentcloud:index/cfwEdgePolicyOrderConfig:CfwEdgePolicyOrderConfig 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
    Viewing docs for tencentcloud 1.82.79
    published on Friday, Mar 27, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.