alicloud.alb.getRules
Explore with Pulumi AI
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 System.Linq;
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.
- Listener
Ids List<string> The listener ids.
- Load
Balancer List<string>Ids The load balancer ids.
- Name
Regex string A regex string to filter results by Rule name.
- Output
File string File name where to save data source results (after running
pulumi preview
).- Rule
Ids List<string> The rule ids.
- Status string
The status of the resource.
- Ids []string
A list of Rule IDs.
- Listener
Ids []string The listener ids.
- Load
Balancer []stringIds The load balancer ids.
- Name
Regex string A regex string to filter results by Rule name.
- Output
File string File name where to save data source results (after running
pulumi preview
).- Rule
Ids []string The rule ids.
- Status string
The status of the resource.
- ids List<String>
A list of Rule IDs.
- listener
Ids List<String> The listener ids.
- load
Balancer List<String>Ids The load balancer ids.
- name
Regex String A regex string to filter results by Rule name.
- output
File String File name where to save data source results (after running
pulumi preview
).- rule
Ids List<String> The rule ids.
- status String
The status of the resource.
- ids string[]
A list of Rule IDs.
- listener
Ids string[] The listener ids.
- load
Balancer string[]Ids The load balancer ids.
- name
Regex string A regex string to filter results by Rule name.
- output
File string File name where to save data source results (after running
pulumi preview
).- rule
Ids 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_ Sequence[str]ids The load balancer ids.
- name_
regex str A regex string to filter results by Rule name.
- output_
file str File name where to save data source results (after running
pulumi preview
).- rule_
ids Sequence[str] The rule ids.
- status str
The status of the resource.
- ids List<String>
A list of Rule IDs.
- listener
Ids List<String> The listener ids.
- load
Balancer List<String>Ids The load balancer ids.
- name
Regex String A regex string to filter results by Rule name.
- output
File String File name where to save data source results (after running
pulumi preview
).- rule
Ids 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.
Ali Cloud. Alb. Outputs. Get Rules Rule> - Listener
Ids List<string> - Load
Balancer List<string>Ids - Name
Regex string - Output
File string - Rule
Ids List<string> - Status string
- Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- Rules
[]Get
Rules Rule - Listener
Ids []string - Load
Balancer []stringIds - Name
Regex string - Output
File string - Rule
Ids []string - Status string
- id String
The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- rules
List<Get
Rules Rule> - listener
Ids List<String> - load
Balancer List<String>Ids - name
Regex String - output
File String - rule
Ids List<String> - status String
- id string
The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- rules
Get
Rules Rule[] - listener
Ids string[] - load
Balancer string[]Ids - name
Regex string - output
File string - rule
Ids string[] - status string
- id str
The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- rules
Sequence[Get
Rules Rule] - listener_
ids Sequence[str] - load_
balancer_ Sequence[str]ids - 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>
- listener
Ids List<String> - load
Balancer List<String>Ids - name
Regex String - output
File String - rule
Ids List<String> - status String
Supporting Types
GetRulesRule
- Id string
The ID of the Rule.
- Listener
Id string The ID of the listener to which the forwarding rule belongs.
- Load
Balancer stringId 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 List<Pulumi.Ali Cloud. Alb. Inputs. Get Rules Rule Rule Action> The actions of the forwarding rules.
- Rule
Conditions List<Pulumi.Ali Cloud. Alb. Inputs. Get Rules Rule Rule Condition> The conditions of the forwarding rule.
- Rule
Id string The first ID of the resource.
- Rule
Name 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.
- Listener
Id string The ID of the listener to which the forwarding rule belongs.
- Load
Balancer stringId 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 []GetRules Rule Rule Action The actions of the forwarding rules.
- Rule
Conditions []GetRules Rule Rule Condition The conditions of the forwarding rule.
- Rule
Id string The first ID of the resource.
- Rule
Name 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.
- listener
Id String The ID of the listener to which the forwarding rule belongs.
- load
Balancer StringId 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.
- rule
Actions List<GetRules Rule Rule Action> The actions of the forwarding rules.
- rule
Conditions List<GetRules Rule Rule Condition> The conditions of the forwarding rule.
- rule
Id String The first ID of the resource.
- rule
Name 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.
- listener
Id string The ID of the listener to which the forwarding rule belongs.
- load
Balancer stringId 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.
- rule
Actions GetRules Rule Rule Action[] The actions of the forwarding rules.
- rule
Conditions GetRules Rule Rule Condition[] The conditions of the forwarding rule.
- rule
Id string The first ID of the resource.
- rule
Name 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_ strid 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[GetRules Rule Rule Action] The actions of the forwarding rules.
- rule_
conditions Sequence[GetRules Rule Rule Condition] 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.
- listener
Id String The ID of the listener to which the forwarding rule belongs.
- load
Balancer StringId 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.
- rule
Actions List<Property Map> The actions of the forwarding rules.
- rule
Conditions List<Property Map> The conditions of the forwarding rule.
- rule
Id String The first ID of the resource.
- rule
Name 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
- Fixed
Response List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Rules Rule Rule Action Fixed Response Config> The configuration of the fixed response.
- Forward
Group List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Rules Rule Rule Action Forward Group Config> The configurations of the destination server groups.
- Insert
Header List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Rules Rule Rule Action Insert Header Config> 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 List<Pulumi.Ali Cloud. Alb. Inputs. Get Rules Rule Rule Action Redirect Config> The configuration of the external redirect action.
- Rewrite
Configs List<Pulumi.Ali Cloud. Alb. Inputs. Get Rules Rule Rule Action Rewrite Config> The redirect action within ALB.
- Traffic
Limit List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Rules Rule Rule Action Traffic Limit Config> The Flow speed limit.
- Traffic
Mirror List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Rules Rule Rule Action Traffic Mirror Config> The Traffic mirroring.
- Type string
The type of the forwarding rule.
- Fixed
Response []GetConfigs Rules Rule Rule Action Fixed Response Config The configuration of the fixed response.
- Forward
Group []GetConfigs Rules Rule Rule Action Forward Group Config The configurations of the destination server groups.
- Insert
Header []GetConfigs Rules Rule Rule Action Insert Header Config 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 []GetRules Rule Rule Action Redirect Config The configuration of the external redirect action.
- Rewrite
Configs []GetRules Rule Rule Action Rewrite Config The redirect action within ALB.
- Traffic
Limit []GetConfigs Rules Rule Rule Action Traffic Limit Config The Flow speed limit.
- Traffic
Mirror []GetConfigs Rules Rule Rule Action Traffic Mirror Config The Traffic mirroring.
- Type string
The type of the forwarding rule.
- fixed
Response List<GetConfigs Rules Rule Rule Action Fixed Response Config> The configuration of the fixed response.
- forward
Group List<GetConfigs Rules Rule Rule Action Forward Group Config> The configurations of the destination server groups.
- insert
Header List<GetConfigs Rules Rule Rule Action Insert Header Config> 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.
- redirect
Configs List<GetRules Rule Rule Action Redirect Config> The configuration of the external redirect action.
- rewrite
Configs List<GetRules Rule Rule Action Rewrite Config> The redirect action within ALB.
- traffic
Limit List<GetConfigs Rules Rule Rule Action Traffic Limit Config> The Flow speed limit.
- traffic
Mirror List<GetConfigs Rules Rule Rule Action Traffic Mirror Config> The Traffic mirroring.
- type String
The type of the forwarding rule.
- fixed
Response GetConfigs Rules Rule Rule Action Fixed Response Config[] The configuration of the fixed response.
- forward
Group GetConfigs Rules Rule Rule Action Forward Group Config[] The configurations of the destination server groups.
- insert
Header GetConfigs Rules Rule Rule Action Insert Header Config[] 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.
- redirect
Configs GetRules Rule Rule Action Redirect Config[] The configuration of the external redirect action.
- rewrite
Configs GetRules Rule Rule Action Rewrite Config[] The redirect action within ALB.
- traffic
Limit GetConfigs Rules Rule Rule Action Traffic Limit Config[] The Flow speed limit.
- traffic
Mirror GetConfigs Rules Rule Rule Action Traffic Mirror Config[] The Traffic mirroring.
- type string
The type of the forwarding rule.
- fixed_
response_ Sequence[Getconfigs Rules Rule Rule Action Fixed Response Config] The configuration of the fixed response.
- forward_
group_ Sequence[Getconfigs Rules Rule Rule Action Forward Group Config] The configurations of the destination server groups.
- insert_
header_ Sequence[Getconfigs Rules Rule Rule Action Insert Header Config] 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[GetRules Rule Rule Action Redirect Config] The configuration of the external redirect action.
- rewrite_
configs Sequence[GetRules Rule Rule Action Rewrite Config] The redirect action within ALB.
- traffic_
limit_ Sequence[Getconfigs Rules Rule Rule Action Traffic Limit Config] The Flow speed limit.
- traffic_
mirror_ Sequence[Getconfigs Rules Rule Rule Action Traffic Mirror Config] The Traffic mirroring.
- type str
The type of the forwarding rule.
- fixed
Response List<Property Map>Configs The configuration of the fixed response.
- forward
Group List<Property Map>Configs The configurations of the destination server groups.
- insert
Header List<Property Map>Configs 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.
- redirect
Configs List<Property Map> The configuration of the external redirect action.
- rewrite
Configs List<Property Map> The redirect action within ALB.
- traffic
Limit List<Property Map>Configs The Flow speed limit.
- traffic
Mirror List<Property Map>Configs 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.
- Content
Type string The format of the fixed response. Valid values: text/plain, text/css, text/html, application/javascript, and application/json.
- Http
Code 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.
- Content
Type string The format of the fixed response. Valid values: text/plain, text/css, text/html, application/javascript, and application/json.
- Http
Code 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.
- content
Type String The format of the fixed response. Valid values: text/plain, text/css, text/html, application/javascript, and application/json.
- http
Code 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.
- content
Type string The format of the fixed response. Valid values: text/plain, text/css, text/html, application/javascript, and application/json.
- http
Code 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.
- content
Type String The format of the fixed response. Valid values: text/plain, text/css, text/html, application/javascript, and application/json.
- http
Code String The redirect method. Valid values:301, 302, 303, 307, and 308.
GetRulesRuleRuleActionForwardGroupConfig
- Server
Group List<Pulumi.Tuples Ali Cloud. Alb. Inputs. Get Rules Rule Rule Action Forward Group Config Server Group Tuple> The destination server group to which requests are forwarded.
- Server
Group []GetTuples Rules Rule Rule Action Forward Group Config Server Group Tuple The destination server group to which requests are forwarded.
- server
Group List<GetTuples Rules Rule Rule Action Forward Group Config Server Group Tuple> The destination server group to which requests are forwarded.
- server
Group GetTuples Rules Rule Rule Action Forward Group Config Server Group Tuple[] The destination server group to which requests are forwarded.
- server_
group_ Sequence[Gettuples Rules Rule Rule Action Forward Group Config Server Group Tuple] The destination server group to which requests are forwarded.
- server
Group List<Property Map>Tuples The destination server group to which requests are forwarded.
GetRulesRuleRuleActionForwardGroupConfigServerGroupTuple
- Server
Group stringId The ID of the destination server group to which requests are forwarded.
- Weight int
The Weight of server group.
- Server
Group stringId The ID of the destination server group to which requests are forwarded.
- Weight int
The Weight of server group.
- server
Group StringId The ID of the destination server group to which requests are forwarded.
- weight Integer
The Weight of server group.
- server
Group stringId The ID of the destination server group to which requests are forwarded.
- weight number
The Weight of server group.
- server_
group_ strid The ID of the destination server group to which requests are forwarded.
- weight int
The Weight of server group.
- server
Group StringId 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: # [ ] { } \ | < > &.
- Value
Type 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: # [ ] { } \ | < > &.
- Value
Type 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: # [ ] { } \ | < > &.
- value
Type 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: # [ ] { } \ | < > &.
- value
Type 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: # [ ] { } \ | < > &.
- value
Type 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.
- Http
Code 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.
- Http
Code 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.
- http
Code 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.
- http
Code 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.
- http
Code 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
- Mirror
Group List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Rules Rule Rule Action Traffic Mirror Config Mirror Group Config> The Traffic is mirrored to the server group.
- Target
Type string The Mirror target type.
- Mirror
Group []GetConfigs Rules Rule Rule Action Traffic Mirror Config Mirror Group Config The Traffic is mirrored to the server group.
- Target
Type string The Mirror target type.
- mirror
Group List<GetConfigs Rules Rule Rule Action Traffic Mirror Config Mirror Group Config> The Traffic is mirrored to the server group.
- target
Type String The Mirror target type.
- mirror
Group GetConfigs Rules Rule Rule Action Traffic Mirror Config Mirror Group Config[] The Traffic is mirrored to the server group.
- target
Type string The Mirror target type.
- mirror_
group_ Sequence[Getconfigs Rules Rule Rule Action Traffic Mirror Config Mirror Group Config] The Traffic is mirrored to the server group.
- target_
type str The Mirror target type.
- mirror
Group List<Property Map>Configs The Traffic is mirrored to the server group.
- target
Type String The Mirror target type.
GetRulesRuleRuleActionTrafficMirrorConfigMirrorGroupConfig
- Server
Group List<Pulumi.Tuples Ali Cloud. Alb. Inputs. Get Rules Rule Rule Action Traffic Mirror Config Mirror Group Config Server Group Tuple> The destination server group to which requests are forwarded.
- Server
Group []GetTuples Rules Rule Rule Action Traffic Mirror Config Mirror Group Config Server Group Tuple The destination server group to which requests are forwarded.
- server
Group List<GetTuples Rules Rule Rule Action Traffic Mirror Config Mirror Group Config Server Group Tuple> The destination server group to which requests are forwarded.
- server
Group GetTuples Rules Rule Rule Action Traffic Mirror Config Mirror Group Config Server Group Tuple[] The destination server group to which requests are forwarded.
- server_
group_ Sequence[Gettuples Rules Rule Rule Action Traffic Mirror Config Mirror Group Config Server Group Tuple] The destination server group to which requests are forwarded.
- server
Group List<Property Map>Tuples The destination server group to which requests are forwarded.
GetRulesRuleRuleActionTrafficMirrorConfigMirrorGroupConfigServerGroupTuple
- Server
Group stringId The ID of the destination server group to which requests are forwarded.
- Server
Group stringId The ID of the destination server group to which requests are forwarded.
- server
Group StringId The ID of the destination server group to which requests are forwarded.
- server
Group stringId The ID of the destination server group to which requests are forwarded.
- server_
group_ strid The ID of the destination server group to which requests are forwarded.
- server
Group StringId The ID of the destination server group to which requests are forwarded.
GetRulesRuleRuleCondition
- List<Pulumi.
Ali Cloud. Alb. Inputs. Get Rules Rule Rule Condition Cookie Config> The configuration of the cookie.
- Header
Configs List<Pulumi.Ali Cloud. Alb. Inputs. Get Rules Rule Rule Condition Header Config> The configuration of the header field.
- Host
Configs List<Pulumi.Ali Cloud. Alb. Inputs. Get Rules Rule Rule Condition Host Config> The configuration of the host.
- Method
Configs List<Pulumi.Ali Cloud. Alb. Inputs. Get Rules Rule Rule Condition Method Config> The configuration of the request method.
- Path
Configs List<Pulumi.Ali Cloud. Alb. Inputs. Get Rules Rule Rule Condition Path Config> The configuration of the path for the request to be forwarded.
- Query
String List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Rules Rule Rule Condition Query String Config> The configuration of the query string.
- Source
Ip List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Rules Rule Rule Condition Source Ip Config> The Based on source IP traffic matching.
- Type string
The type of the forwarding rule.
- []Get
Rules Rule Rule Condition Cookie Config The configuration of the cookie.
- Header
Configs []GetRules Rule Rule Condition Header Config The configuration of the header field.
- Host
Configs []GetRules Rule Rule Condition Host Config The configuration of the host.
- Method
Configs []GetRules Rule Rule Condition Method Config The configuration of the request method.
- Path
Configs []GetRules Rule Rule Condition Path Config The configuration of the path for the request to be forwarded.
- Query
String []GetConfigs Rules Rule Rule Condition Query String Config The configuration of the query string.
- Source
Ip []GetConfigs Rules Rule Rule Condition Source Ip Config The Based on source IP traffic matching.
- Type string
The type of the forwarding rule.
- List<Get
Rules Rule Rule Condition Cookie Config> The configuration of the cookie.
- header
Configs List<GetRules Rule Rule Condition Header Config> The configuration of the header field.
- host
Configs List<GetRules Rule Rule Condition Host Config> The configuration of the host.
- method
Configs List<GetRules Rule Rule Condition Method Config> The configuration of the request method.
- path
Configs List<GetRules Rule Rule Condition Path Config> The configuration of the path for the request to be forwarded.
- query
String List<GetConfigs Rules Rule Rule Condition Query String Config> The configuration of the query string.
- source
Ip List<GetConfigs Rules Rule Rule Condition Source Ip Config> The Based on source IP traffic matching.
- type String
The type of the forwarding rule.
- Get
Rules Rule Rule Condition Cookie Config[] The configuration of the cookie.
- header
Configs GetRules Rule Rule Condition Header Config[] The configuration of the header field.
- host
Configs GetRules Rule Rule Condition Host Config[] The configuration of the host.
- method
Configs GetRules Rule Rule Condition Method Config[] The configuration of the request method.
- path
Configs GetRules Rule Rule Condition Path Config[] The configuration of the path for the request to be forwarded.
- query
String GetConfigs Rules Rule Rule Condition Query String Config[] The configuration of the query string.
- source
Ip GetConfigs Rules Rule Rule Condition Source Ip Config[] The Based on source IP traffic matching.
- type string
The type of the forwarding rule.
- Sequence[Get
Rules Rule Rule Condition Cookie Config] The configuration of the cookie.
- header_
configs Sequence[GetRules Rule Rule Condition Header Config] The configuration of the header field.
- host_
configs Sequence[GetRules Rule Rule Condition Host Config] The configuration of the host.
- method_
configs Sequence[GetRules Rule Rule Condition Method Config] The configuration of the request method.
- path_
configs Sequence[GetRules Rule Rule Condition Path Config] The configuration of the path for the request to be forwarded.
- query_
string_ Sequence[Getconfigs Rules Rule Rule Condition Query String Config] The configuration of the query string.
- source_
ip_ Sequence[Getconfigs Rules Rule Rule Condition Source Ip Config] The Based on source IP traffic matching.
- type str
The type of the forwarding rule.
- List<Property Map>
The configuration of the cookie.
- header
Configs List<Property Map> The configuration of the header field.
- host
Configs List<Property Map> The configuration of the host.
- method
Configs List<Property Map> The configuration of the request method.
- path
Configs List<Property Map> The configuration of the path for the request to be forwarded.
- query
String List<Property Map>Configs The configuration of the query string.
- source
Ip List<Property Map>Configs The Based on source IP traffic matching.
- type String
The type of the forwarding rule.
GetRulesRuleRuleConditionCookieConfig
- Values
List<Pulumi.
Ali Cloud. Alb. Inputs. Get Rules Rule Rule Condition Cookie Config Value> Add one or more IP addresses or IP address segments.
- Values
[]Get
Rules Rule Rule Condition Cookie Config Value Add one or more IP addresses or IP address segments.
- values
List<Get
Rules Rule Rule Condition Cookie Config Value> Add one or more IP addresses or IP address segments.
- values
Get
Rules Rule Rule Condition Cookie Config Value[] Add one or more IP addresses or IP address segments.
- values
Sequence[Get
Rules Rule Rule Condition Cookie Config Value] 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
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
List<Pulumi.
Ali Cloud. Alb. Inputs. Get Rules Rule Rule Condition Query String Config Value> Add one or more IP addresses or IP address segments.
- Values
[]Get
Rules Rule Rule Condition Query String Config Value Add one or more IP addresses or IP address segments.
- values
List<Get
Rules Rule Rule Condition Query String Config Value> Add one or more IP addresses or IP address segments.
- values
Get
Rules Rule Rule Condition Query String Config Value[] Add one or more IP addresses or IP address segments.
- values
Sequence[Get
Rules Rule Rule Condition Query String Config Value] 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.