1. Packages
  2. Edgecenter Provider
  3. API Docs
  4. LbL7rule
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

edgecenter.LbL7rule

Explore with Pulumi AI

edgecenter logo
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

    An L7 Rule is a single, simple logical test which returns either true or false

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as edgecenter from "@pulumi/edgecenter";
    
    const lb = new edgecenter.Loadbalancerv2("lb", {
        flavor: "lb1-1-2",
        metadataMap: {},
        projectId: 1,
        regionId: 1,
    });
    const listener = new edgecenter.Lblistener("listener", {
        projectId: 1,
        regionId: 1,
        protocol: "HTTP",
        protocolPort: 80,
        loadbalancerId: lb.loadbalancerv2Id,
    });
    const l7policy = new edgecenter.LbL7policy("l7policy", {
        projectId: 1,
        regionId: 1,
        action: "REDIRECT_PREFIX",
        listenerId: listener.lblistenerId,
        redirectHttpCode: 303,
        redirectPrefix: "https://your-prefix.com/",
        tags: [
            "aaa",
            "bbb",
            "ccc",
        ],
    });
    const l7rule = new edgecenter.LbL7rule("l7rule", {
        projectId: 1,
        regionId: 1,
        type: "PATH",
        l7policyId: l7policy.lbL7policyId,
        compareType: "REGEX",
        value: "/images*",
    });
    
    import pulumi
    import pulumi_edgecenter as edgecenter
    
    lb = edgecenter.Loadbalancerv2("lb",
        flavor="lb1-1-2",
        metadata_map={},
        project_id=1,
        region_id=1)
    listener = edgecenter.Lblistener("listener",
        project_id=1,
        region_id=1,
        protocol="HTTP",
        protocol_port=80,
        loadbalancer_id=lb.loadbalancerv2_id)
    l7policy = edgecenter.LbL7policy("l7policy",
        project_id=1,
        region_id=1,
        action="REDIRECT_PREFIX",
        listener_id=listener.lblistener_id,
        redirect_http_code=303,
        redirect_prefix="https://your-prefix.com/",
        tags=[
            "aaa",
            "bbb",
            "ccc",
        ])
    l7rule = edgecenter.LbL7rule("l7rule",
        project_id=1,
        region_id=1,
        type="PATH",
        l7policy_id=l7policy.lb_l7policy_id,
        compare_type="REGEX",
        value="/images*")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		lb, err := edgecenter.NewLoadbalancerv2(ctx, "lb", &edgecenter.Loadbalancerv2Args{
    			Flavor:      pulumi.String("lb1-1-2"),
    			MetadataMap: pulumi.StringMap{},
    			ProjectId:   pulumi.Float64(1),
    			RegionId:    pulumi.Float64(1),
    		})
    		if err != nil {
    			return err
    		}
    		listener, err := edgecenter.NewLblistener(ctx, "listener", &edgecenter.LblistenerArgs{
    			ProjectId:      pulumi.Float64(1),
    			RegionId:       pulumi.Float64(1),
    			Protocol:       pulumi.String("HTTP"),
    			ProtocolPort:   pulumi.Float64(80),
    			LoadbalancerId: lb.Loadbalancerv2Id,
    		})
    		if err != nil {
    			return err
    		}
    		l7policy, err := edgecenter.NewLbL7policy(ctx, "l7policy", &edgecenter.LbL7policyArgs{
    			ProjectId:        pulumi.Float64(1),
    			RegionId:         pulumi.Float64(1),
    			Action:           pulumi.String("REDIRECT_PREFIX"),
    			ListenerId:       listener.LblistenerId,
    			RedirectHttpCode: pulumi.Float64(303),
    			RedirectPrefix:   pulumi.String("https://your-prefix.com/"),
    			Tags: pulumi.StringArray{
    				pulumi.String("aaa"),
    				pulumi.String("bbb"),
    				pulumi.String("ccc"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = edgecenter.NewLbL7rule(ctx, "l7rule", &edgecenter.LbL7ruleArgs{
    			ProjectId:   pulumi.Float64(1),
    			RegionId:    pulumi.Float64(1),
    			Type:        pulumi.String("PATH"),
    			L7policyId:  l7policy.LbL7policyId,
    			CompareType: pulumi.String("REGEX"),
    			Value:       pulumi.String("/images*"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Edgecenter = Pulumi.Edgecenter;
    
    return await Deployment.RunAsync(() => 
    {
        var lb = new Edgecenter.Loadbalancerv2("lb", new()
        {
            Flavor = "lb1-1-2",
            MetadataMap = null,
            ProjectId = 1,
            RegionId = 1,
        });
    
        var listener = new Edgecenter.Lblistener("listener", new()
        {
            ProjectId = 1,
            RegionId = 1,
            Protocol = "HTTP",
            ProtocolPort = 80,
            LoadbalancerId = lb.Loadbalancerv2Id,
        });
    
        var l7policy = new Edgecenter.LbL7policy("l7policy", new()
        {
            ProjectId = 1,
            RegionId = 1,
            Action = "REDIRECT_PREFIX",
            ListenerId = listener.LblistenerId,
            RedirectHttpCode = 303,
            RedirectPrefix = "https://your-prefix.com/",
            Tags = new[]
            {
                "aaa",
                "bbb",
                "ccc",
            },
        });
    
        var l7rule = new Edgecenter.LbL7rule("l7rule", new()
        {
            ProjectId = 1,
            RegionId = 1,
            Type = "PATH",
            L7policyId = l7policy.LbL7policyId,
            CompareType = "REGEX",
            Value = "/images*",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.edgecenter.Loadbalancerv2;
    import com.pulumi.edgecenter.Loadbalancerv2Args;
    import com.pulumi.edgecenter.Lblistener;
    import com.pulumi.edgecenter.LblistenerArgs;
    import com.pulumi.edgecenter.LbL7policy;
    import com.pulumi.edgecenter.LbL7policyArgs;
    import com.pulumi.edgecenter.LbL7rule;
    import com.pulumi.edgecenter.LbL7ruleArgs;
    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 lb = new Loadbalancerv2("lb", Loadbalancerv2Args.builder()
                .flavor("lb1-1-2")
                .metadataMap()
                .projectId(1)
                .regionId(1)
                .build());
    
            var listener = new Lblistener("listener", LblistenerArgs.builder()
                .projectId(1)
                .regionId(1)
                .protocol("HTTP")
                .protocolPort(80)
                .loadbalancerId(lb.loadbalancerv2Id())
                .build());
    
            var l7policy = new LbL7policy("l7policy", LbL7policyArgs.builder()
                .projectId(1)
                .regionId(1)
                .action("REDIRECT_PREFIX")
                .listenerId(listener.lblistenerId())
                .redirectHttpCode(303)
                .redirectPrefix("https://your-prefix.com/")
                .tags(            
                    "aaa",
                    "bbb",
                    "ccc")
                .build());
    
            var l7rule = new LbL7rule("l7rule", LbL7ruleArgs.builder()
                .projectId(1)
                .regionId(1)
                .type("PATH")
                .l7policyId(l7policy.lbL7policyId())
                .compareType("REGEX")
                .value("/images*")
                .build());
    
        }
    }
    
    resources:
      lb:
        type: edgecenter:Loadbalancerv2
        properties:
          flavor: lb1-1-2
          metadataMap: {}
          projectId: 1
          regionId: 1
      listener:
        type: edgecenter:Lblistener
        properties:
          projectId: 1
          regionId: 1
          protocol: HTTP
          protocolPort: 80
          loadbalancerId: ${lb.loadbalancerv2Id}
      l7policy:
        type: edgecenter:LbL7policy
        properties:
          projectId: 1
          regionId: 1
          action: REDIRECT_PREFIX
          listenerId: ${listener.lblistenerId}
          redirectHttpCode: 303
          redirectPrefix: https://your-prefix.com/
          tags:
            - aaa
            - bbb
            - ccc
      l7rule:
        type: edgecenter:LbL7rule
        properties:
          projectId: 1
          regionId: 1
          type: PATH
          l7policyId: ${l7policy.lbL7policyId}
          compareType: REGEX
          value: /images*
    

    Create LbL7rule Resource

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

    Constructor syntax

    new LbL7rule(name: string, args: LbL7ruleArgs, opts?: CustomResourceOptions);
    @overload
    def LbL7rule(resource_name: str,
                 args: LbL7ruleArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def LbL7rule(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 compare_type: Optional[str] = None,
                 value: Optional[str] = None,
                 type: Optional[str] = None,
                 l7policy_id: Optional[str] = None,
                 project_name: Optional[str] = None,
                 project_id: Optional[float] = None,
                 lb_l7rule_id: Optional[str] = None,
                 region_id: Optional[float] = None,
                 region_name: Optional[str] = None,
                 tags: Optional[Sequence[str]] = None,
                 timeouts: Optional[LbL7ruleTimeoutsArgs] = None,
                 key: Optional[str] = None,
                 invert: Optional[bool] = None)
    func NewLbL7rule(ctx *Context, name string, args LbL7ruleArgs, opts ...ResourceOption) (*LbL7rule, error)
    public LbL7rule(string name, LbL7ruleArgs args, CustomResourceOptions? opts = null)
    public LbL7rule(String name, LbL7ruleArgs args)
    public LbL7rule(String name, LbL7ruleArgs args, CustomResourceOptions options)
    
    type: edgecenter:LbL7rule
    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 LbL7ruleArgs
    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 LbL7ruleArgs
    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 LbL7ruleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LbL7ruleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LbL7ruleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var lbL7ruleResource = new Edgecenter.LbL7rule("lbL7ruleResource", new()
    {
        CompareType = "string",
        Value = "string",
        Type = "string",
        L7policyId = "string",
        ProjectName = "string",
        ProjectId = 0,
        LbL7ruleId = "string",
        RegionId = 0,
        RegionName = "string",
        Tags = new[]
        {
            "string",
        },
        Timeouts = new Edgecenter.Inputs.LbL7ruleTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        Key = "string",
        Invert = false,
    });
    
    example, err := edgecenter.NewLbL7rule(ctx, "lbL7ruleResource", &edgecenter.LbL7ruleArgs{
    	CompareType: pulumi.String("string"),
    	Value:       pulumi.String("string"),
    	Type:        pulumi.String("string"),
    	L7policyId:  pulumi.String("string"),
    	ProjectName: pulumi.String("string"),
    	ProjectId:   pulumi.Float64(0),
    	LbL7ruleId:  pulumi.String("string"),
    	RegionId:    pulumi.Float64(0),
    	RegionName:  pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &edgecenter.LbL7ruleTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	Key:    pulumi.String("string"),
    	Invert: pulumi.Bool(false),
    })
    
    var lbL7ruleResource = new LbL7rule("lbL7ruleResource", LbL7ruleArgs.builder()
        .compareType("string")
        .value("string")
        .type("string")
        .l7policyId("string")
        .projectName("string")
        .projectId(0)
        .lbL7ruleId("string")
        .regionId(0)
        .regionName("string")
        .tags("string")
        .timeouts(LbL7ruleTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .key("string")
        .invert(false)
        .build());
    
    lb_l7rule_resource = edgecenter.LbL7rule("lbL7ruleResource",
        compare_type="string",
        value="string",
        type="string",
        l7policy_id="string",
        project_name="string",
        project_id=0,
        lb_l7rule_id="string",
        region_id=0,
        region_name="string",
        tags=["string"],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        key="string",
        invert=False)
    
    const lbL7ruleResource = new edgecenter.LbL7rule("lbL7ruleResource", {
        compareType: "string",
        value: "string",
        type: "string",
        l7policyId: "string",
        projectName: "string",
        projectId: 0,
        lbL7ruleId: "string",
        regionId: 0,
        regionName: "string",
        tags: ["string"],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        key: "string",
        invert: false,
    });
    
    type: edgecenter:LbL7rule
    properties:
        compareType: string
        invert: false
        key: string
        l7policyId: string
        lbL7ruleId: string
        projectId: 0
        projectName: string
        regionId: 0
        regionName: string
        tags:
            - string
        timeouts:
            create: string
            delete: string
            update: string
        type: string
        value: string
    

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

    CompareType string
    The comparison type for the L7 rule. Available comparison types: "CONTAINS", "STARTSWITH", "ENDSWITH", "EQUAL_TO", "REGEX".
    L7policyId string
    The ID of the L7 policy.
    Type string
    The type of the L7 rule. Available types: "COOKIE", "FILETYPE", "HEADER", "HOSTNAME", "PATH", "SSLCONNHASCERT", "SSLVERIFYRESULT", "SSLDN_FIELD".
    Value string
    The value to use for the comparison. For example, the file type to compare.
    Invert bool
    When true the logic of the rule is inverted.
    Key string
    The key to use for the comparison. For example, the name of the cookie to evaluate.
    LbL7ruleId string
    ProjectId double
    The uuid of the project. Either 'project_id' or 'project_name' must be specified.
    ProjectName string
    The name of the project. Either 'project_id' or 'project_name' must be specified.
    RegionId double
    The uuid of the region. Either 'region_id' or 'region_name' must be specified.
    RegionName string
    The name of the region. Either 'region_id' or 'region_name' must be specified.
    Tags List<string>
    A list of simple strings assigned to the resource.
    Timeouts LbL7ruleTimeouts
    CompareType string
    The comparison type for the L7 rule. Available comparison types: "CONTAINS", "STARTSWITH", "ENDSWITH", "EQUAL_TO", "REGEX".
    L7policyId string
    The ID of the L7 policy.
    Type string
    The type of the L7 rule. Available types: "COOKIE", "FILETYPE", "HEADER", "HOSTNAME", "PATH", "SSLCONNHASCERT", "SSLVERIFYRESULT", "SSLDN_FIELD".
    Value string
    The value to use for the comparison. For example, the file type to compare.
    Invert bool
    When true the logic of the rule is inverted.
    Key string
    The key to use for the comparison. For example, the name of the cookie to evaluate.
    LbL7ruleId string
    ProjectId float64
    The uuid of the project. Either 'project_id' or 'project_name' must be specified.
    ProjectName string
    The name of the project. Either 'project_id' or 'project_name' must be specified.
    RegionId float64
    The uuid of the region. Either 'region_id' or 'region_name' must be specified.
    RegionName string
    The name of the region. Either 'region_id' or 'region_name' must be specified.
    Tags []string
    A list of simple strings assigned to the resource.
    Timeouts LbL7ruleTimeoutsArgs
    compareType String
    The comparison type for the L7 rule. Available comparison types: "CONTAINS", "STARTSWITH", "ENDSWITH", "EQUAL_TO", "REGEX".
    l7policyId String
    The ID of the L7 policy.
    type String
    The type of the L7 rule. Available types: "COOKIE", "FILETYPE", "HEADER", "HOSTNAME", "PATH", "SSLCONNHASCERT", "SSLVERIFYRESULT", "SSLDN_FIELD".
    value String
    The value to use for the comparison. For example, the file type to compare.
    invert Boolean
    When true the logic of the rule is inverted.
    key String
    The key to use for the comparison. For example, the name of the cookie to evaluate.
    lbL7ruleId String
    projectId Double
    The uuid of the project. Either 'project_id' or 'project_name' must be specified.
    projectName String
    The name of the project. Either 'project_id' or 'project_name' must be specified.
    regionId Double
    The uuid of the region. Either 'region_id' or 'region_name' must be specified.
    regionName String
    The name of the region. Either 'region_id' or 'region_name' must be specified.
    tags List<String>
    A list of simple strings assigned to the resource.
    timeouts LbL7ruleTimeouts
    compareType string
    The comparison type for the L7 rule. Available comparison types: "CONTAINS", "STARTSWITH", "ENDSWITH", "EQUAL_TO", "REGEX".
    l7policyId string
    The ID of the L7 policy.
    type string
    The type of the L7 rule. Available types: "COOKIE", "FILETYPE", "HEADER", "HOSTNAME", "PATH", "SSLCONNHASCERT", "SSLVERIFYRESULT", "SSLDN_FIELD".
    value string
    The value to use for the comparison. For example, the file type to compare.
    invert boolean
    When true the logic of the rule is inverted.
    key string
    The key to use for the comparison. For example, the name of the cookie to evaluate.
    lbL7ruleId string
    projectId number
    The uuid of the project. Either 'project_id' or 'project_name' must be specified.
    projectName string
    The name of the project. Either 'project_id' or 'project_name' must be specified.
    regionId number
    The uuid of the region. Either 'region_id' or 'region_name' must be specified.
    regionName string
    The name of the region. Either 'region_id' or 'region_name' must be specified.
    tags string[]
    A list of simple strings assigned to the resource.
    timeouts LbL7ruleTimeouts
    compare_type str
    The comparison type for the L7 rule. Available comparison types: "CONTAINS", "STARTSWITH", "ENDSWITH", "EQUAL_TO", "REGEX".
    l7policy_id str
    The ID of the L7 policy.
    type str
    The type of the L7 rule. Available types: "COOKIE", "FILETYPE", "HEADER", "HOSTNAME", "PATH", "SSLCONNHASCERT", "SSLVERIFYRESULT", "SSLDN_FIELD".
    value str
    The value to use for the comparison. For example, the file type to compare.
    invert bool
    When true the logic of the rule is inverted.
    key str
    The key to use for the comparison. For example, the name of the cookie to evaluate.
    lb_l7rule_id str
    project_id float
    The uuid of the project. Either 'project_id' or 'project_name' must be specified.
    project_name str
    The name of the project. Either 'project_id' or 'project_name' must be specified.
    region_id float
    The uuid of the region. Either 'region_id' or 'region_name' must be specified.
    region_name str
    The name of the region. Either 'region_id' or 'region_name' must be specified.
    tags Sequence[str]
    A list of simple strings assigned to the resource.
    timeouts LbL7ruleTimeoutsArgs
    compareType String
    The comparison type for the L7 rule. Available comparison types: "CONTAINS", "STARTSWITH", "ENDSWITH", "EQUAL_TO", "REGEX".
    l7policyId String
    The ID of the L7 policy.
    type String
    The type of the L7 rule. Available types: "COOKIE", "FILETYPE", "HEADER", "HOSTNAME", "PATH", "SSLCONNHASCERT", "SSLVERIFYRESULT", "SSLDN_FIELD".
    value String
    The value to use for the comparison. For example, the file type to compare.
    invert Boolean
    When true the logic of the rule is inverted.
    key String
    The key to use for the comparison. For example, the name of the cookie to evaluate.
    lbL7ruleId String
    projectId Number
    The uuid of the project. Either 'project_id' or 'project_name' must be specified.
    projectName String
    The name of the project. Either 'project_id' or 'project_name' must be specified.
    regionId Number
    The uuid of the region. Either 'region_id' or 'region_name' must be specified.
    regionName String
    The name of the region. Either 'region_id' or 'region_name' must be specified.
    tags List<String>
    A list of simple strings assigned to the resource.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LbL7rule resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ListenerId string
    The ID of the listener.
    OperatingStatus string
    The operating status.
    ProvisioningStatus string
    The provisioning status.
    Id string
    The provider-assigned unique ID for this managed resource.
    ListenerId string
    The ID of the listener.
    OperatingStatus string
    The operating status.
    ProvisioningStatus string
    The provisioning status.
    id String
    The provider-assigned unique ID for this managed resource.
    listenerId String
    The ID of the listener.
    operatingStatus String
    The operating status.
    provisioningStatus String
    The provisioning status.
    id string
    The provider-assigned unique ID for this managed resource.
    listenerId string
    The ID of the listener.
    operatingStatus string
    The operating status.
    provisioningStatus string
    The provisioning status.
    id str
    The provider-assigned unique ID for this managed resource.
    listener_id str
    The ID of the listener.
    operating_status str
    The operating status.
    provisioning_status str
    The provisioning status.
    id String
    The provider-assigned unique ID for this managed resource.
    listenerId String
    The ID of the listener.
    operatingStatus String
    The operating status.
    provisioningStatus String
    The provisioning status.

    Look up Existing LbL7rule Resource

    Get an existing LbL7rule 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?: LbL7ruleState, opts?: CustomResourceOptions): LbL7rule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compare_type: Optional[str] = None,
            invert: Optional[bool] = None,
            key: Optional[str] = None,
            l7policy_id: Optional[str] = None,
            lb_l7rule_id: Optional[str] = None,
            listener_id: Optional[str] = None,
            operating_status: Optional[str] = None,
            project_id: Optional[float] = None,
            project_name: Optional[str] = None,
            provisioning_status: Optional[str] = None,
            region_id: Optional[float] = None,
            region_name: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            timeouts: Optional[LbL7ruleTimeoutsArgs] = None,
            type: Optional[str] = None,
            value: Optional[str] = None) -> LbL7rule
    func GetLbL7rule(ctx *Context, name string, id IDInput, state *LbL7ruleState, opts ...ResourceOption) (*LbL7rule, error)
    public static LbL7rule Get(string name, Input<string> id, LbL7ruleState? state, CustomResourceOptions? opts = null)
    public static LbL7rule get(String name, Output<String> id, LbL7ruleState state, CustomResourceOptions options)
    resources:  _:    type: edgecenter:LbL7rule    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:
    CompareType string
    The comparison type for the L7 rule. Available comparison types: "CONTAINS", "STARTSWITH", "ENDSWITH", "EQUAL_TO", "REGEX".
    Invert bool
    When true the logic of the rule is inverted.
    Key string
    The key to use for the comparison. For example, the name of the cookie to evaluate.
    L7policyId string
    The ID of the L7 policy.
    LbL7ruleId string
    ListenerId string
    The ID of the listener.
    OperatingStatus string
    The operating status.
    ProjectId double
    The uuid of the project. Either 'project_id' or 'project_name' must be specified.
    ProjectName string
    The name of the project. Either 'project_id' or 'project_name' must be specified.
    ProvisioningStatus string
    The provisioning status.
    RegionId double
    The uuid of the region. Either 'region_id' or 'region_name' must be specified.
    RegionName string
    The name of the region. Either 'region_id' or 'region_name' must be specified.
    Tags List<string>
    A list of simple strings assigned to the resource.
    Timeouts LbL7ruleTimeouts
    Type string
    The type of the L7 rule. Available types: "COOKIE", "FILETYPE", "HEADER", "HOSTNAME", "PATH", "SSLCONNHASCERT", "SSLVERIFYRESULT", "SSLDN_FIELD".
    Value string
    The value to use for the comparison. For example, the file type to compare.
    CompareType string
    The comparison type for the L7 rule. Available comparison types: "CONTAINS", "STARTSWITH", "ENDSWITH", "EQUAL_TO", "REGEX".
    Invert bool
    When true the logic of the rule is inverted.
    Key string
    The key to use for the comparison. For example, the name of the cookie to evaluate.
    L7policyId string
    The ID of the L7 policy.
    LbL7ruleId string
    ListenerId string
    The ID of the listener.
    OperatingStatus string
    The operating status.
    ProjectId float64
    The uuid of the project. Either 'project_id' or 'project_name' must be specified.
    ProjectName string
    The name of the project. Either 'project_id' or 'project_name' must be specified.
    ProvisioningStatus string
    The provisioning status.
    RegionId float64
    The uuid of the region. Either 'region_id' or 'region_name' must be specified.
    RegionName string
    The name of the region. Either 'region_id' or 'region_name' must be specified.
    Tags []string
    A list of simple strings assigned to the resource.
    Timeouts LbL7ruleTimeoutsArgs
    Type string
    The type of the L7 rule. Available types: "COOKIE", "FILETYPE", "HEADER", "HOSTNAME", "PATH", "SSLCONNHASCERT", "SSLVERIFYRESULT", "SSLDN_FIELD".
    Value string
    The value to use for the comparison. For example, the file type to compare.
    compareType String
    The comparison type for the L7 rule. Available comparison types: "CONTAINS", "STARTSWITH", "ENDSWITH", "EQUAL_TO", "REGEX".
    invert Boolean
    When true the logic of the rule is inverted.
    key String
    The key to use for the comparison. For example, the name of the cookie to evaluate.
    l7policyId String
    The ID of the L7 policy.
    lbL7ruleId String
    listenerId String
    The ID of the listener.
    operatingStatus String
    The operating status.
    projectId Double
    The uuid of the project. Either 'project_id' or 'project_name' must be specified.
    projectName String
    The name of the project. Either 'project_id' or 'project_name' must be specified.
    provisioningStatus String
    The provisioning status.
    regionId Double
    The uuid of the region. Either 'region_id' or 'region_name' must be specified.
    regionName String
    The name of the region. Either 'region_id' or 'region_name' must be specified.
    tags List<String>
    A list of simple strings assigned to the resource.
    timeouts LbL7ruleTimeouts
    type String
    The type of the L7 rule. Available types: "COOKIE", "FILETYPE", "HEADER", "HOSTNAME", "PATH", "SSLCONNHASCERT", "SSLVERIFYRESULT", "SSLDN_FIELD".
    value String
    The value to use for the comparison. For example, the file type to compare.
    compareType string
    The comparison type for the L7 rule. Available comparison types: "CONTAINS", "STARTSWITH", "ENDSWITH", "EQUAL_TO", "REGEX".
    invert boolean
    When true the logic of the rule is inverted.
    key string
    The key to use for the comparison. For example, the name of the cookie to evaluate.
    l7policyId string
    The ID of the L7 policy.
    lbL7ruleId string
    listenerId string
    The ID of the listener.
    operatingStatus string
    The operating status.
    projectId number
    The uuid of the project. Either 'project_id' or 'project_name' must be specified.
    projectName string
    The name of the project. Either 'project_id' or 'project_name' must be specified.
    provisioningStatus string
    The provisioning status.
    regionId number
    The uuid of the region. Either 'region_id' or 'region_name' must be specified.
    regionName string
    The name of the region. Either 'region_id' or 'region_name' must be specified.
    tags string[]
    A list of simple strings assigned to the resource.
    timeouts LbL7ruleTimeouts
    type string
    The type of the L7 rule. Available types: "COOKIE", "FILETYPE", "HEADER", "HOSTNAME", "PATH", "SSLCONNHASCERT", "SSLVERIFYRESULT", "SSLDN_FIELD".
    value string
    The value to use for the comparison. For example, the file type to compare.
    compare_type str
    The comparison type for the L7 rule. Available comparison types: "CONTAINS", "STARTSWITH", "ENDSWITH", "EQUAL_TO", "REGEX".
    invert bool
    When true the logic of the rule is inverted.
    key str
    The key to use for the comparison. For example, the name of the cookie to evaluate.
    l7policy_id str
    The ID of the L7 policy.
    lb_l7rule_id str
    listener_id str
    The ID of the listener.
    operating_status str
    The operating status.
    project_id float
    The uuid of the project. Either 'project_id' or 'project_name' must be specified.
    project_name str
    The name of the project. Either 'project_id' or 'project_name' must be specified.
    provisioning_status str
    The provisioning status.
    region_id float
    The uuid of the region. Either 'region_id' or 'region_name' must be specified.
    region_name str
    The name of the region. Either 'region_id' or 'region_name' must be specified.
    tags Sequence[str]
    A list of simple strings assigned to the resource.
    timeouts LbL7ruleTimeoutsArgs
    type str
    The type of the L7 rule. Available types: "COOKIE", "FILETYPE", "HEADER", "HOSTNAME", "PATH", "SSLCONNHASCERT", "SSLVERIFYRESULT", "SSLDN_FIELD".
    value str
    The value to use for the comparison. For example, the file type to compare.
    compareType String
    The comparison type for the L7 rule. Available comparison types: "CONTAINS", "STARTSWITH", "ENDSWITH", "EQUAL_TO", "REGEX".
    invert Boolean
    When true the logic of the rule is inverted.
    key String
    The key to use for the comparison. For example, the name of the cookie to evaluate.
    l7policyId String
    The ID of the L7 policy.
    lbL7ruleId String
    listenerId String
    The ID of the listener.
    operatingStatus String
    The operating status.
    projectId Number
    The uuid of the project. Either 'project_id' or 'project_name' must be specified.
    projectName String
    The name of the project. Either 'project_id' or 'project_name' must be specified.
    provisioningStatus String
    The provisioning status.
    regionId Number
    The uuid of the region. Either 'region_id' or 'region_name' must be specified.
    regionName String
    The name of the region. Either 'region_id' or 'region_name' must be specified.
    tags List<String>
    A list of simple strings assigned to the resource.
    timeouts Property Map
    type String
    The type of the L7 rule. Available types: "COOKIE", "FILETYPE", "HEADER", "HOSTNAME", "PATH", "SSLCONNHASCERT", "SSLVERIFYRESULT", "SSLDN_FIELD".
    value String
    The value to use for the comparison. For example, the file type to compare.

    Supporting Types

    LbL7ruleTimeouts, LbL7ruleTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Package Details

    Repository
    edgecenter edge-center/terraform-provider-edgecenter
    License
    Notes
    This Pulumi package is based on the edgecenter Terraform Provider.
    edgecenter logo
    edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center