1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. alb
  5. getRules
Alibaba Cloud v3.57.0 published on Saturday, Jun 15, 2024 by Pulumi

alicloud.alb.getRules

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.0 published on Saturday, Jun 15, 2024 by Pulumi

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

    NOTE: Available since v1.133.0.

    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
    File name where to save data source results (after running pulumi preview).
    RuleIds List<string>
    The rule ids.
    Status string
    The status of the forwarding rule. Valid values: Provisioning, Configuring, Available.
    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
    File name where to save data source results (after running pulumi preview).
    RuleIds []string
    The rule ids.
    Status string
    The status of the forwarding rule. Valid values: Provisioning, Configuring, Available.
    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
    File name where to save data source results (after running pulumi preview).
    ruleIds List<String>
    The rule ids.
    status String
    The status of the forwarding rule. Valid values: Provisioning, Configuring, Available.
    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
    File name where to save data source results (after running pulumi preview).
    ruleIds string[]
    The rule ids.
    status string
    The status of the forwarding rule. Valid values: Provisioning, Configuring, Available.
    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
    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 forwarding rule. Valid values: Provisioning, Configuring, Available.
    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
    File name where to save data source results (after running pulumi preview).
    ruleIds List<String>
    The rule ids.
    status String
    The status of the forwarding rule. Valid values: Provisioning, Configuring, Available.

    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>
    A list of Rule names.
    Rules List<Pulumi.AliCloud.Alb.Outputs.GetRulesRule>
    A list of Alb Rules. Each element contains the following attributes:
    ListenerIds List<string>
    LoadBalancerIds List<string>
    NameRegex string
    OutputFile string
    RuleIds List<string>
    Status string
    The status of the forwarding rule.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Names []string
    A list of Rule names.
    Rules []GetRulesRule
    A list of Alb Rules. Each element contains the following attributes:
    ListenerIds []string
    LoadBalancerIds []string
    NameRegex string
    OutputFile string
    RuleIds []string
    Status string
    The status of the forwarding rule.
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    A list of Rule names.
    rules List<GetRulesRule>
    A list of Alb Rules. Each element contains the following attributes:
    listenerIds List<String>
    loadBalancerIds List<String>
    nameRegex String
    outputFile String
    ruleIds List<String>
    status String
    The status of the forwarding rule.
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    names string[]
    A list of Rule names.
    rules GetRulesRule[]
    A list of Alb Rules. Each element contains the following attributes:
    listenerIds string[]
    loadBalancerIds string[]
    nameRegex string
    outputFile string
    ruleIds string[]
    status string
    The status of the forwarding rule.
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    names Sequence[str]
    A list of Rule names.
    rules Sequence[GetRulesRule]
    A list of Alb Rules. Each element contains the following attributes:
    listener_ids Sequence[str]
    load_balancer_ids Sequence[str]
    name_regex str
    output_file str
    rule_ids Sequence[str]
    status str
    The status of the forwarding rule.
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    A list of Rule names.
    rules List<Property Map>
    A list of Alb Rules. Each element contains the following attributes:
    listenerIds List<String>
    loadBalancerIds List<String>
    nameRegex String
    outputFile String
    ruleIds List<String>
    status String
    The status of the forwarding rule.

    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.
    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 ID of the Rule.
    RuleName string
    The name of the forwarding rule.
    Status string
    The status of the forwarding rule. Valid values: Provisioning, Configuring, Available.
    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.
    RuleActions []GetRulesRuleRuleAction
    The actions of the forwarding rules.
    RuleConditions []GetRulesRuleRuleCondition
    The conditions of the forwarding rule.
    RuleId string
    The ID of the Rule.
    RuleName string
    The name of the forwarding rule.
    Status string
    The status of the forwarding rule. Valid values: Provisioning, Configuring, Available.
    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.
    ruleActions List<GetRulesRuleRuleAction>
    The actions of the forwarding rules.
    ruleConditions List<GetRulesRuleRuleCondition>
    The conditions of the forwarding rule.
    ruleId String
    The ID of the Rule.
    ruleName String
    The name of the forwarding rule.
    status String
    The status of the forwarding rule. Valid values: Provisioning, Configuring, Available.
    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.
    ruleActions GetRulesRuleRuleAction[]
    The actions of the forwarding rules.
    ruleConditions GetRulesRuleRuleCondition[]
    The conditions of the forwarding rule.
    ruleId string
    The ID of the Rule.
    ruleName string
    The name of the forwarding rule.
    status string
    The status of the forwarding rule. Valid values: Provisioning, Configuring, Available.
    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.
    rule_actions Sequence[GetRulesRuleRuleAction]
    The actions of the forwarding rules.
    rule_conditions Sequence[GetRulesRuleRuleCondition]
    The conditions of the forwarding rule.
    rule_id str
    The ID of the Rule.
    rule_name str
    The name of the forwarding rule.
    status str
    The status of the forwarding rule. Valid values: Provisioning, Configuring, Available.
    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.
    ruleActions List<Property Map>
    The actions of the forwarding rules.
    ruleConditions List<Property Map>
    The conditions of the forwarding rule.
    ruleId String
    The ID of the Rule.
    ruleName String
    The name of the forwarding rule.
    status String
    The status of the forwarding rule. Valid values: Provisioning, Configuring, Available.

    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.
    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.
    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.
    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.
    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.
    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.
    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.
    HttpCode string
    The redirect method.
    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.
    HttpCode string
    The redirect method.
    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.
    httpCode String
    The redirect method.
    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.
    httpCode string
    The redirect method.
    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.
    http_code str
    The redirect method.
    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.
    httpCode String
    The redirect method.

    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 query string.
    Value string
    The value of the query string.
    ValueType string
    The value type of the inserted header field.
    Key string
    The key of the query string.
    Value string
    The value of the query string.
    ValueType string
    The value type of the inserted header field.
    key String
    The key of the query string.
    value String
    The value of the query string.
    valueType String
    The value type of the inserted header field.
    key string
    The key of the query string.
    value string
    The value of the query string.
    valueType string
    The value type of the inserted header field.
    key str
    The key of the query string.
    value str
    The value of the query string.
    value_type str
    The value type of the inserted header field.
    key String
    The key of the query string.
    value String
    The value of the query string.
    valueType String
    The value type of the inserted header field.

    GetRulesRuleRuleActionRedirectConfig

    Host string
    The host name of the destination to which requests are redirected within ALB.
    HttpCode string
    The redirect method.
    Path string
    The path to which requests are to be redirected within ALB.
    Port string
    The port of the destination to which requests are redirected.
    Protocol string
    The protocol of the requests to be redirected.
    Query string
    The query string of the request to be redirected within ALB.
    Host string
    The host name of the destination to which requests are redirected within ALB.
    HttpCode string
    The redirect method.
    Path string
    The path to which requests are to be redirected within ALB.
    Port string
    The port of the destination to which requests are redirected.
    Protocol string
    The protocol of the requests to be redirected.
    Query string
    The query string of the request to be redirected within ALB.
    host String
    The host name of the destination to which requests are redirected within ALB.
    httpCode String
    The redirect method.
    path String
    The path to which requests are to be redirected within ALB.
    port String
    The port of the destination to which requests are redirected.
    protocol String
    The protocol of the requests to be redirected.
    query String
    The query string of the request to be redirected within ALB.
    host string
    The host name of the destination to which requests are redirected within ALB.
    httpCode string
    The redirect method.
    path string
    The path to which requests are to be redirected within ALB.
    port string
    The port of the destination to which requests are redirected.
    protocol string
    The protocol of the requests to be redirected.
    query string
    The query string of the request to be redirected within ALB.
    host str
    The host name of the destination to which requests are redirected within ALB.
    http_code str
    The redirect method.
    path str
    The path to which requests are to be redirected within ALB.
    port str
    The port of the destination to which requests are redirected.
    protocol str
    The protocol of the requests to be redirected.
    query str
    The query string of the request to be redirected within ALB.
    host String
    The host name of the destination to which requests are redirected within ALB.
    httpCode String
    The redirect method.
    path String
    The path to which requests are to be redirected within ALB.
    port String
    The port of the destination to which requests are redirected.
    protocol String
    The protocol of the requests to be redirected.
    query String
    The query string of the request to be redirected within ALB.

    GetRulesRuleRuleActionRewriteConfig

    Host string
    The host name of the destination to which requests are redirected within ALB.
    Path string
    The path to which requests are to be redirected within ALB.
    Query string
    The query string of the request to be redirected within ALB.
    Host string
    The host name of the destination to which requests are redirected within ALB.
    Path string
    The path to which requests are to be redirected within ALB.
    Query string
    The query string of the request to be redirected within ALB.
    host String
    The host name of the destination to which requests are redirected within ALB.
    path String
    The path to which requests are to be redirected within ALB.
    query String
    The query string of the request to be redirected within ALB.
    host string
    The host name of the destination to which requests are redirected within ALB.
    path string
    The path to which requests are to be redirected within ALB.
    query string
    The query string of the request to be redirected within ALB.
    host str
    The host name of the destination to which requests are redirected within ALB.
    path str
    The path to which requests are to be redirected within ALB.
    query str
    The query string of the request to be redirected within ALB.
    host String
    The host name of the destination to which requests are redirected within ALB.
    path String
    The path to which requests are to be redirected within ALB.
    query String
    The query string of the request to be redirected within ALB.

    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 query string.
    Value string
    The value of the query string.
    Key string
    The key of the query string.
    Value string
    The value of the query string.
    key String
    The key of the query string.
    value String
    The value of the query string.
    key string
    The key of the query string.
    value string
    The value of the query string.
    key str
    The key of the query string.
    value str
    The value of the query string.
    key String
    The key of the query string.
    value String
    The value of the query string.

    GetRulesRuleRuleConditionHeaderConfig

    Key string
    The key of the query string.
    Values List<string>
    Add one or more IP addresses or IP address segments.
    Key string
    The key of the query string.
    Values []string
    Add one or more IP addresses or IP address segments.
    key String
    The key of the query string.
    values List<String>
    Add one or more IP addresses or IP address segments.
    key string
    The key of the query string.
    values string[]
    Add one or more IP addresses or IP address segments.
    key str
    The key of the query string.
    values Sequence[str]
    Add one or more IP addresses or IP address segments.
    key String
    The key of the query string.
    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 query string.
    Value string
    The value of the query string.
    Key string
    The key of the query string.
    Value string
    The value of the query string.
    key String
    The key of the query string.
    value String
    The value of the query string.
    key string
    The key of the query string.
    value string
    The value of the query string.
    key str
    The key of the query string.
    value str
    The value of the query string.
    key String
    The key of the query string.
    value String
    The value of the query string.

    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.
    alicloud logo
    Alibaba Cloud v3.57.0 published on Saturday, Jun 15, 2024 by Pulumi