1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. LbRuleV3
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.LbRuleV3

Explore with Pulumi AI

Up-to-date reference of API arguments for DLB l7 rule you can get at documentation portal

Manages a Dedicated Load Balancer Rule resource within OpenTelekomCloud.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const thisLbLoadbalancerV3 = new opentelekomcloud.LbLoadbalancerV3("thisLbLoadbalancerV3", {
    routerId: _var.router_id,
    networkIds: [_var.network_id],
    availabilityZones: [_var.az],
});
const thisLbListenerV3 = new opentelekomcloud.LbListenerV3("thisLbListenerV3", {
    loadbalancerId: thisLbLoadbalancerV3.lbLoadbalancerV3Id,
    protocol: "HTTP",
    protocolPort: 8080,
});
const thisLbPoolV3 = new opentelekomcloud.LbPoolV3("thisLbPoolV3", {
    loadbalancerId: thisLbLoadbalancerV3.lbLoadbalancerV3Id,
    lbAlgorithm: "ROUND_ROBIN",
    protocol: "HTTP",
});
const thisLbPolicyV3 = new opentelekomcloud.LbPolicyV3("thisLbPolicyV3", {
    action: "REDIRECT_TO_POOL",
    listenerId: thisLbListenerV3.lbListenerV3Id,
    redirectPoolId: thisLbPoolV3.lbPoolV3Id,
    position: 37,
});
const thisLbRuleV3 = new opentelekomcloud.LbRuleV3("thisLbRuleV3", {
    type: "PATH",
    compareType: "REGEX",
    value: "^.+$",
    policyId: thisLbPolicyV3.lbPolicyV3Id,
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

this_lb_loadbalancer_v3 = opentelekomcloud.LbLoadbalancerV3("thisLbLoadbalancerV3",
    router_id=var["router_id"],
    network_ids=[var["network_id"]],
    availability_zones=[var["az"]])
this_lb_listener_v3 = opentelekomcloud.LbListenerV3("thisLbListenerV3",
    loadbalancer_id=this_lb_loadbalancer_v3.lb_loadbalancer_v3_id,
    protocol="HTTP",
    protocol_port=8080)
this_lb_pool_v3 = opentelekomcloud.LbPoolV3("thisLbPoolV3",
    loadbalancer_id=this_lb_loadbalancer_v3.lb_loadbalancer_v3_id,
    lb_algorithm="ROUND_ROBIN",
    protocol="HTTP")
this_lb_policy_v3 = opentelekomcloud.LbPolicyV3("thisLbPolicyV3",
    action="REDIRECT_TO_POOL",
    listener_id=this_lb_listener_v3.lb_listener_v3_id,
    redirect_pool_id=this_lb_pool_v3.lb_pool_v3_id,
    position=37)
this_lb_rule_v3 = opentelekomcloud.LbRuleV3("thisLbRuleV3",
    type="PATH",
    compare_type="REGEX",
    value="^.+$",
    policy_id=this_lb_policy_v3.lb_policy_v3_id)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		thisLbLoadbalancerV3, err := opentelekomcloud.NewLbLoadbalancerV3(ctx, "thisLbLoadbalancerV3", &opentelekomcloud.LbLoadbalancerV3Args{
			RouterId: pulumi.Any(_var.Router_id),
			NetworkIds: pulumi.StringArray{
				_var.Network_id,
			},
			AvailabilityZones: pulumi.StringArray{
				_var.Az,
			},
		})
		if err != nil {
			return err
		}
		thisLbListenerV3, err := opentelekomcloud.NewLbListenerV3(ctx, "thisLbListenerV3", &opentelekomcloud.LbListenerV3Args{
			LoadbalancerId: thisLbLoadbalancerV3.LbLoadbalancerV3Id,
			Protocol:       pulumi.String("HTTP"),
			ProtocolPort:   pulumi.Float64(8080),
		})
		if err != nil {
			return err
		}
		thisLbPoolV3, err := opentelekomcloud.NewLbPoolV3(ctx, "thisLbPoolV3", &opentelekomcloud.LbPoolV3Args{
			LoadbalancerId: thisLbLoadbalancerV3.LbLoadbalancerV3Id,
			LbAlgorithm:    pulumi.String("ROUND_ROBIN"),
			Protocol:       pulumi.String("HTTP"),
		})
		if err != nil {
			return err
		}
		thisLbPolicyV3, err := opentelekomcloud.NewLbPolicyV3(ctx, "thisLbPolicyV3", &opentelekomcloud.LbPolicyV3Args{
			Action:         pulumi.String("REDIRECT_TO_POOL"),
			ListenerId:     thisLbListenerV3.LbListenerV3Id,
			RedirectPoolId: thisLbPoolV3.LbPoolV3Id,
			Position:       pulumi.Float64(37),
		})
		if err != nil {
			return err
		}
		_, err = opentelekomcloud.NewLbRuleV3(ctx, "thisLbRuleV3", &opentelekomcloud.LbRuleV3Args{
			Type:        pulumi.String("PATH"),
			CompareType: pulumi.String("REGEX"),
			Value:       pulumi.String("^.+$"),
			PolicyId:    thisLbPolicyV3.LbPolicyV3Id,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var thisLbLoadbalancerV3 = new Opentelekomcloud.LbLoadbalancerV3("thisLbLoadbalancerV3", new()
    {
        RouterId = @var.Router_id,
        NetworkIds = new[]
        {
            @var.Network_id,
        },
        AvailabilityZones = new[]
        {
            @var.Az,
        },
    });

    var thisLbListenerV3 = new Opentelekomcloud.LbListenerV3("thisLbListenerV3", new()
    {
        LoadbalancerId = thisLbLoadbalancerV3.LbLoadbalancerV3Id,
        Protocol = "HTTP",
        ProtocolPort = 8080,
    });

    var thisLbPoolV3 = new Opentelekomcloud.LbPoolV3("thisLbPoolV3", new()
    {
        LoadbalancerId = thisLbLoadbalancerV3.LbLoadbalancerV3Id,
        LbAlgorithm = "ROUND_ROBIN",
        Protocol = "HTTP",
    });

    var thisLbPolicyV3 = new Opentelekomcloud.LbPolicyV3("thisLbPolicyV3", new()
    {
        Action = "REDIRECT_TO_POOL",
        ListenerId = thisLbListenerV3.LbListenerV3Id,
        RedirectPoolId = thisLbPoolV3.LbPoolV3Id,
        Position = 37,
    });

    var thisLbRuleV3 = new Opentelekomcloud.LbRuleV3("thisLbRuleV3", new()
    {
        Type = "PATH",
        CompareType = "REGEX",
        Value = "^.+$",
        PolicyId = thisLbPolicyV3.LbPolicyV3Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.LbLoadbalancerV3;
import com.pulumi.opentelekomcloud.LbLoadbalancerV3Args;
import com.pulumi.opentelekomcloud.LbListenerV3;
import com.pulumi.opentelekomcloud.LbListenerV3Args;
import com.pulumi.opentelekomcloud.LbPoolV3;
import com.pulumi.opentelekomcloud.LbPoolV3Args;
import com.pulumi.opentelekomcloud.LbPolicyV3;
import com.pulumi.opentelekomcloud.LbPolicyV3Args;
import com.pulumi.opentelekomcloud.LbRuleV3;
import com.pulumi.opentelekomcloud.LbRuleV3Args;
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 thisLbLoadbalancerV3 = new LbLoadbalancerV3("thisLbLoadbalancerV3", LbLoadbalancerV3Args.builder()
            .routerId(var_.router_id())
            .networkIds(var_.network_id())
            .availabilityZones(var_.az())
            .build());

        var thisLbListenerV3 = new LbListenerV3("thisLbListenerV3", LbListenerV3Args.builder()
            .loadbalancerId(thisLbLoadbalancerV3.lbLoadbalancerV3Id())
            .protocol("HTTP")
            .protocolPort(8080)
            .build());

        var thisLbPoolV3 = new LbPoolV3("thisLbPoolV3", LbPoolV3Args.builder()
            .loadbalancerId(thisLbLoadbalancerV3.lbLoadbalancerV3Id())
            .lbAlgorithm("ROUND_ROBIN")
            .protocol("HTTP")
            .build());

        var thisLbPolicyV3 = new LbPolicyV3("thisLbPolicyV3", LbPolicyV3Args.builder()
            .action("REDIRECT_TO_POOL")
            .listenerId(thisLbListenerV3.lbListenerV3Id())
            .redirectPoolId(thisLbPoolV3.lbPoolV3Id())
            .position(37)
            .build());

        var thisLbRuleV3 = new LbRuleV3("thisLbRuleV3", LbRuleV3Args.builder()
            .type("PATH")
            .compareType("REGEX")
            .value("^.+$")
            .policyId(thisLbPolicyV3.lbPolicyV3Id())
            .build());

    }
}
Copy
resources:
  thisLbLoadbalancerV3:
    type: opentelekomcloud:LbLoadbalancerV3
    properties:
      routerId: ${var.router_id}
      networkIds:
        - ${var.network_id}
      availabilityZones:
        - ${var.az}
  thisLbListenerV3:
    type: opentelekomcloud:LbListenerV3
    properties:
      loadbalancerId: ${thisLbLoadbalancerV3.lbLoadbalancerV3Id}
      protocol: HTTP
      protocolPort: 8080
  thisLbPoolV3:
    type: opentelekomcloud:LbPoolV3
    properties:
      loadbalancerId: ${thisLbLoadbalancerV3.lbLoadbalancerV3Id}
      lbAlgorithm: ROUND_ROBIN
      protocol: HTTP
  thisLbPolicyV3:
    type: opentelekomcloud:LbPolicyV3
    properties:
      action: REDIRECT_TO_POOL
      listenerId: ${thisLbListenerV3.lbListenerV3Id}
      redirectPoolId: ${thisLbPoolV3.lbPoolV3Id}
      position: 37
  thisLbRuleV3:
    type: opentelekomcloud:LbRuleV3
    properties:
      type: PATH
      compareType: REGEX
      value: ^.+$
      policyId: ${thisLbPolicyV3.lbPolicyV3Id}
Copy

Create LbRuleV3 Resource

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

Constructor syntax

new LbRuleV3(name: string, args: LbRuleV3Args, opts?: CustomResourceOptions);
@overload
def LbRuleV3(resource_name: str,
             args: LbRuleV3Args,
             opts: Optional[ResourceOptions] = None)

@overload
def LbRuleV3(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             compare_type: Optional[str] = None,
             policy_id: Optional[str] = None,
             type: Optional[str] = None,
             value: Optional[str] = None,
             conditions: Optional[Sequence[LbRuleV3ConditionArgs]] = None,
             lb_rule_v3_id: Optional[str] = None,
             project_id: Optional[str] = None)
func NewLbRuleV3(ctx *Context, name string, args LbRuleV3Args, opts ...ResourceOption) (*LbRuleV3, error)
public LbRuleV3(string name, LbRuleV3Args args, CustomResourceOptions? opts = null)
public LbRuleV3(String name, LbRuleV3Args args)
public LbRuleV3(String name, LbRuleV3Args args, CustomResourceOptions options)
type: opentelekomcloud:LbRuleV3
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. LbRuleV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. LbRuleV3Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. LbRuleV3Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. LbRuleV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. LbRuleV3Args
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 lbRuleV3Resource = new Opentelekomcloud.LbRuleV3("lbRuleV3Resource", new()
{
    CompareType = "string",
    PolicyId = "string",
    Type = "string",
    Value = "string",
    Conditions = new[]
    {
        new Opentelekomcloud.Inputs.LbRuleV3ConditionArgs
        {
            Value = "string",
            Key = "string",
        },
    },
    LbRuleV3Id = "string",
    ProjectId = "string",
});
Copy
example, err := opentelekomcloud.NewLbRuleV3(ctx, "lbRuleV3Resource", &opentelekomcloud.LbRuleV3Args{
CompareType: pulumi.String("string"),
PolicyId: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
Conditions: .LbRuleV3ConditionArray{
&.LbRuleV3ConditionArgs{
Value: pulumi.String("string"),
Key: pulumi.String("string"),
},
},
LbRuleV3Id: pulumi.String("string"),
ProjectId: pulumi.String("string"),
})
Copy
var lbRuleV3Resource = new LbRuleV3("lbRuleV3Resource", LbRuleV3Args.builder()
    .compareType("string")
    .policyId("string")
    .type("string")
    .value("string")
    .conditions(LbRuleV3ConditionArgs.builder()
        .value("string")
        .key("string")
        .build())
    .lbRuleV3Id("string")
    .projectId("string")
    .build());
Copy
lb_rule_v3_resource = opentelekomcloud.LbRuleV3("lbRuleV3Resource",
    compare_type="string",
    policy_id="string",
    type="string",
    value="string",
    conditions=[{
        "value": "string",
        "key": "string",
    }],
    lb_rule_v3_id="string",
    project_id="string")
Copy
const lbRuleV3Resource = new opentelekomcloud.LbRuleV3("lbRuleV3Resource", {
    compareType: "string",
    policyId: "string",
    type: "string",
    value: "string",
    conditions: [{
        value: "string",
        key: "string",
    }],
    lbRuleV3Id: "string",
    projectId: "string",
});
Copy
type: opentelekomcloud:LbRuleV3
properties:
    compareType: string
    conditions:
        - key: string
          value: string
    lbRuleV3Id: string
    policyId: string
    projectId: string
    type: string
    value: string
Copy

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

CompareType This property is required. string

Specifies how requests are matched with the domain name or URL. The values can be: EQUAL_TO, REGEX, STARTS_WITH.

->If type is set to HOST_NAME, this parameter can only be set to EQUAL_TO (exact match). If type is set to PATH, this parameter can be set to REGEX (regular expression match), STARTS_WITH (prefix match), or EQUAL_TO (exact match).

PolicyId This property is required. string
ID of the policy.
Type This property is required. string
Specifies the match content. The value can be one of the following: HOST_NAME, PATH.
Value This property is required. string

Specifies the value of the match item. For example, if a domain name is used for matching, value is the domain name.

->If type is set to HOST_NAME, the value can contain letters, digits, hyphens -, and periods . and must start with a letter or digit. If you want to use a wildcard domain name, enter an asterisk * as the leftmost label of the domain name. If type is set to PATH and compare_type to STARTS_WITH or EQUAL_TO, the value must start with a slash / and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{}.

Conditions List<LbRuleV3Condition>
Specifies the matching conditions of the forwarding rule. This parameter is available only when advanced_forwarding is set to true. Not available in eu-nl.
LbRuleV3Id string
ProjectId string
Required for admins. The UUID of the tenant who owns the Policy. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Policy.
CompareType This property is required. string

Specifies how requests are matched with the domain name or URL. The values can be: EQUAL_TO, REGEX, STARTS_WITH.

->If type is set to HOST_NAME, this parameter can only be set to EQUAL_TO (exact match). If type is set to PATH, this parameter can be set to REGEX (regular expression match), STARTS_WITH (prefix match), or EQUAL_TO (exact match).

PolicyId This property is required. string
ID of the policy.
Type This property is required. string
Specifies the match content. The value can be one of the following: HOST_NAME, PATH.
Value This property is required. string

Specifies the value of the match item. For example, if a domain name is used for matching, value is the domain name.

->If type is set to HOST_NAME, the value can contain letters, digits, hyphens -, and periods . and must start with a letter or digit. If you want to use a wildcard domain name, enter an asterisk * as the leftmost label of the domain name. If type is set to PATH and compare_type to STARTS_WITH or EQUAL_TO, the value must start with a slash / and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{}.

Conditions []LbRuleV3ConditionArgs
Specifies the matching conditions of the forwarding rule. This parameter is available only when advanced_forwarding is set to true. Not available in eu-nl.
LbRuleV3Id string
ProjectId string
Required for admins. The UUID of the tenant who owns the Policy. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Policy.
compareType This property is required. String

Specifies how requests are matched with the domain name or URL. The values can be: EQUAL_TO, REGEX, STARTS_WITH.

->If type is set to HOST_NAME, this parameter can only be set to EQUAL_TO (exact match). If type is set to PATH, this parameter can be set to REGEX (regular expression match), STARTS_WITH (prefix match), or EQUAL_TO (exact match).

policyId This property is required. String
ID of the policy.
type This property is required. String
Specifies the match content. The value can be one of the following: HOST_NAME, PATH.
value This property is required. String

Specifies the value of the match item. For example, if a domain name is used for matching, value is the domain name.

->If type is set to HOST_NAME, the value can contain letters, digits, hyphens -, and periods . and must start with a letter or digit. If you want to use a wildcard domain name, enter an asterisk * as the leftmost label of the domain name. If type is set to PATH and compare_type to STARTS_WITH or EQUAL_TO, the value must start with a slash / and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{}.

conditions List<LbRuleV3Condition>
Specifies the matching conditions of the forwarding rule. This parameter is available only when advanced_forwarding is set to true. Not available in eu-nl.
lbRuleV3Id String
projectId String
Required for admins. The UUID of the tenant who owns the Policy. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Policy.
compareType This property is required. string

Specifies how requests are matched with the domain name or URL. The values can be: EQUAL_TO, REGEX, STARTS_WITH.

->If type is set to HOST_NAME, this parameter can only be set to EQUAL_TO (exact match). If type is set to PATH, this parameter can be set to REGEX (regular expression match), STARTS_WITH (prefix match), or EQUAL_TO (exact match).

policyId This property is required. string
ID of the policy.
type This property is required. string
Specifies the match content. The value can be one of the following: HOST_NAME, PATH.
value This property is required. string

Specifies the value of the match item. For example, if a domain name is used for matching, value is the domain name.

->If type is set to HOST_NAME, the value can contain letters, digits, hyphens -, and periods . and must start with a letter or digit. If you want to use a wildcard domain name, enter an asterisk * as the leftmost label of the domain name. If type is set to PATH and compare_type to STARTS_WITH or EQUAL_TO, the value must start with a slash / and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{}.

conditions LbRuleV3Condition[]
Specifies the matching conditions of the forwarding rule. This parameter is available only when advanced_forwarding is set to true. Not available in eu-nl.
lbRuleV3Id string
projectId string
Required for admins. The UUID of the tenant who owns the Policy. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Policy.
compare_type This property is required. str

Specifies how requests are matched with the domain name or URL. The values can be: EQUAL_TO, REGEX, STARTS_WITH.

->If type is set to HOST_NAME, this parameter can only be set to EQUAL_TO (exact match). If type is set to PATH, this parameter can be set to REGEX (regular expression match), STARTS_WITH (prefix match), or EQUAL_TO (exact match).

policy_id This property is required. str
ID of the policy.
type This property is required. str
Specifies the match content. The value can be one of the following: HOST_NAME, PATH.
value This property is required. str

Specifies the value of the match item. For example, if a domain name is used for matching, value is the domain name.

->If type is set to HOST_NAME, the value can contain letters, digits, hyphens -, and periods . and must start with a letter or digit. If you want to use a wildcard domain name, enter an asterisk * as the leftmost label of the domain name. If type is set to PATH and compare_type to STARTS_WITH or EQUAL_TO, the value must start with a slash / and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{}.

conditions Sequence[LbRuleV3ConditionArgs]
Specifies the matching conditions of the forwarding rule. This parameter is available only when advanced_forwarding is set to true. Not available in eu-nl.
lb_rule_v3_id str
project_id str
Required for admins. The UUID of the tenant who owns the Policy. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Policy.
compareType This property is required. String

Specifies how requests are matched with the domain name or URL. The values can be: EQUAL_TO, REGEX, STARTS_WITH.

->If type is set to HOST_NAME, this parameter can only be set to EQUAL_TO (exact match). If type is set to PATH, this parameter can be set to REGEX (regular expression match), STARTS_WITH (prefix match), or EQUAL_TO (exact match).

policyId This property is required. String
ID of the policy.
type This property is required. String
Specifies the match content. The value can be one of the following: HOST_NAME, PATH.
value This property is required. String

Specifies the value of the match item. For example, if a domain name is used for matching, value is the domain name.

->If type is set to HOST_NAME, the value can contain letters, digits, hyphens -, and periods . and must start with a letter or digit. If you want to use a wildcard domain name, enter an asterisk * as the leftmost label of the domain name. If type is set to PATH and compare_type to STARTS_WITH or EQUAL_TO, the value must start with a slash / and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{}.

conditions List<Property Map>
Specifies the matching conditions of the forwarding rule. This parameter is available only when advanced_forwarding is set to true. Not available in eu-nl.
lbRuleV3Id String
projectId String
Required for admins. The UUID of the tenant who owns the Policy. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Policy.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
RuleId string
ID of the policy rule.
Id string
The provider-assigned unique ID for this managed resource.
RuleId string
ID of the policy rule.
id String
The provider-assigned unique ID for this managed resource.
ruleId String
ID of the policy rule.
id string
The provider-assigned unique ID for this managed resource.
ruleId string
ID of the policy rule.
id str
The provider-assigned unique ID for this managed resource.
rule_id str
ID of the policy rule.
id String
The provider-assigned unique ID for this managed resource.
ruleId String
ID of the policy rule.

Look up Existing LbRuleV3 Resource

Get an existing LbRuleV3 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?: LbRuleV3State, opts?: CustomResourceOptions): LbRuleV3
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compare_type: Optional[str] = None,
        conditions: Optional[Sequence[LbRuleV3ConditionArgs]] = None,
        lb_rule_v3_id: Optional[str] = None,
        policy_id: Optional[str] = None,
        project_id: Optional[str] = None,
        rule_id: Optional[str] = None,
        type: Optional[str] = None,
        value: Optional[str] = None) -> LbRuleV3
func GetLbRuleV3(ctx *Context, name string, id IDInput, state *LbRuleV3State, opts ...ResourceOption) (*LbRuleV3, error)
public static LbRuleV3 Get(string name, Input<string> id, LbRuleV3State? state, CustomResourceOptions? opts = null)
public static LbRuleV3 get(String name, Output<String> id, LbRuleV3State state, CustomResourceOptions options)
resources:  _:    type: opentelekomcloud:LbRuleV3    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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

Specifies how requests are matched with the domain name or URL. The values can be: EQUAL_TO, REGEX, STARTS_WITH.

->If type is set to HOST_NAME, this parameter can only be set to EQUAL_TO (exact match). If type is set to PATH, this parameter can be set to REGEX (regular expression match), STARTS_WITH (prefix match), or EQUAL_TO (exact match).

Conditions List<LbRuleV3Condition>
Specifies the matching conditions of the forwarding rule. This parameter is available only when advanced_forwarding is set to true. Not available in eu-nl.
LbRuleV3Id string
PolicyId string
ID of the policy.
ProjectId string
Required for admins. The UUID of the tenant who owns the Policy. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Policy.
RuleId string
ID of the policy rule.
Type string
Specifies the match content. The value can be one of the following: HOST_NAME, PATH.
Value string

Specifies the value of the match item. For example, if a domain name is used for matching, value is the domain name.

->If type is set to HOST_NAME, the value can contain letters, digits, hyphens -, and periods . and must start with a letter or digit. If you want to use a wildcard domain name, enter an asterisk * as the leftmost label of the domain name. If type is set to PATH and compare_type to STARTS_WITH or EQUAL_TO, the value must start with a slash / and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{}.

CompareType string

Specifies how requests are matched with the domain name or URL. The values can be: EQUAL_TO, REGEX, STARTS_WITH.

->If type is set to HOST_NAME, this parameter can only be set to EQUAL_TO (exact match). If type is set to PATH, this parameter can be set to REGEX (regular expression match), STARTS_WITH (prefix match), or EQUAL_TO (exact match).

Conditions []LbRuleV3ConditionArgs
Specifies the matching conditions of the forwarding rule. This parameter is available only when advanced_forwarding is set to true. Not available in eu-nl.
LbRuleV3Id string
PolicyId string
ID of the policy.
ProjectId string
Required for admins. The UUID of the tenant who owns the Policy. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Policy.
RuleId string
ID of the policy rule.
Type string
Specifies the match content. The value can be one of the following: HOST_NAME, PATH.
Value string

Specifies the value of the match item. For example, if a domain name is used for matching, value is the domain name.

->If type is set to HOST_NAME, the value can contain letters, digits, hyphens -, and periods . and must start with a letter or digit. If you want to use a wildcard domain name, enter an asterisk * as the leftmost label of the domain name. If type is set to PATH and compare_type to STARTS_WITH or EQUAL_TO, the value must start with a slash / and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{}.

compareType String

Specifies how requests are matched with the domain name or URL. The values can be: EQUAL_TO, REGEX, STARTS_WITH.

->If type is set to HOST_NAME, this parameter can only be set to EQUAL_TO (exact match). If type is set to PATH, this parameter can be set to REGEX (regular expression match), STARTS_WITH (prefix match), or EQUAL_TO (exact match).

conditions List<LbRuleV3Condition>
Specifies the matching conditions of the forwarding rule. This parameter is available only when advanced_forwarding is set to true. Not available in eu-nl.
lbRuleV3Id String
policyId String
ID of the policy.
projectId String
Required for admins. The UUID of the tenant who owns the Policy. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Policy.
ruleId String
ID of the policy rule.
type String
Specifies the match content. The value can be one of the following: HOST_NAME, PATH.
value String

Specifies the value of the match item. For example, if a domain name is used for matching, value is the domain name.

->If type is set to HOST_NAME, the value can contain letters, digits, hyphens -, and periods . and must start with a letter or digit. If you want to use a wildcard domain name, enter an asterisk * as the leftmost label of the domain name. If type is set to PATH and compare_type to STARTS_WITH or EQUAL_TO, the value must start with a slash / and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{}.

compareType string

Specifies how requests are matched with the domain name or URL. The values can be: EQUAL_TO, REGEX, STARTS_WITH.

->If type is set to HOST_NAME, this parameter can only be set to EQUAL_TO (exact match). If type is set to PATH, this parameter can be set to REGEX (regular expression match), STARTS_WITH (prefix match), or EQUAL_TO (exact match).

conditions LbRuleV3Condition[]
Specifies the matching conditions of the forwarding rule. This parameter is available only when advanced_forwarding is set to true. Not available in eu-nl.
lbRuleV3Id string
policyId string
ID of the policy.
projectId string
Required for admins. The UUID of the tenant who owns the Policy. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Policy.
ruleId string
ID of the policy rule.
type string
Specifies the match content. The value can be one of the following: HOST_NAME, PATH.
value string

Specifies the value of the match item. For example, if a domain name is used for matching, value is the domain name.

->If type is set to HOST_NAME, the value can contain letters, digits, hyphens -, and periods . and must start with a letter or digit. If you want to use a wildcard domain name, enter an asterisk * as the leftmost label of the domain name. If type is set to PATH and compare_type to STARTS_WITH or EQUAL_TO, the value must start with a slash / and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{}.

compare_type str

Specifies how requests are matched with the domain name or URL. The values can be: EQUAL_TO, REGEX, STARTS_WITH.

->If type is set to HOST_NAME, this parameter can only be set to EQUAL_TO (exact match). If type is set to PATH, this parameter can be set to REGEX (regular expression match), STARTS_WITH (prefix match), or EQUAL_TO (exact match).

conditions Sequence[LbRuleV3ConditionArgs]
Specifies the matching conditions of the forwarding rule. This parameter is available only when advanced_forwarding is set to true. Not available in eu-nl.
lb_rule_v3_id str
policy_id str
ID of the policy.
project_id str
Required for admins. The UUID of the tenant who owns the Policy. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Policy.
rule_id str
ID of the policy rule.
type str
Specifies the match content. The value can be one of the following: HOST_NAME, PATH.
value str

Specifies the value of the match item. For example, if a domain name is used for matching, value is the domain name.

->If type is set to HOST_NAME, the value can contain letters, digits, hyphens -, and periods . and must start with a letter or digit. If you want to use a wildcard domain name, enter an asterisk * as the leftmost label of the domain name. If type is set to PATH and compare_type to STARTS_WITH or EQUAL_TO, the value must start with a slash / and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{}.

compareType String

Specifies how requests are matched with the domain name or URL. The values can be: EQUAL_TO, REGEX, STARTS_WITH.

->If type is set to HOST_NAME, this parameter can only be set to EQUAL_TO (exact match). If type is set to PATH, this parameter can be set to REGEX (regular expression match), STARTS_WITH (prefix match), or EQUAL_TO (exact match).

conditions List<Property Map>
Specifies the matching conditions of the forwarding rule. This parameter is available only when advanced_forwarding is set to true. Not available in eu-nl.
lbRuleV3Id String
policyId String
ID of the policy.
projectId String
Required for admins. The UUID of the tenant who owns the Policy. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new Policy.
ruleId String
ID of the policy rule.
type String
Specifies the match content. The value can be one of the following: HOST_NAME, PATH.
value String

Specifies the value of the match item. For example, if a domain name is used for matching, value is the domain name.

->If type is set to HOST_NAME, the value can contain letters, digits, hyphens -, and periods . and must start with a letter or digit. If you want to use a wildcard domain name, enter an asterisk * as the leftmost label of the domain name. If type is set to PATH and compare_type to STARTS_WITH or EQUAL_TO, the value must start with a slash / and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{}.

Supporting Types

LbRuleV3Condition
, LbRuleV3ConditionArgs

Value This property is required. string

Specifies the value of the match item.

->If type is set to HOST_NAME, key is left blank, and value indicates the domain name, which can contain 1 to 128 characters, including letters, digits, hyphens (-), periods (.), and asterisks (*), and must start with a letter, digit, or asterisk (*). If you want to use a wildcard domain name, enter an asterisk (*) as the leftmost label of the domain name. If type is set to PATH, key is left blank, and value indicates the request path, which can contain 1 to 128 characters. If compare_type is set to STARTS_WITH or EQUAL_TO for the forwarding rule, the value must start with a slash (/) and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{} If type is set to HEADER, key indicates the name of the HTTP header parameter, and value indicates the value of the HTTP header parameter. The value can contain 1 to 128 characters. Asterisks (*) and question marks (?) are allowed, but spaces and double quotation marks are not allowed. An asterisk can match zero or more characters, and a question mark can match 1 character. If type is set to QUERY_STRING, key indicates the name of the query parameter, and value indicates the value of the query parameter. The value is case-sensitive and can contain 1 to 128 characters. Spaces, square brackets ([ ]), curly brackets ({ }), angle brackets (< >), backslashes (\), double quotation marks ( ), pound signs (#), ampersands (&), vertical bars (|), percent signs (%), and tildes (~) are not supported. Asterisks (*) and question marks (?) are allowed. An asterisk can match zero or more characters, and a question mark can match 1 character. If type is set to METHOD, key is left blank, and value indicates the HTTP method. The value can be GET, PUT, POST, DELETE, PATCH, HEAD, or OPTIONS. If type is set to SOURCE_IP, key is left blank, and value indicates the source IP address of the request. The value is an IPv4 or IPv6 CIDR block, for example, 192.168.0.2/32 or elb. All keys in the conditions list in the same rule must be the same.

Key string

Specifies the key of match item.

->If type is set to HOST_NAME, PATH, METHOD, or SOURCE_IP, this parameter is left blank. If type is set to HEADER, key indicates the name of the HTTP header parameter. The value can contain 1 to 40 characters, including letters, digits, hyphens (-), and underscores (_). If type is set to QUERY_STRING, key indicates the name of the query parameter. The value is case-sensitive and can contain 1 to 128 characters. Spaces, square brackets ([ ]), curly brackets ({ }), angle brackets (< >), backslashes (\), double quotation marks ( ), pound signs (#), ampersands (&), vertical bars (|), percent signs (%), and tildes (~) are not supported. All keys in the conditions list in the same rule must be the same.

Value This property is required. string

Specifies the value of the match item.

->If type is set to HOST_NAME, key is left blank, and value indicates the domain name, which can contain 1 to 128 characters, including letters, digits, hyphens (-), periods (.), and asterisks (*), and must start with a letter, digit, or asterisk (*). If you want to use a wildcard domain name, enter an asterisk (*) as the leftmost label of the domain name. If type is set to PATH, key is left blank, and value indicates the request path, which can contain 1 to 128 characters. If compare_type is set to STARTS_WITH or EQUAL_TO for the forwarding rule, the value must start with a slash (/) and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{} If type is set to HEADER, key indicates the name of the HTTP header parameter, and value indicates the value of the HTTP header parameter. The value can contain 1 to 128 characters. Asterisks (*) and question marks (?) are allowed, but spaces and double quotation marks are not allowed. An asterisk can match zero or more characters, and a question mark can match 1 character. If type is set to QUERY_STRING, key indicates the name of the query parameter, and value indicates the value of the query parameter. The value is case-sensitive and can contain 1 to 128 characters. Spaces, square brackets ([ ]), curly brackets ({ }), angle brackets (< >), backslashes (\), double quotation marks ( ), pound signs (#), ampersands (&), vertical bars (|), percent signs (%), and tildes (~) are not supported. Asterisks (*) and question marks (?) are allowed. An asterisk can match zero or more characters, and a question mark can match 1 character. If type is set to METHOD, key is left blank, and value indicates the HTTP method. The value can be GET, PUT, POST, DELETE, PATCH, HEAD, or OPTIONS. If type is set to SOURCE_IP, key is left blank, and value indicates the source IP address of the request. The value is an IPv4 or IPv6 CIDR block, for example, 192.168.0.2/32 or elb. All keys in the conditions list in the same rule must be the same.

Key string

Specifies the key of match item.

->If type is set to HOST_NAME, PATH, METHOD, or SOURCE_IP, this parameter is left blank. If type is set to HEADER, key indicates the name of the HTTP header parameter. The value can contain 1 to 40 characters, including letters, digits, hyphens (-), and underscores (_). If type is set to QUERY_STRING, key indicates the name of the query parameter. The value is case-sensitive and can contain 1 to 128 characters. Spaces, square brackets ([ ]), curly brackets ({ }), angle brackets (< >), backslashes (\), double quotation marks ( ), pound signs (#), ampersands (&), vertical bars (|), percent signs (%), and tildes (~) are not supported. All keys in the conditions list in the same rule must be the same.

value This property is required. String

Specifies the value of the match item.

->If type is set to HOST_NAME, key is left blank, and value indicates the domain name, which can contain 1 to 128 characters, including letters, digits, hyphens (-), periods (.), and asterisks (*), and must start with a letter, digit, or asterisk (*). If you want to use a wildcard domain name, enter an asterisk (*) as the leftmost label of the domain name. If type is set to PATH, key is left blank, and value indicates the request path, which can contain 1 to 128 characters. If compare_type is set to STARTS_WITH or EQUAL_TO for the forwarding rule, the value must start with a slash (/) and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{} If type is set to HEADER, key indicates the name of the HTTP header parameter, and value indicates the value of the HTTP header parameter. The value can contain 1 to 128 characters. Asterisks (*) and question marks (?) are allowed, but spaces and double quotation marks are not allowed. An asterisk can match zero or more characters, and a question mark can match 1 character. If type is set to QUERY_STRING, key indicates the name of the query parameter, and value indicates the value of the query parameter. The value is case-sensitive and can contain 1 to 128 characters. Spaces, square brackets ([ ]), curly brackets ({ }), angle brackets (< >), backslashes (\), double quotation marks ( ), pound signs (#), ampersands (&), vertical bars (|), percent signs (%), and tildes (~) are not supported. Asterisks (*) and question marks (?) are allowed. An asterisk can match zero or more characters, and a question mark can match 1 character. If type is set to METHOD, key is left blank, and value indicates the HTTP method. The value can be GET, PUT, POST, DELETE, PATCH, HEAD, or OPTIONS. If type is set to SOURCE_IP, key is left blank, and value indicates the source IP address of the request. The value is an IPv4 or IPv6 CIDR block, for example, 192.168.0.2/32 or elb. All keys in the conditions list in the same rule must be the same.

key String

Specifies the key of match item.

->If type is set to HOST_NAME, PATH, METHOD, or SOURCE_IP, this parameter is left blank. If type is set to HEADER, key indicates the name of the HTTP header parameter. The value can contain 1 to 40 characters, including letters, digits, hyphens (-), and underscores (_). If type is set to QUERY_STRING, key indicates the name of the query parameter. The value is case-sensitive and can contain 1 to 128 characters. Spaces, square brackets ([ ]), curly brackets ({ }), angle brackets (< >), backslashes (\), double quotation marks ( ), pound signs (#), ampersands (&), vertical bars (|), percent signs (%), and tildes (~) are not supported. All keys in the conditions list in the same rule must be the same.

value This property is required. string

Specifies the value of the match item.

->If type is set to HOST_NAME, key is left blank, and value indicates the domain name, which can contain 1 to 128 characters, including letters, digits, hyphens (-), periods (.), and asterisks (*), and must start with a letter, digit, or asterisk (*). If you want to use a wildcard domain name, enter an asterisk (*) as the leftmost label of the domain name. If type is set to PATH, key is left blank, and value indicates the request path, which can contain 1 to 128 characters. If compare_type is set to STARTS_WITH or EQUAL_TO for the forwarding rule, the value must start with a slash (/) and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{} If type is set to HEADER, key indicates the name of the HTTP header parameter, and value indicates the value of the HTTP header parameter. The value can contain 1 to 128 characters. Asterisks (*) and question marks (?) are allowed, but spaces and double quotation marks are not allowed. An asterisk can match zero or more characters, and a question mark can match 1 character. If type is set to QUERY_STRING, key indicates the name of the query parameter, and value indicates the value of the query parameter. The value is case-sensitive and can contain 1 to 128 characters. Spaces, square brackets ([ ]), curly brackets ({ }), angle brackets (< >), backslashes (\), double quotation marks ( ), pound signs (#), ampersands (&), vertical bars (|), percent signs (%), and tildes (~) are not supported. Asterisks (*) and question marks (?) are allowed. An asterisk can match zero or more characters, and a question mark can match 1 character. If type is set to METHOD, key is left blank, and value indicates the HTTP method. The value can be GET, PUT, POST, DELETE, PATCH, HEAD, or OPTIONS. If type is set to SOURCE_IP, key is left blank, and value indicates the source IP address of the request. The value is an IPv4 or IPv6 CIDR block, for example, 192.168.0.2/32 or elb. All keys in the conditions list in the same rule must be the same.

key string

Specifies the key of match item.

->If type is set to HOST_NAME, PATH, METHOD, or SOURCE_IP, this parameter is left blank. If type is set to HEADER, key indicates the name of the HTTP header parameter. The value can contain 1 to 40 characters, including letters, digits, hyphens (-), and underscores (_). If type is set to QUERY_STRING, key indicates the name of the query parameter. The value is case-sensitive and can contain 1 to 128 characters. Spaces, square brackets ([ ]), curly brackets ({ }), angle brackets (< >), backslashes (\), double quotation marks ( ), pound signs (#), ampersands (&), vertical bars (|), percent signs (%), and tildes (~) are not supported. All keys in the conditions list in the same rule must be the same.

value This property is required. str

Specifies the value of the match item.

->If type is set to HOST_NAME, key is left blank, and value indicates the domain name, which can contain 1 to 128 characters, including letters, digits, hyphens (-), periods (.), and asterisks (*), and must start with a letter, digit, or asterisk (*). If you want to use a wildcard domain name, enter an asterisk (*) as the leftmost label of the domain name. If type is set to PATH, key is left blank, and value indicates the request path, which can contain 1 to 128 characters. If compare_type is set to STARTS_WITH or EQUAL_TO for the forwarding rule, the value must start with a slash (/) and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{} If type is set to HEADER, key indicates the name of the HTTP header parameter, and value indicates the value of the HTTP header parameter. The value can contain 1 to 128 characters. Asterisks (*) and question marks (?) are allowed, but spaces and double quotation marks are not allowed. An asterisk can match zero or more characters, and a question mark can match 1 character. If type is set to QUERY_STRING, key indicates the name of the query parameter, and value indicates the value of the query parameter. The value is case-sensitive and can contain 1 to 128 characters. Spaces, square brackets ([ ]), curly brackets ({ }), angle brackets (< >), backslashes (\), double quotation marks ( ), pound signs (#), ampersands (&), vertical bars (|), percent signs (%), and tildes (~) are not supported. Asterisks (*) and question marks (?) are allowed. An asterisk can match zero or more characters, and a question mark can match 1 character. If type is set to METHOD, key is left blank, and value indicates the HTTP method. The value can be GET, PUT, POST, DELETE, PATCH, HEAD, or OPTIONS. If type is set to SOURCE_IP, key is left blank, and value indicates the source IP address of the request. The value is an IPv4 or IPv6 CIDR block, for example, 192.168.0.2/32 or elb. All keys in the conditions list in the same rule must be the same.

key str

Specifies the key of match item.

->If type is set to HOST_NAME, PATH, METHOD, or SOURCE_IP, this parameter is left blank. If type is set to HEADER, key indicates the name of the HTTP header parameter. The value can contain 1 to 40 characters, including letters, digits, hyphens (-), and underscores (_). If type is set to QUERY_STRING, key indicates the name of the query parameter. The value is case-sensitive and can contain 1 to 128 characters. Spaces, square brackets ([ ]), curly brackets ({ }), angle brackets (< >), backslashes (\), double quotation marks ( ), pound signs (#), ampersands (&), vertical bars (|), percent signs (%), and tildes (~) are not supported. All keys in the conditions list in the same rule must be the same.

value This property is required. String

Specifies the value of the match item.

->If type is set to HOST_NAME, key is left blank, and value indicates the domain name, which can contain 1 to 128 characters, including letters, digits, hyphens (-), periods (.), and asterisks (*), and must start with a letter, digit, or asterisk (*). If you want to use a wildcard domain name, enter an asterisk (*) as the leftmost label of the domain name. If type is set to PATH, key is left blank, and value indicates the request path, which can contain 1 to 128 characters. If compare_type is set to STARTS_WITH or EQUAL_TO for the forwarding rule, the value must start with a slash (/) and can contain only letters, digits, and special characters _~';@^-%#&$.*+?,=!:|/()[]{} If type is set to HEADER, key indicates the name of the HTTP header parameter, and value indicates the value of the HTTP header parameter. The value can contain 1 to 128 characters. Asterisks (*) and question marks (?) are allowed, but spaces and double quotation marks are not allowed. An asterisk can match zero or more characters, and a question mark can match 1 character. If type is set to QUERY_STRING, key indicates the name of the query parameter, and value indicates the value of the query parameter. The value is case-sensitive and can contain 1 to 128 characters. Spaces, square brackets ([ ]), curly brackets ({ }), angle brackets (< >), backslashes (\), double quotation marks ( ), pound signs (#), ampersands (&), vertical bars (|), percent signs (%), and tildes (~) are not supported. Asterisks (*) and question marks (?) are allowed. An asterisk can match zero or more characters, and a question mark can match 1 character. If type is set to METHOD, key is left blank, and value indicates the HTTP method. The value can be GET, PUT, POST, DELETE, PATCH, HEAD, or OPTIONS. If type is set to SOURCE_IP, key is left blank, and value indicates the source IP address of the request. The value is an IPv4 or IPv6 CIDR block, for example, 192.168.0.2/32 or elb. All keys in the conditions list in the same rule must be the same.

key String

Specifies the key of match item.

->If type is set to HOST_NAME, PATH, METHOD, or SOURCE_IP, this parameter is left blank. If type is set to HEADER, key indicates the name of the HTTP header parameter. The value can contain 1 to 40 characters, including letters, digits, hyphens (-), and underscores (_). If type is set to QUERY_STRING, key indicates the name of the query parameter. The value is case-sensitive and can contain 1 to 128 characters. Spaces, square brackets ([ ]), curly brackets ({ }), angle brackets (< >), backslashes (\), double quotation marks ( ), pound signs (#), ampersands (&), vertical bars (|), percent signs (%), and tildes (~) are not supported. All keys in the conditions list in the same rule must be the same.

Import

Rules can be imported using the policy_id/rule_id, e.g.

$ pulumi import opentelekomcloud:index/lbRuleV3:LbRuleV3 this 8a7a79c2-cf17-4e65-b2ae-ddc8bfcf6c74/1bb93b8b-37a4-4b50-92cc-daa4c89d4e4c
Copy

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

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.