alicloud logo
Alibaba Cloud v3.29.0, Jan 20 23

alicloud.alb.getRules

This data source provides the Alb Rules of the current Alibaba Cloud user.

NOTE: Available in v1.133.0+.

Example Usage

Basic Usage

using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var ids = AliCloud.Alb.GetRules.Invoke(new()
    {
        Ids = new[]
        {
            "example_id",
        },
    });

    var nameRegex = AliCloud.Alb.GetRules.Invoke(new()
    {
        NameRegex = "^my-Rule",
    });

    return new Dictionary<string, object?>
    {
        ["albRuleId1"] = ids.Apply(getRulesResult => getRulesResult.Rules[0]?.Id),
        ["albRuleId2"] = nameRegex.Apply(getRulesResult => getRulesResult.Rules[0]?.Id),
    };
});
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/alb"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := alb.GetRules(ctx, &alb.GetRulesArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("albRuleId1", ids.Rules[0].Id)
		nameRegex, err := alb.GetRules(ctx, &alb.GetRulesArgs{
			NameRegex: pulumi.StringRef("^my-Rule"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("albRuleId2", nameRegex.Rules[0].Id)
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.alb.AlbFunctions;
import com.pulumi.alicloud.alb.inputs.GetRulesArgs;
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) {
        final var ids = AlbFunctions.getRules(GetRulesArgs.builder()
            .ids("example_id")
            .build());

        ctx.export("albRuleId1", ids.applyValue(getRulesResult -> getRulesResult.rules()[0].id()));
        final var nameRegex = AlbFunctions.getRules(GetRulesArgs.builder()
            .nameRegex("^my-Rule")
            .build());

        ctx.export("albRuleId2", nameRegex.applyValue(getRulesResult -> getRulesResult.rules()[0].id()));
    }
}
import pulumi
import pulumi_alicloud as alicloud

ids = alicloud.alb.get_rules(ids=["example_id"])
pulumi.export("albRuleId1", ids.rules[0].id)
name_regex = alicloud.alb.get_rules(name_regex="^my-Rule")
pulumi.export("albRuleId2", name_regex.rules[0].id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const ids = alicloud.alb.getRules({
    ids: ["example_id"],
});
export const albRuleId1 = ids.then(ids => ids.rules?.[0]?.id);
const nameRegex = alicloud.alb.getRules({
    nameRegex: "^my-Rule",
});
export const albRuleId2 = nameRegex.then(nameRegex => nameRegex.rules?.[0]?.id);
variables:
  ids:
    fn::invoke:
      Function: alicloud:alb:getRules
      Arguments:
        ids:
          - example_id
  nameRegex:
    fn::invoke:
      Function: alicloud:alb:getRules
      Arguments:
        nameRegex: ^my-Rule
outputs:
  albRuleId1: ${ids.rules[0].id}
  albRuleId2: ${nameRegex.rules[0].id}

Using getRules

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getRules(args: GetRulesArgs, opts?: InvokeOptions): Promise<GetRulesResult>
function getRulesOutput(args: GetRulesOutputArgs, opts?: InvokeOptions): Output<GetRulesResult>
def get_rules(ids: Optional[Sequence[str]] = None,
              listener_ids: Optional[Sequence[str]] = None,
              load_balancer_ids: Optional[Sequence[str]] = None,
              name_regex: Optional[str] = None,
              output_file: Optional[str] = None,
              rule_ids: Optional[Sequence[str]] = None,
              status: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetRulesResult
def get_rules_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              listener_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              load_balancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              name_regex: Optional[pulumi.Input[str]] = None,
              output_file: Optional[pulumi.Input[str]] = None,
              rule_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              status: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetRulesResult]
func GetRules(ctx *Context, args *GetRulesArgs, opts ...InvokeOption) (*GetRulesResult, error)
func GetRulesOutput(ctx *Context, args *GetRulesOutputArgs, opts ...InvokeOption) GetRulesResultOutput

> Note: This function is named GetRules in the Go SDK.

public static class GetRules 
{
    public static Task<GetRulesResult> InvokeAsync(GetRulesArgs args, InvokeOptions? opts = null)
    public static Output<GetRulesResult> Invoke(GetRulesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRulesResult> getRules(GetRulesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:alb/getRules:getRules
  arguments:
    # arguments dictionary

The following arguments are supported:

Ids List<string>

A list of Rule IDs.

ListenerIds List<string>

The listener ids.

LoadBalancerIds List<string>

The load balancer ids.

NameRegex string

A regex string to filter results by Rule name.

OutputFile string
RuleIds List<string>

The rule ids.

Status string

The status of the resource.

Ids []string

A list of Rule IDs.

ListenerIds []string

The listener ids.

LoadBalancerIds []string

The load balancer ids.

NameRegex string

A regex string to filter results by Rule name.

OutputFile string
RuleIds []string

The rule ids.

Status string

The status of the resource.

ids List<String>

A list of Rule IDs.

listenerIds List<String>

The listener ids.

loadBalancerIds List<String>

The load balancer ids.

nameRegex String

A regex string to filter results by Rule name.

outputFile String
ruleIds List<String>

The rule ids.

status String

The status of the resource.

ids string[]

A list of Rule IDs.

listenerIds string[]

The listener ids.

loadBalancerIds string[]

The load balancer ids.

nameRegex string

A regex string to filter results by Rule name.

outputFile string
ruleIds string[]

The rule ids.

status string

The status of the resource.

ids Sequence[str]

A list of Rule IDs.

listener_ids Sequence[str]

The listener ids.

load_balancer_ids Sequence[str]

The load balancer ids.

name_regex str

A regex string to filter results by Rule name.

output_file str
rule_ids Sequence[str]

The rule ids.

status str

The status of the resource.

ids List<String>

A list of Rule IDs.

listenerIds List<String>

The listener ids.

loadBalancerIds List<String>

The load balancer ids.

nameRegex String

A regex string to filter results by Rule name.

outputFile String
ruleIds List<String>

The rule ids.

status String

The status of the resource.

getRules Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>
Names List<string>
Rules List<Pulumi.AliCloud.Alb.Outputs.GetRulesRule>
ListenerIds List<string>
LoadBalancerIds List<string>
NameRegex string
OutputFile string
RuleIds List<string>
Status string
Id string

The provider-assigned unique ID for this managed resource.

Ids []string
Names []string
Rules []GetRulesRule
ListenerIds []string
LoadBalancerIds []string
NameRegex string
OutputFile string
RuleIds []string
Status string
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
names List<String>
rules List<GetRulesRule>
listenerIds List<String>
loadBalancerIds List<String>
nameRegex String
outputFile String
ruleIds List<String>
status String
id string

The provider-assigned unique ID for this managed resource.

ids string[]
names string[]
rules GetRulesRule[]
listenerIds string[]
loadBalancerIds string[]
nameRegex string
outputFile string
ruleIds string[]
status string
id str

The provider-assigned unique ID for this managed resource.

ids Sequence[str]
names Sequence[str]
rules Sequence[GetRulesRule]
listener_ids Sequence[str]
load_balancer_ids Sequence[str]
name_regex str
output_file str
rule_ids Sequence[str]
status str
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
names List<String>
rules List<Property Map>
listenerIds List<String>
loadBalancerIds List<String>
nameRegex String
outputFile String
ruleIds List<String>
status String

Supporting Types

GetRulesRule

Id string

The ID of the Rule.

ListenerId string

The ID of the listener to which the forwarding rule belongs.

LoadBalancerId string

The ID of the Application Load Balancer (ALB) instance to which the forwarding rule belongs.

Priority int

The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note The priority of each rule within the same listener must be unique.

RuleActions List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleAction>

The actions of the forwarding rules.

RuleConditions List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleCondition>

The conditions of the forwarding rule.

RuleId string

The first ID of the resource.

RuleName string

The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.

Status string

The status of the resource.

Id string

The ID of the Rule.

ListenerId string

The ID of the listener to which the forwarding rule belongs.

LoadBalancerId string

The ID of the Application Load Balancer (ALB) instance to which the forwarding rule belongs.

Priority int

The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note The priority of each rule within the same listener must be unique.

RuleActions []GetRulesRuleRuleAction

The actions of the forwarding rules.

RuleConditions []GetRulesRuleRuleCondition

The conditions of the forwarding rule.

RuleId string

The first ID of the resource.

RuleName string

The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.

Status string

The status of the resource.

id String

The ID of the Rule.

listenerId String

The ID of the listener to which the forwarding rule belongs.

loadBalancerId String

The ID of the Application Load Balancer (ALB) instance to which the forwarding rule belongs.

priority Integer

The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note The priority of each rule within the same listener must be unique.

ruleActions List<GetRulesRuleRuleAction>

The actions of the forwarding rules.

ruleConditions List<GetRulesRuleRuleCondition>

The conditions of the forwarding rule.

ruleId String

The first ID of the resource.

ruleName String

The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.

status String

The status of the resource.

id string

The ID of the Rule.

listenerId string

The ID of the listener to which the forwarding rule belongs.

loadBalancerId string

The ID of the Application Load Balancer (ALB) instance to which the forwarding rule belongs.

priority number

The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note The priority of each rule within the same listener must be unique.

ruleActions GetRulesRuleRuleAction[]

The actions of the forwarding rules.

ruleConditions GetRulesRuleRuleCondition[]

The conditions of the forwarding rule.

ruleId string

The first ID of the resource.

ruleName string

The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.

status string

The status of the resource.

id str

The ID of the Rule.

listener_id str

The ID of the listener to which the forwarding rule belongs.

load_balancer_id str

The ID of the Application Load Balancer (ALB) instance to which the forwarding rule belongs.

priority int

The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note The priority of each rule within the same listener must be unique.

rule_actions Sequence[GetRulesRuleRuleAction]

The actions of the forwarding rules.

rule_conditions Sequence[GetRulesRuleRuleCondition]

The conditions of the forwarding rule.

rule_id str

The first ID of the resource.

rule_name str

The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.

status str

The status of the resource.

id String

The ID of the Rule.

listenerId String

The ID of the listener to which the forwarding rule belongs.

loadBalancerId String

The ID of the Application Load Balancer (ALB) instance to which the forwarding rule belongs.

priority Number

The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note The priority of each rule within the same listener must be unique.

ruleActions List<Property Map>

The actions of the forwarding rules.

ruleConditions List<Property Map>

The conditions of the forwarding rule.

ruleId String

The first ID of the resource.

ruleName String

The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.

status String

The status of the resource.

GetRulesRuleRuleAction

FixedResponseConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleActionFixedResponseConfig>

The configuration of the fixed response.

ForwardGroupConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleActionForwardGroupConfig>

The configurations of the destination server groups.

InsertHeaderConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleActionInsertHeaderConfig>

The configuration of the inserted header field.

Order int

The order of the forwarding rule actions. Valid values:1 to 50000. The actions are performed in ascending order. You cannot leave this parameter empty. Each value must be unique.

RedirectConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleActionRedirectConfig>

The configuration of the external redirect action.

RewriteConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleActionRewriteConfig>

The redirect action within ALB.

TrafficLimitConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleActionTrafficLimitConfig>

The Flow speed limit.

TrafficMirrorConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleActionTrafficMirrorConfig>

The Traffic mirroring.

Type string

The type of the forwarding rule.

FixedResponseConfigs []GetRulesRuleRuleActionFixedResponseConfig

The configuration of the fixed response.

ForwardGroupConfigs []GetRulesRuleRuleActionForwardGroupConfig

The configurations of the destination server groups.

InsertHeaderConfigs []GetRulesRuleRuleActionInsertHeaderConfig

The configuration of the inserted header field.

Order int

The order of the forwarding rule actions. Valid values:1 to 50000. The actions are performed in ascending order. You cannot leave this parameter empty. Each value must be unique.

RedirectConfigs []GetRulesRuleRuleActionRedirectConfig

The configuration of the external redirect action.

RewriteConfigs []GetRulesRuleRuleActionRewriteConfig

The redirect action within ALB.

TrafficLimitConfigs []GetRulesRuleRuleActionTrafficLimitConfig

The Flow speed limit.

TrafficMirrorConfigs []GetRulesRuleRuleActionTrafficMirrorConfig

The Traffic mirroring.

Type string

The type of the forwarding rule.

fixedResponseConfigs List<GetRulesRuleRuleActionFixedResponseConfig>

The configuration of the fixed response.

forwardGroupConfigs List<GetRulesRuleRuleActionForwardGroupConfig>

The configurations of the destination server groups.

insertHeaderConfigs List<GetRulesRuleRuleActionInsertHeaderConfig>

The configuration of the inserted header field.

order Integer

The order of the forwarding rule actions. Valid values:1 to 50000. The actions are performed in ascending order. You cannot leave this parameter empty. Each value must be unique.

redirectConfigs List<GetRulesRuleRuleActionRedirectConfig>

The configuration of the external redirect action.

rewriteConfigs List<GetRulesRuleRuleActionRewriteConfig>

The redirect action within ALB.

trafficLimitConfigs List<GetRulesRuleRuleActionTrafficLimitConfig>

The Flow speed limit.

trafficMirrorConfigs List<GetRulesRuleRuleActionTrafficMirrorConfig>

The Traffic mirroring.

type String

The type of the forwarding rule.

fixedResponseConfigs GetRulesRuleRuleActionFixedResponseConfig[]

The configuration of the fixed response.

forwardGroupConfigs GetRulesRuleRuleActionForwardGroupConfig[]

The configurations of the destination server groups.

insertHeaderConfigs GetRulesRuleRuleActionInsertHeaderConfig[]

The configuration of the inserted header field.

order number

The order of the forwarding rule actions. Valid values:1 to 50000. The actions are performed in ascending order. You cannot leave this parameter empty. Each value must be unique.

redirectConfigs GetRulesRuleRuleActionRedirectConfig[]

The configuration of the external redirect action.

rewriteConfigs GetRulesRuleRuleActionRewriteConfig[]

The redirect action within ALB.

trafficLimitConfigs GetRulesRuleRuleActionTrafficLimitConfig[]

The Flow speed limit.

trafficMirrorConfigs GetRulesRuleRuleActionTrafficMirrorConfig[]

The Traffic mirroring.

type string

The type of the forwarding rule.

fixed_response_configs Sequence[GetRulesRuleRuleActionFixedResponseConfig]

The configuration of the fixed response.

forward_group_configs Sequence[GetRulesRuleRuleActionForwardGroupConfig]

The configurations of the destination server groups.

insert_header_configs Sequence[GetRulesRuleRuleActionInsertHeaderConfig]

The configuration of the inserted header field.

order int

The order of the forwarding rule actions. Valid values:1 to 50000. The actions are performed in ascending order. You cannot leave this parameter empty. Each value must be unique.

redirect_configs Sequence[GetRulesRuleRuleActionRedirectConfig]

The configuration of the external redirect action.

rewrite_configs Sequence[GetRulesRuleRuleActionRewriteConfig]

The redirect action within ALB.

traffic_limit_configs Sequence[GetRulesRuleRuleActionTrafficLimitConfig]

The Flow speed limit.

traffic_mirror_configs Sequence[GetRulesRuleRuleActionTrafficMirrorConfig]

The Traffic mirroring.

type str

The type of the forwarding rule.

fixedResponseConfigs List<Property Map>

The configuration of the fixed response.

forwardGroupConfigs List<Property Map>

The configurations of the destination server groups.

insertHeaderConfigs List<Property Map>

The configuration of the inserted header field.

order Number

The order of the forwarding rule actions. Valid values:1 to 50000. The actions are performed in ascending order. You cannot leave this parameter empty. Each value must be unique.

redirectConfigs List<Property Map>

The configuration of the external redirect action.

rewriteConfigs List<Property Map>

The redirect action within ALB.

trafficLimitConfigs List<Property Map>

The Flow speed limit.

trafficMirrorConfigs List<Property Map>

The Traffic mirroring.

type String

The type of the forwarding rule.

GetRulesRuleRuleActionFixedResponseConfig

Content string

The fixed response. The response cannot exceed 1 KB in size and can contain only ASCII characters.

ContentType string

The format of the fixed response. Valid values: text/plain, text/css, text/html, application/javascript, and application/json.

HttpCode string

The redirect method. Valid values:301, 302, 303, 307, and 308.

Content string

The fixed response. The response cannot exceed 1 KB in size and can contain only ASCII characters.

ContentType string

The format of the fixed response. Valid values: text/plain, text/css, text/html, application/javascript, and application/json.

HttpCode string

The redirect method. Valid values:301, 302, 303, 307, and 308.

content String

The fixed response. The response cannot exceed 1 KB in size and can contain only ASCII characters.

contentType String

The format of the fixed response. Valid values: text/plain, text/css, text/html, application/javascript, and application/json.

httpCode String

The redirect method. Valid values:301, 302, 303, 307, and 308.

content string

The fixed response. The response cannot exceed 1 KB in size and can contain only ASCII characters.

contentType string

The format of the fixed response. Valid values: text/plain, text/css, text/html, application/javascript, and application/json.

httpCode string

The redirect method. Valid values:301, 302, 303, 307, and 308.

content str

The fixed response. The response cannot exceed 1 KB in size and can contain only ASCII characters.

content_type str

The format of the fixed response. Valid values: text/plain, text/css, text/html, application/javascript, and application/json.

http_code str

The redirect method. Valid values:301, 302, 303, 307, and 308.

content String

The fixed response. The response cannot exceed 1 KB in size and can contain only ASCII characters.

contentType String

The format of the fixed response. Valid values: text/plain, text/css, text/html, application/javascript, and application/json.

httpCode String

The redirect method. Valid values:301, 302, 303, 307, and 308.

GetRulesRuleRuleActionForwardGroupConfig

ServerGroupTuples []GetRulesRuleRuleActionForwardGroupConfigServerGroupTuple

The destination server group to which requests are forwarded.

serverGroupTuples List<GetRulesRuleRuleActionForwardGroupConfigServerGroupTuple>

The destination server group to which requests are forwarded.

serverGroupTuples GetRulesRuleRuleActionForwardGroupConfigServerGroupTuple[]

The destination server group to which requests are forwarded.

server_group_tuples Sequence[GetRulesRuleRuleActionForwardGroupConfigServerGroupTuple]

The destination server group to which requests are forwarded.

serverGroupTuples List<Property Map>

The destination server group to which requests are forwarded.

GetRulesRuleRuleActionForwardGroupConfigServerGroupTuple

ServerGroupId string

The ID of the destination server group to which requests are forwarded.

Weight int

The Weight of server group.

ServerGroupId string

The ID of the destination server group to which requests are forwarded.

Weight int

The Weight of server group.

serverGroupId String

The ID of the destination server group to which requests are forwarded.

weight Integer

The Weight of server group.

serverGroupId string

The ID of the destination server group to which requests are forwarded.

weight number

The Weight of server group.

server_group_id str

The ID of the destination server group to which requests are forwarded.

weight int

The Weight of server group.

serverGroupId String

The ID of the destination server group to which requests are forwarded.

weight Number

The Weight of server group.

GetRulesRuleRuleActionInsertHeaderConfig

Key string

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

Value string

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

ValueType string

Valid values: UserDefined: a custom value ReferenceHeader: uses a field of the user request header. SystemDefined: a system value.

Key string

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

Value string

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

ValueType string

Valid values: UserDefined: a custom value ReferenceHeader: uses a field of the user request header. SystemDefined: a system value.

key String

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

value String

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

valueType String

Valid values: UserDefined: a custom value ReferenceHeader: uses a field of the user request header. SystemDefined: a system value.

key string

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

value string

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

valueType string

Valid values: UserDefined: a custom value ReferenceHeader: uses a field of the user request header. SystemDefined: a system value.

key str

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

value str

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

value_type str

Valid values: UserDefined: a custom value ReferenceHeader: uses a field of the user request header. SystemDefined: a system value.

key String

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

value String

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

valueType String

Valid values: UserDefined: a custom value ReferenceHeader: uses a field of the user request header. SystemDefined: a system value.

GetRulesRuleRuleActionRedirectConfig

Host string

The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.

HttpCode string

The redirect method. Valid values:301, 302, 303, 307, and 308.

Path string

The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.

Port string

The port of the destination to which requests are redirected. Valid values: 1 to 63335. Default value: ${port}. You cannot use this value together with other characters at the same time.

Protocol string

The protocol of the requests to be redirected. Valid values: HTTP and HTTPS. Default value: ${protocol}. You cannot use this value together with other characters at the same time. Note HTTPS listeners can redirect only HTTPS requests.

Query string

The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.

Host string

The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.

HttpCode string

The redirect method. Valid values:301, 302, 303, 307, and 308.

Path string

The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.

Port string

The port of the destination to which requests are redirected. Valid values: 1 to 63335. Default value: ${port}. You cannot use this value together with other characters at the same time.

Protocol string

The protocol of the requests to be redirected. Valid values: HTTP and HTTPS. Default value: ${protocol}. You cannot use this value together with other characters at the same time. Note HTTPS listeners can redirect only HTTPS requests.

Query string

The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.

host String

The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.

httpCode String

The redirect method. Valid values:301, 302, 303, 307, and 308.

path String

The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.

port String

The port of the destination to which requests are redirected. Valid values: 1 to 63335. Default value: ${port}. You cannot use this value together with other characters at the same time.

protocol String

The protocol of the requests to be redirected. Valid values: HTTP and HTTPS. Default value: ${protocol}. You cannot use this value together with other characters at the same time. Note HTTPS listeners can redirect only HTTPS requests.

query String

The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.

host string

The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.

httpCode string

The redirect method. Valid values:301, 302, 303, 307, and 308.

path string

The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.

port string

The port of the destination to which requests are redirected. Valid values: 1 to 63335. Default value: ${port}. You cannot use this value together with other characters at the same time.

protocol string

The protocol of the requests to be redirected. Valid values: HTTP and HTTPS. Default value: ${protocol}. You cannot use this value together with other characters at the same time. Note HTTPS listeners can redirect only HTTPS requests.

query string

The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.

host str

The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.

http_code str

The redirect method. Valid values:301, 302, 303, 307, and 308.

path str

The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.

port str

The port of the destination to which requests are redirected. Valid values: 1 to 63335. Default value: ${port}. You cannot use this value together with other characters at the same time.

protocol str

The protocol of the requests to be redirected. Valid values: HTTP and HTTPS. Default value: ${protocol}. You cannot use this value together with other characters at the same time. Note HTTPS listeners can redirect only HTTPS requests.

query str

The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.

host String

The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.

httpCode String

The redirect method. Valid values:301, 302, 303, 307, and 308.

path String

The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.

port String

The port of the destination to which requests are redirected. Valid values: 1 to 63335. Default value: ${port}. You cannot use this value together with other characters at the same time.

protocol String

The protocol of the requests to be redirected. Valid values: HTTP and HTTPS. Default value: ${protocol}. You cannot use this value together with other characters at the same time. Note HTTPS listeners can redirect only HTTPS requests.

query String

The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.

GetRulesRuleRuleActionRewriteConfig

Host string

The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.

Path string

The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.

Query string

The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.

Host string

The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.

Path string

The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.

Query string

The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.

host String

The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.

path String

The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.

query String

The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.

host string

The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.

path string

The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.

query string

The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.

host str

The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.

path str

The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.

query str

The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.

host String

The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.

path String

The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.

query String

The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | < > &. Default value: ${query}. This value can be used only once. You can use it with a valid string.

GetRulesRuleRuleActionTrafficLimitConfig

Qps int

The Number of requests per second.

Qps int

The Number of requests per second.

qps Integer

The Number of requests per second.

qps number

The Number of requests per second.

qps int

The Number of requests per second.

qps Number

The Number of requests per second.

GetRulesRuleRuleActionTrafficMirrorConfig

MirrorGroupConfigs []GetRulesRuleRuleActionTrafficMirrorConfigMirrorGroupConfig

The Traffic is mirrored to the server group.

TargetType string

The Mirror target type.

mirrorGroupConfigs List<GetRulesRuleRuleActionTrafficMirrorConfigMirrorGroupConfig>

The Traffic is mirrored to the server group.

targetType String

The Mirror target type.

mirrorGroupConfigs GetRulesRuleRuleActionTrafficMirrorConfigMirrorGroupConfig[]

The Traffic is mirrored to the server group.

targetType string

The Mirror target type.

mirror_group_configs Sequence[GetRulesRuleRuleActionTrafficMirrorConfigMirrorGroupConfig]

The Traffic is mirrored to the server group.

target_type str

The Mirror target type.

mirrorGroupConfigs List<Property Map>

The Traffic is mirrored to the server group.

targetType String

The Mirror target type.

GetRulesRuleRuleActionTrafficMirrorConfigMirrorGroupConfig

ServerGroupTuples []GetRulesRuleRuleActionTrafficMirrorConfigMirrorGroupConfigServerGroupTuple

The destination server group to which requests are forwarded.

serverGroupTuples GetRulesRuleRuleActionTrafficMirrorConfigMirrorGroupConfigServerGroupTuple[]

The destination server group to which requests are forwarded.

serverGroupTuples List<Property Map>

The destination server group to which requests are forwarded.

GetRulesRuleRuleActionTrafficMirrorConfigMirrorGroupConfigServerGroupTuple

ServerGroupId string

The ID of the destination server group to which requests are forwarded.

ServerGroupId string

The ID of the destination server group to which requests are forwarded.

serverGroupId String

The ID of the destination server group to which requests are forwarded.

serverGroupId string

The ID of the destination server group to which requests are forwarded.

server_group_id str

The ID of the destination server group to which requests are forwarded.

serverGroupId String

The ID of the destination server group to which requests are forwarded.

GetRulesRuleRuleCondition

CookieConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleConditionCookieConfig>

The configuration of the cookie.

HeaderConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleConditionHeaderConfig>

The configuration of the header field.

HostConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleConditionHostConfig>

The configuration of the host.

MethodConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleConditionMethodConfig>

The configuration of the request method.

PathConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleConditionPathConfig>

The configuration of the path for the request to be forwarded.

QueryStringConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleConditionQueryStringConfig>

The configuration of the query string.

SourceIpConfigs List<Pulumi.AliCloud.Alb.Inputs.GetRulesRuleRuleConditionSourceIpConfig>

The Based on source IP traffic matching.

Type string

The type of the forwarding rule.

CookieConfigs []GetRulesRuleRuleConditionCookieConfig

The configuration of the cookie.

HeaderConfigs []GetRulesRuleRuleConditionHeaderConfig

The configuration of the header field.

HostConfigs []GetRulesRuleRuleConditionHostConfig

The configuration of the host.

MethodConfigs []GetRulesRuleRuleConditionMethodConfig

The configuration of the request method.

PathConfigs []GetRulesRuleRuleConditionPathConfig

The configuration of the path for the request to be forwarded.

QueryStringConfigs []GetRulesRuleRuleConditionQueryStringConfig

The configuration of the query string.

SourceIpConfigs []GetRulesRuleRuleConditionSourceIpConfig

The Based on source IP traffic matching.

Type string

The type of the forwarding rule.

cookieConfigs List<GetRulesRuleRuleConditionCookieConfig>

The configuration of the cookie.

headerConfigs List<GetRulesRuleRuleConditionHeaderConfig>

The configuration of the header field.

hostConfigs List<GetRulesRuleRuleConditionHostConfig>

The configuration of the host.

methodConfigs List<GetRulesRuleRuleConditionMethodConfig>

The configuration of the request method.

pathConfigs List<GetRulesRuleRuleConditionPathConfig>

The configuration of the path for the request to be forwarded.

queryStringConfigs List<GetRulesRuleRuleConditionQueryStringConfig>

The configuration of the query string.

sourceIpConfigs List<GetRulesRuleRuleConditionSourceIpConfig>

The Based on source IP traffic matching.

type String

The type of the forwarding rule.

cookieConfigs GetRulesRuleRuleConditionCookieConfig[]

The configuration of the cookie.

headerConfigs GetRulesRuleRuleConditionHeaderConfig[]

The configuration of the header field.

hostConfigs GetRulesRuleRuleConditionHostConfig[]

The configuration of the host.

methodConfigs GetRulesRuleRuleConditionMethodConfig[]

The configuration of the request method.

pathConfigs GetRulesRuleRuleConditionPathConfig[]

The configuration of the path for the request to be forwarded.

queryStringConfigs GetRulesRuleRuleConditionQueryStringConfig[]

The configuration of the query string.

sourceIpConfigs GetRulesRuleRuleConditionSourceIpConfig[]

The Based on source IP traffic matching.

type string

The type of the forwarding rule.

cookie_configs Sequence[GetRulesRuleRuleConditionCookieConfig]

The configuration of the cookie.

header_configs Sequence[GetRulesRuleRuleConditionHeaderConfig]

The configuration of the header field.

host_configs Sequence[GetRulesRuleRuleConditionHostConfig]

The configuration of the host.

method_configs Sequence[GetRulesRuleRuleConditionMethodConfig]

The configuration of the request method.

path_configs Sequence[GetRulesRuleRuleConditionPathConfig]

The configuration of the path for the request to be forwarded.

query_string_configs Sequence[GetRulesRuleRuleConditionQueryStringConfig]

The configuration of the query string.

source_ip_configs Sequence[GetRulesRuleRuleConditionSourceIpConfig]

The Based on source IP traffic matching.

type str

The type of the forwarding rule.

cookieConfigs List<Property Map>

The configuration of the cookie.

headerConfigs List<Property Map>

The configuration of the header field.

hostConfigs List<Property Map>

The configuration of the host.

methodConfigs List<Property Map>

The configuration of the request method.

pathConfigs List<Property Map>

The configuration of the path for the request to be forwarded.

queryStringConfigs List<Property Map>

The configuration of the query string.

sourceIpConfigs List<Property Map>

The Based on source IP traffic matching.

type String

The type of the forwarding rule.

GetRulesRuleRuleConditionCookieConfig

Values []GetRulesRuleRuleConditionCookieConfigValue

Add one or more IP addresses or IP address segments.

values List<GetRulesRuleRuleConditionCookieConfigValue>

Add one or more IP addresses or IP address segments.

values GetRulesRuleRuleConditionCookieConfigValue[]

Add one or more IP addresses or IP address segments.

values Sequence[GetRulesRuleRuleConditionCookieConfigValue]

Add one or more IP addresses or IP address segments.

values List<Property Map>

Add one or more IP addresses or IP address segments.

GetRulesRuleRuleConditionCookieConfigValue

Key string

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

Value string

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

Key string

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

Value string

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

key String

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

value String

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

key string

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

value string

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

key str

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

value str

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

key String

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

value String

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

GetRulesRuleRuleConditionHeaderConfig

Key string

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

Values List<string>

Add one or more IP addresses or IP address segments.

Key string

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

Values []string

Add one or more IP addresses or IP address segments.

key String

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

values List<String>

Add one or more IP addresses or IP address segments.

key string

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

values string[]

Add one or more IP addresses or IP address segments.

key str

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

values Sequence[str]

Add one or more IP addresses or IP address segments.

key String

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

values List<String>

Add one or more IP addresses or IP address segments.

GetRulesRuleRuleConditionHostConfig

Values List<string>

Add one or more IP addresses or IP address segments.

Values []string

Add one or more IP addresses or IP address segments.

values List<String>

Add one or more IP addresses or IP address segments.

values string[]

Add one or more IP addresses or IP address segments.

values Sequence[str]

Add one or more IP addresses or IP address segments.

values List<String>

Add one or more IP addresses or IP address segments.

GetRulesRuleRuleConditionMethodConfig

Values List<string>

Add one or more IP addresses or IP address segments.

Values []string

Add one or more IP addresses or IP address segments.

values List<String>

Add one or more IP addresses or IP address segments.

values string[]

Add one or more IP addresses or IP address segments.

values Sequence[str]

Add one or more IP addresses or IP address segments.

values List<String>

Add one or more IP addresses or IP address segments.

GetRulesRuleRuleConditionPathConfig

Values List<string>

Add one or more IP addresses or IP address segments.

Values []string

Add one or more IP addresses or IP address segments.

values List<String>

Add one or more IP addresses or IP address segments.

values string[]

Add one or more IP addresses or IP address segments.

values Sequence[str]

Add one or more IP addresses or IP address segments.

values List<String>

Add one or more IP addresses or IP address segments.

GetRulesRuleRuleConditionQueryStringConfig

Values []GetRulesRuleRuleConditionQueryStringConfigValue

Add one or more IP addresses or IP address segments.

values List<GetRulesRuleRuleConditionQueryStringConfigValue>

Add one or more IP addresses or IP address segments.

values GetRulesRuleRuleConditionQueryStringConfigValue[]

Add one or more IP addresses or IP address segments.

values Sequence[GetRulesRuleRuleConditionQueryStringConfigValue]

Add one or more IP addresses or IP address segments.

values List<Property Map>

Add one or more IP addresses or IP address segments.

GetRulesRuleRuleConditionQueryStringConfigValue

Key string

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

Value string

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

Key string

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

Value string

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

key String

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

value String

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

key string

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

value string

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

key str

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

value str

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

key String

The key of the header field. The key must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). The key does not support Cookie or Host.

value String

The value must be 1 to 128 characters in length, and can contain lowercase letters, printable characters, asterisks (*), and question marks (?). The value cannot contain spaces or the following special characters: # [ ] { } \ | < > &.

GetRulesRuleRuleConditionSourceIpConfig

Values List<string>

Add one or more IP addresses or IP address segments.

Values []string

Add one or more IP addresses or IP address segments.

values List<String>

Add one or more IP addresses or IP address segments.

values string[]

Add one or more IP addresses or IP address segments.

values Sequence[str]

Add one or more IP addresses or IP address segments.

values List<String>

Add one or more IP addresses or IP address segments.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.