1. Packages
  2. Vkcs Provider
  3. API Docs
  4. LbL7rule
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

vkcs.LbL7rule

Explore with Pulumi AI

vkcs logo
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

    Manages a L7 Rule resource within VKCS.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vkcs from "@pulumi/vkcs";
    
    const appApiRedirect = new vkcs.LbL7rule("appApiRedirect", {
        l7policyId: vkcs_lb_l7policy.app_redirect.id,
        compareType: "EQUAL_TO",
        type: "PATH",
        value: "/api",
    });
    
    import pulumi
    import pulumi_vkcs as vkcs
    
    app_api_redirect = vkcs.LbL7rule("appApiRedirect",
        l7policy_id=vkcs_lb_l7policy["app_redirect"]["id"],
        compare_type="EQUAL_TO",
        type="PATH",
        value="/api")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vkcs.NewLbL7rule(ctx, "appApiRedirect", &vkcs.LbL7ruleArgs{
    			L7policyId:  pulumi.Any(vkcs_lb_l7policy.App_redirect.Id),
    			CompareType: pulumi.String("EQUAL_TO"),
    			Type:        pulumi.String("PATH"),
    			Value:       pulumi.String("/api"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vkcs = Pulumi.Vkcs;
    
    return await Deployment.RunAsync(() => 
    {
        var appApiRedirect = new Vkcs.LbL7rule("appApiRedirect", new()
        {
            L7policyId = vkcs_lb_l7policy.App_redirect.Id,
            CompareType = "EQUAL_TO",
            Type = "PATH",
            Value = "/api",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vkcs.LbL7rule;
    import com.pulumi.vkcs.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 appApiRedirect = new LbL7rule("appApiRedirect", LbL7ruleArgs.builder()
                .l7policyId(vkcs_lb_l7policy.app_redirect().id())
                .compareType("EQUAL_TO")
                .type("PATH")
                .value("/api")
                .build());
    
        }
    }
    
    resources:
      appApiRedirect:
        type: vkcs:LbL7rule
        properties:
          l7policyId: ${vkcs_lb_l7policy.app_redirect.id}
          compareType: EQUAL_TO
          type: PATH
          value: /api
    

    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,
                 l7policy_id: Optional[str] = None,
                 type: Optional[str] = None,
                 value: Optional[str] = None,
                 admin_state_up: Optional[bool] = None,
                 invert: Optional[bool] = None,
                 key: Optional[str] = None,
                 lb_l7rule_id: Optional[str] = None,
                 region: Optional[str] = None,
                 timeouts: Optional[LbL7ruleTimeoutsArgs] = 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: vkcs: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 Vkcs.LbL7rule("lbL7ruleResource", new()
    {
        CompareType = "string",
        L7policyId = "string",
        Type = "string",
        Value = "string",
        AdminStateUp = false,
        Invert = false,
        Key = "string",
        LbL7ruleId = "string",
        Region = "string",
        Timeouts = new Vkcs.Inputs.LbL7ruleTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := vkcs.NewLbL7rule(ctx, "lbL7ruleResource", &vkcs.LbL7ruleArgs{
    	CompareType:  pulumi.String("string"),
    	L7policyId:   pulumi.String("string"),
    	Type:         pulumi.String("string"),
    	Value:        pulumi.String("string"),
    	AdminStateUp: pulumi.Bool(false),
    	Invert:       pulumi.Bool(false),
    	Key:          pulumi.String("string"),
    	LbL7ruleId:   pulumi.String("string"),
    	Region:       pulumi.String("string"),
    	Timeouts: &vkcs.LbL7ruleTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var lbL7ruleResource = new LbL7rule("lbL7ruleResource", LbL7ruleArgs.builder()
        .compareType("string")
        .l7policyId("string")
        .type("string")
        .value("string")
        .adminStateUp(false)
        .invert(false)
        .key("string")
        .lbL7ruleId("string")
        .region("string")
        .timeouts(LbL7ruleTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    lb_l7rule_resource = vkcs.LbL7rule("lbL7ruleResource",
        compare_type="string",
        l7policy_id="string",
        type="string",
        value="string",
        admin_state_up=False,
        invert=False,
        key="string",
        lb_l7rule_id="string",
        region="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const lbL7ruleResource = new vkcs.LbL7rule("lbL7ruleResource", {
        compareType: "string",
        l7policyId: "string",
        type: "string",
        value: "string",
        adminStateUp: false,
        invert: false,
        key: "string",
        lbL7ruleId: "string",
        region: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: vkcs:LbL7rule
    properties:
        adminStateUp: false
        compareType: string
        invert: false
        key: string
        l7policyId: string
        lbL7ruleId: string
        region: 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
    required string → The comparison type for the L7 rule - can either be CONTAINS, STARTS_WITH, ENDS_WITH, EQUAL_TO or REGEX
    L7policyId string
    required string → The ID of the L7 Policy to query. Changing this creates a new L7 Rule.
    Type string
    required string → The L7 Rule type - can either be COOKIE, FILE_TYPE, HEADER, HOST_NAME or PATH.
    Value string
    required string → The value to use for the comparison. For example, the file type to compare.
    AdminStateUp bool
    optional boolean → The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).
    Invert bool
    optional boolean → When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.
    Key string
    optional string → The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when type is set to COOKIE or HEADER.
    LbL7ruleId string
    string → ID of the resource.
    Region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new L7 Rule.
    Timeouts LbL7ruleTimeouts
    CompareType string
    required string → The comparison type for the L7 rule - can either be CONTAINS, STARTS_WITH, ENDS_WITH, EQUAL_TO or REGEX
    L7policyId string
    required string → The ID of the L7 Policy to query. Changing this creates a new L7 Rule.
    Type string
    required string → The L7 Rule type - can either be COOKIE, FILE_TYPE, HEADER, HOST_NAME or PATH.
    Value string
    required string → The value to use for the comparison. For example, the file type to compare.
    AdminStateUp bool
    optional boolean → The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).
    Invert bool
    optional boolean → When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.
    Key string
    optional string → The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when type is set to COOKIE or HEADER.
    LbL7ruleId string
    string → ID of the resource.
    Region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new L7 Rule.
    Timeouts LbL7ruleTimeoutsArgs
    compareType String
    required string → The comparison type for the L7 rule - can either be CONTAINS, STARTS_WITH, ENDS_WITH, EQUAL_TO or REGEX
    l7policyId String
    required string → The ID of the L7 Policy to query. Changing this creates a new L7 Rule.
    type String
    required string → The L7 Rule type - can either be COOKIE, FILE_TYPE, HEADER, HOST_NAME or PATH.
    value String
    required string → The value to use for the comparison. For example, the file type to compare.
    adminStateUp Boolean
    optional boolean → The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).
    invert Boolean
    optional boolean → When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.
    key String
    optional string → The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when type is set to COOKIE or HEADER.
    lbL7ruleId String
    string → ID of the resource.
    region String
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new L7 Rule.
    timeouts LbL7ruleTimeouts
    compareType string
    required string → The comparison type for the L7 rule - can either be CONTAINS, STARTS_WITH, ENDS_WITH, EQUAL_TO or REGEX
    l7policyId string
    required string → The ID of the L7 Policy to query. Changing this creates a new L7 Rule.
    type string
    required string → The L7 Rule type - can either be COOKIE, FILE_TYPE, HEADER, HOST_NAME or PATH.
    value string
    required string → The value to use for the comparison. For example, the file type to compare.
    adminStateUp boolean
    optional boolean → The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).
    invert boolean
    optional boolean → When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.
    key string
    optional string → The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when type is set to COOKIE or HEADER.
    lbL7ruleId string
    string → ID of the resource.
    region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new L7 Rule.
    timeouts LbL7ruleTimeouts
    compare_type str
    required string → The comparison type for the L7 rule - can either be CONTAINS, STARTS_WITH, ENDS_WITH, EQUAL_TO or REGEX
    l7policy_id str
    required string → The ID of the L7 Policy to query. Changing this creates a new L7 Rule.
    type str
    required string → The L7 Rule type - can either be COOKIE, FILE_TYPE, HEADER, HOST_NAME or PATH.
    value str
    required string → The value to use for the comparison. For example, the file type to compare.
    admin_state_up bool
    optional boolean → The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).
    invert bool
    optional boolean → When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.
    key str
    optional string → The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when type is set to COOKIE or HEADER.
    lb_l7rule_id str
    string → ID of the resource.
    region str
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new L7 Rule.
    timeouts LbL7ruleTimeoutsArgs
    compareType String
    required string → The comparison type for the L7 rule - can either be CONTAINS, STARTS_WITH, ENDS_WITH, EQUAL_TO or REGEX
    l7policyId String
    required string → The ID of the L7 Policy to query. Changing this creates a new L7 Rule.
    type String
    required string → The L7 Rule type - can either be COOKIE, FILE_TYPE, HEADER, HOST_NAME or PATH.
    value String
    required string → The value to use for the comparison. For example, the file type to compare.
    adminStateUp Boolean
    optional boolean → The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).
    invert Boolean
    optional boolean → When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.
    key String
    optional string → The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when type is set to COOKIE or HEADER.
    lbL7ruleId String
    string → ID of the resource.
    region String
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new L7 Rule.
    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
    string → The ID of the Listener owning this resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    ListenerId string
    string → The ID of the Listener owning this resource.
    id String
    The provider-assigned unique ID for this managed resource.
    listenerId String
    string → The ID of the Listener owning this resource.
    id string
    The provider-assigned unique ID for this managed resource.
    listenerId string
    string → The ID of the Listener owning this resource.
    id str
    The provider-assigned unique ID for this managed resource.
    listener_id str
    string → The ID of the Listener owning this resource.
    id String
    The provider-assigned unique ID for this managed resource.
    listenerId String
    string → The ID of the Listener owning this resource.

    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,
            admin_state_up: Optional[bool] = 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,
            region: Optional[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: vkcs: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:
    AdminStateUp bool
    optional boolean → The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).
    CompareType string
    required string → The comparison type for the L7 rule - can either be CONTAINS, STARTS_WITH, ENDS_WITH, EQUAL_TO or REGEX
    Invert bool
    optional boolean → When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.
    Key string
    optional string → The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when type is set to COOKIE or HEADER.
    L7policyId string
    required string → The ID of the L7 Policy to query. Changing this creates a new L7 Rule.
    LbL7ruleId string
    string → ID of the resource.
    ListenerId string
    string → The ID of the Listener owning this resource.
    Region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new L7 Rule.
    Timeouts LbL7ruleTimeouts
    Type string
    required string → The L7 Rule type - can either be COOKIE, FILE_TYPE, HEADER, HOST_NAME or PATH.
    Value string
    required string → The value to use for the comparison. For example, the file type to compare.
    AdminStateUp bool
    optional boolean → The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).
    CompareType string
    required string → The comparison type for the L7 rule - can either be CONTAINS, STARTS_WITH, ENDS_WITH, EQUAL_TO or REGEX
    Invert bool
    optional boolean → When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.
    Key string
    optional string → The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when type is set to COOKIE or HEADER.
    L7policyId string
    required string → The ID of the L7 Policy to query. Changing this creates a new L7 Rule.
    LbL7ruleId string
    string → ID of the resource.
    ListenerId string
    string → The ID of the Listener owning this resource.
    Region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new L7 Rule.
    Timeouts LbL7ruleTimeoutsArgs
    Type string
    required string → The L7 Rule type - can either be COOKIE, FILE_TYPE, HEADER, HOST_NAME or PATH.
    Value string
    required string → The value to use for the comparison. For example, the file type to compare.
    adminStateUp Boolean
    optional boolean → The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).
    compareType String
    required string → The comparison type for the L7 rule - can either be CONTAINS, STARTS_WITH, ENDS_WITH, EQUAL_TO or REGEX
    invert Boolean
    optional boolean → When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.
    key String
    optional string → The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when type is set to COOKIE or HEADER.
    l7policyId String
    required string → The ID of the L7 Policy to query. Changing this creates a new L7 Rule.
    lbL7ruleId String
    string → ID of the resource.
    listenerId String
    string → The ID of the Listener owning this resource.
    region String
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new L7 Rule.
    timeouts LbL7ruleTimeouts
    type String
    required string → The L7 Rule type - can either be COOKIE, FILE_TYPE, HEADER, HOST_NAME or PATH.
    value String
    required string → The value to use for the comparison. For example, the file type to compare.
    adminStateUp boolean
    optional boolean → The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).
    compareType string
    required string → The comparison type for the L7 rule - can either be CONTAINS, STARTS_WITH, ENDS_WITH, EQUAL_TO or REGEX
    invert boolean
    optional boolean → When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.
    key string
    optional string → The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when type is set to COOKIE or HEADER.
    l7policyId string
    required string → The ID of the L7 Policy to query. Changing this creates a new L7 Rule.
    lbL7ruleId string
    string → ID of the resource.
    listenerId string
    string → The ID of the Listener owning this resource.
    region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new L7 Rule.
    timeouts LbL7ruleTimeouts
    type string
    required string → The L7 Rule type - can either be COOKIE, FILE_TYPE, HEADER, HOST_NAME or PATH.
    value string
    required string → The value to use for the comparison. For example, the file type to compare.
    admin_state_up bool
    optional boolean → The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).
    compare_type str
    required string → The comparison type for the L7 rule - can either be CONTAINS, STARTS_WITH, ENDS_WITH, EQUAL_TO or REGEX
    invert bool
    optional boolean → When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.
    key str
    optional string → The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when type is set to COOKIE or HEADER.
    l7policy_id str
    required string → The ID of the L7 Policy to query. Changing this creates a new L7 Rule.
    lb_l7rule_id str
    string → ID of the resource.
    listener_id str
    string → The ID of the Listener owning this resource.
    region str
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new L7 Rule.
    timeouts LbL7ruleTimeoutsArgs
    type str
    required string → The L7 Rule type - can either be COOKIE, FILE_TYPE, HEADER, HOST_NAME or PATH.
    value str
    required string → The value to use for the comparison. For example, the file type to compare.
    adminStateUp Boolean
    optional boolean → The administrative state of the L7 Rule. A valid value is true (UP) or false (DOWN).
    compareType String
    required string → The comparison type for the L7 rule - can either be CONTAINS, STARTS_WITH, ENDS_WITH, EQUAL_TO or REGEX
    invert Boolean
    optional boolean → When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false.
    key String
    optional string → The key to use for the comparison. For example, the name of the cookie to evaluate. Valid when type is set to COOKIE or HEADER.
    l7policyId String
    required string → The ID of the L7 Policy to query. Changing this creates a new L7 Rule.
    lbL7ruleId String
    string → ID of the resource.
    listenerId String
    string → The ID of the Listener owning this resource.
    region String
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new L7 Rule.
    timeouts Property Map
    type String
    required string → The L7 Rule type - can either be COOKIE, FILE_TYPE, HEADER, HOST_NAME or PATH.
    value String
    required 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

    Import

    Load Balancer L7 Rule can be imported using the L7 Policy ID and L7 Rule ID separated by a slash, e.g.:

    $ pulumi import vkcs:index/lbL7rule:LbL7rule l7rule_1 e0bd694a-abbe-450e-b329-0931fd1cc5eb/4086b0c9-b18c-4d1c-b6b8-4c56c3ad2a9e
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    vkcs vk-cs/terraform-provider-vkcs
    License
    Notes
    This Pulumi package is based on the vkcs Terraform Provider.
    vkcs logo
    vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs