1. Packages
  2. Volcengine
  3. API Docs
  4. waf
  5. BotAnalyseProtectRule
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

volcengine.waf.BotAnalyseProtectRule

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

    Provides a resource to manage waf bot analyse protect rule

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@volcengine/pulumi";
    
    const foo = new volcengine.waf.BotAnalyseProtectRule("foo", {
        accurateGroup: {
            accurateRules: [
                {
                    httpObj: "request.uri",
                    objType: 1,
                    opretar: 2,
                    property: 0,
                    valueString: "tf",
                },
                {
                    httpObj: "request.schema",
                    objType: 0,
                    opretar: 2,
                    property: 0,
                    valueString: "tf-2",
                },
            ],
            logic: 2,
        },
        actionAfterVerification: 1,
        actionType: 1,
        effectTime: 1000,
        enable: 1,
        exemptionTime: 60,
        field: "HEADER:User-Agent",
        host: "www.tf-test.com",
        path: "/mod",
        pathThreshold: 1000,
        projectName: "default",
        rulePriority: 3,
        singleProportion: 0.25,
        singleThreshold: 100,
        statisticalDuration: 50,
        statisticalType: 2,
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.waf.BotAnalyseProtectRule("foo",
        accurate_group=volcengine.waf.BotAnalyseProtectRuleAccurateGroupArgs(
            accurate_rules=[
                volcengine.waf.BotAnalyseProtectRuleAccurateGroupAccurateRuleArgs(
                    http_obj="request.uri",
                    obj_type=1,
                    opretar=2,
                    property=0,
                    value_string="tf",
                ),
                volcengine.waf.BotAnalyseProtectRuleAccurateGroupAccurateRuleArgs(
                    http_obj="request.schema",
                    obj_type=0,
                    opretar=2,
                    property=0,
                    value_string="tf-2",
                ),
            ],
            logic=2,
        ),
        action_after_verification=1,
        action_type=1,
        effect_time=1000,
        enable=1,
        exemption_time=60,
        field="HEADER:User-Agent",
        host="www.tf-test.com",
        path="/mod",
        path_threshold=1000,
        project_name="default",
        rule_priority=3,
        single_proportion=0.25,
        single_threshold=100,
        statistical_duration=50,
        statistical_type=2)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/waf"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := waf.NewBotAnalyseProtectRule(ctx, "foo", &waf.BotAnalyseProtectRuleArgs{
    			AccurateGroup: &waf.BotAnalyseProtectRuleAccurateGroupArgs{
    				AccurateRules: waf.BotAnalyseProtectRuleAccurateGroupAccurateRuleArray{
    					&waf.BotAnalyseProtectRuleAccurateGroupAccurateRuleArgs{
    						HttpObj:     pulumi.String("request.uri"),
    						ObjType:     pulumi.Int(1),
    						Opretar:     pulumi.Int(2),
    						Property:    pulumi.Int(0),
    						ValueString: pulumi.String("tf"),
    					},
    					&waf.BotAnalyseProtectRuleAccurateGroupAccurateRuleArgs{
    						HttpObj:     pulumi.String("request.schema"),
    						ObjType:     pulumi.Int(0),
    						Opretar:     pulumi.Int(2),
    						Property:    pulumi.Int(0),
    						ValueString: pulumi.String("tf-2"),
    					},
    				},
    				Logic: pulumi.Int(2),
    			},
    			ActionAfterVerification: pulumi.Int(1),
    			ActionType:              pulumi.Int(1),
    			EffectTime:              pulumi.Int(1000),
    			Enable:                  pulumi.Int(1),
    			ExemptionTime:           pulumi.Int(60),
    			Field:                   pulumi.String("HEADER:User-Agent"),
    			Host:                    pulumi.String("www.tf-test.com"),
    			Path:                    pulumi.String("/mod"),
    			PathThreshold:           pulumi.Int(1000),
    			ProjectName:             pulumi.String("default"),
    			RulePriority:            pulumi.Int(3),
    			SingleProportion:        pulumi.Float64(0.25),
    			SingleThreshold:         pulumi.Int(100),
    			StatisticalDuration:     pulumi.Int(50),
    			StatisticalType:         pulumi.Int(2),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Volcengine.Waf.BotAnalyseProtectRule("foo", new()
        {
            AccurateGroup = new Volcengine.Waf.Inputs.BotAnalyseProtectRuleAccurateGroupArgs
            {
                AccurateRules = new[]
                {
                    new Volcengine.Waf.Inputs.BotAnalyseProtectRuleAccurateGroupAccurateRuleArgs
                    {
                        HttpObj = "request.uri",
                        ObjType = 1,
                        Opretar = 2,
                        Property = 0,
                        ValueString = "tf",
                    },
                    new Volcengine.Waf.Inputs.BotAnalyseProtectRuleAccurateGroupAccurateRuleArgs
                    {
                        HttpObj = "request.schema",
                        ObjType = 0,
                        Opretar = 2,
                        Property = 0,
                        ValueString = "tf-2",
                    },
                },
                Logic = 2,
            },
            ActionAfterVerification = 1,
            ActionType = 1,
            EffectTime = 1000,
            Enable = 1,
            ExemptionTime = 60,
            Field = "HEADER:User-Agent",
            Host = "www.tf-test.com",
            Path = "/mod",
            PathThreshold = 1000,
            ProjectName = "default",
            RulePriority = 3,
            SingleProportion = 0.25,
            SingleThreshold = 100,
            StatisticalDuration = 50,
            StatisticalType = 2,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.waf.BotAnalyseProtectRule;
    import com.pulumi.volcengine.waf.BotAnalyseProtectRuleArgs;
    import com.pulumi.volcengine.waf.inputs.BotAnalyseProtectRuleAccurateGroupArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new BotAnalyseProtectRule("foo", BotAnalyseProtectRuleArgs.builder()        
                .accurateGroup(BotAnalyseProtectRuleAccurateGroupArgs.builder()
                    .accurateRules(                
                        BotAnalyseProtectRuleAccurateGroupAccurateRuleArgs.builder()
                            .httpObj("request.uri")
                            .objType(1)
                            .opretar(2)
                            .property(0)
                            .valueString("tf")
                            .build(),
                        BotAnalyseProtectRuleAccurateGroupAccurateRuleArgs.builder()
                            .httpObj("request.schema")
                            .objType(0)
                            .opretar(2)
                            .property(0)
                            .valueString("tf-2")
                            .build())
                    .logic(2)
                    .build())
                .actionAfterVerification(1)
                .actionType(1)
                .effectTime(1000)
                .enable(1)
                .exemptionTime(60)
                .field("HEADER:User-Agent")
                .host("www.tf-test.com")
                .path("/mod")
                .pathThreshold(1000)
                .projectName("default")
                .rulePriority(3)
                .singleProportion(0.25)
                .singleThreshold(100)
                .statisticalDuration(50)
                .statisticalType(2)
                .build());
    
        }
    }
    
    resources:
      foo:
        type: volcengine:waf:BotAnalyseProtectRule
        properties:
          accurateGroup:
            accurateRules:
              - httpObj: request.uri
                objType: 1
                opretar: 2
                property: 0
                valueString: tf
              - httpObj: request.schema
                objType: 0
                opretar: 2
                property: 0
                valueString: tf-2
            logic: 2
          actionAfterVerification: 1
          actionType: 1
          effectTime: 1000
          enable: 1
          exemptionTime: 60
          field: HEADER:User-Agent
          host: www.tf-test.com
          path: /mod
          pathThreshold: 1000
          projectName: default
          rulePriority: 3
          singleProportion: 0.25
          singleThreshold: 100
          statisticalDuration: 50
          statisticalType: 2
    

    Create BotAnalyseProtectRule Resource

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

    Constructor syntax

    new BotAnalyseProtectRule(name: string, args: BotAnalyseProtectRuleArgs, opts?: CustomResourceOptions);
    @overload
    def BotAnalyseProtectRule(resource_name: str,
                              args: BotAnalyseProtectRuleArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def BotAnalyseProtectRule(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              rule_priority: Optional[int] = None,
                              single_threshold: Optional[int] = None,
                              action_type: Optional[int] = None,
                              effect_time: Optional[int] = None,
                              enable: Optional[int] = None,
                              statistical_type: Optional[int] = None,
                              field: Optional[str] = None,
                              host: Optional[str] = None,
                              statistical_duration: Optional[int] = None,
                              path: Optional[str] = None,
                              exemption_time: Optional[int] = None,
                              project_name: Optional[str] = None,
                              accurate_group: Optional[BotAnalyseProtectRuleAccurateGroupArgs] = None,
                              single_proportion: Optional[float] = None,
                              name: Optional[str] = None,
                              action_after_verification: Optional[int] = None,
                              path_threshold: Optional[int] = None)
    func NewBotAnalyseProtectRule(ctx *Context, name string, args BotAnalyseProtectRuleArgs, opts ...ResourceOption) (*BotAnalyseProtectRule, error)
    public BotAnalyseProtectRule(string name, BotAnalyseProtectRuleArgs args, CustomResourceOptions? opts = null)
    public BotAnalyseProtectRule(String name, BotAnalyseProtectRuleArgs args)
    public BotAnalyseProtectRule(String name, BotAnalyseProtectRuleArgs args, CustomResourceOptions options)
    
    type: volcengine:waf:BotAnalyseProtectRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BotAnalyseProtectRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BotAnalyseProtectRuleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BotAnalyseProtectRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BotAnalyseProtectRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BotAnalyseProtectRuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var botAnalyseProtectRuleResource = new Volcengine.Waf.BotAnalyseProtectRule("botAnalyseProtectRuleResource", new()
    {
        RulePriority = 0,
        SingleThreshold = 0,
        ActionType = 0,
        EffectTime = 0,
        Enable = 0,
        StatisticalType = 0,
        Field = "string",
        Host = "string",
        StatisticalDuration = 0,
        Path = "string",
        ExemptionTime = 0,
        ProjectName = "string",
        AccurateGroup = new Volcengine.Waf.Inputs.BotAnalyseProtectRuleAccurateGroupArgs
        {
            AccurateRules = new[]
            {
                new Volcengine.Waf.Inputs.BotAnalyseProtectRuleAccurateGroupAccurateRuleArgs
                {
                    HttpObj = "string",
                    ObjType = 0,
                    Opretar = 0,
                    Property = 0,
                    ValueString = "string",
                },
            },
            Logic = 0,
        },
        SingleProportion = 0,
        Name = "string",
        ActionAfterVerification = 0,
        PathThreshold = 0,
    });
    
    example, err := waf.NewBotAnalyseProtectRule(ctx, "botAnalyseProtectRuleResource", &waf.BotAnalyseProtectRuleArgs{
    	RulePriority:        pulumi.Int(0),
    	SingleThreshold:     pulumi.Int(0),
    	ActionType:          pulumi.Int(0),
    	EffectTime:          pulumi.Int(0),
    	Enable:              pulumi.Int(0),
    	StatisticalType:     pulumi.Int(0),
    	Field:               pulumi.String("string"),
    	Host:                pulumi.String("string"),
    	StatisticalDuration: pulumi.Int(0),
    	Path:                pulumi.String("string"),
    	ExemptionTime:       pulumi.Int(0),
    	ProjectName:         pulumi.String("string"),
    	AccurateGroup: &waf.BotAnalyseProtectRuleAccurateGroupArgs{
    		AccurateRules: waf.BotAnalyseProtectRuleAccurateGroupAccurateRuleArray{
    			&waf.BotAnalyseProtectRuleAccurateGroupAccurateRuleArgs{
    				HttpObj:     pulumi.String("string"),
    				ObjType:     pulumi.Int(0),
    				Opretar:     pulumi.Int(0),
    				Property:    pulumi.Int(0),
    				ValueString: pulumi.String("string"),
    			},
    		},
    		Logic: pulumi.Int(0),
    	},
    	SingleProportion:        pulumi.Float64(0),
    	Name:                    pulumi.String("string"),
    	ActionAfterVerification: pulumi.Int(0),
    	PathThreshold:           pulumi.Int(0),
    })
    
    var botAnalyseProtectRuleResource = new BotAnalyseProtectRule("botAnalyseProtectRuleResource", BotAnalyseProtectRuleArgs.builder()
        .rulePriority(0)
        .singleThreshold(0)
        .actionType(0)
        .effectTime(0)
        .enable(0)
        .statisticalType(0)
        .field("string")
        .host("string")
        .statisticalDuration(0)
        .path("string")
        .exemptionTime(0)
        .projectName("string")
        .accurateGroup(BotAnalyseProtectRuleAccurateGroupArgs.builder()
            .accurateRules(BotAnalyseProtectRuleAccurateGroupAccurateRuleArgs.builder()
                .httpObj("string")
                .objType(0)
                .opretar(0)
                .property(0)
                .valueString("string")
                .build())
            .logic(0)
            .build())
        .singleProportion(0.0)
        .name("string")
        .actionAfterVerification(0)
        .pathThreshold(0)
        .build());
    
    bot_analyse_protect_rule_resource = volcengine.waf.BotAnalyseProtectRule("botAnalyseProtectRuleResource",
        rule_priority=0,
        single_threshold=0,
        action_type=0,
        effect_time=0,
        enable=0,
        statistical_type=0,
        field="string",
        host="string",
        statistical_duration=0,
        path="string",
        exemption_time=0,
        project_name="string",
        accurate_group={
            "accurate_rules": [{
                "http_obj": "string",
                "obj_type": 0,
                "opretar": 0,
                "property": 0,
                "value_string": "string",
            }],
            "logic": 0,
        },
        single_proportion=0,
        name="string",
        action_after_verification=0,
        path_threshold=0)
    
    const botAnalyseProtectRuleResource = new volcengine.waf.BotAnalyseProtectRule("botAnalyseProtectRuleResource", {
        rulePriority: 0,
        singleThreshold: 0,
        actionType: 0,
        effectTime: 0,
        enable: 0,
        statisticalType: 0,
        field: "string",
        host: "string",
        statisticalDuration: 0,
        path: "string",
        exemptionTime: 0,
        projectName: "string",
        accurateGroup: {
            accurateRules: [{
                httpObj: "string",
                objType: 0,
                opretar: 0,
                property: 0,
                valueString: "string",
            }],
            logic: 0,
        },
        singleProportion: 0,
        name: "string",
        actionAfterVerification: 0,
        pathThreshold: 0,
    });
    
    type: volcengine:waf:BotAnalyseProtectRule
    properties:
        accurateGroup:
            accurateRules:
                - httpObj: string
                  objType: 0
                  opretar: 0
                  property: 0
                  valueString: string
            logic: 0
        actionAfterVerification: 0
        actionType: 0
        effectTime: 0
        enable: 0
        exemptionTime: 0
        field: string
        host: string
        name: string
        path: string
        pathThreshold: 0
        projectName: string
        rulePriority: 0
        singleProportion: 0
        singleThreshold: 0
        statisticalDuration: 0
        statisticalType: 0
    

    BotAnalyseProtectRule Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The BotAnalyseProtectRule resource accepts the following input properties:

    ActionType int
    perform the action.
    EffectTime int
    Limit the duration.
    Enable int
    Whether to enable the rules.
    Field string
    Statistical objects, with multiple objects separated by commas.
    Host string
    Website domain names that require the setting of protection rules.
    Path string
    The requested path.
    RulePriority int
    Priority of rule effectiveness.
    SingleThreshold int
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    StatisticalDuration int
    The duration of statistics.
    StatisticalType int
    Statistical content and methods.
    AccurateGroup BotAnalyseProtectRuleAccurateGroup
    Advanced conditions.
    ActionAfterVerification int
    Perform the action after verification/challenge.
    ExemptionTime int
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    Name string
    The name of rule.
    PathThreshold int
    The path access frequency threshold is enabled when StatisticalType=1.
    ProjectName string
    The Name of the affiliated project resource.
    SingleProportion double
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    ActionType int
    perform the action.
    EffectTime int
    Limit the duration.
    Enable int
    Whether to enable the rules.
    Field string
    Statistical objects, with multiple objects separated by commas.
    Host string
    Website domain names that require the setting of protection rules.
    Path string
    The requested path.
    RulePriority int
    Priority of rule effectiveness.
    SingleThreshold int
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    StatisticalDuration int
    The duration of statistics.
    StatisticalType int
    Statistical content and methods.
    AccurateGroup BotAnalyseProtectRuleAccurateGroupArgs
    Advanced conditions.
    ActionAfterVerification int
    Perform the action after verification/challenge.
    ExemptionTime int
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    Name string
    The name of rule.
    PathThreshold int
    The path access frequency threshold is enabled when StatisticalType=1.
    ProjectName string
    The Name of the affiliated project resource.
    SingleProportion float64
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    actionType Integer
    perform the action.
    effectTime Integer
    Limit the duration.
    enable Integer
    Whether to enable the rules.
    field String
    Statistical objects, with multiple objects separated by commas.
    host String
    Website domain names that require the setting of protection rules.
    path String
    The requested path.
    rulePriority Integer
    Priority of rule effectiveness.
    singleThreshold Integer
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    statisticalDuration Integer
    The duration of statistics.
    statisticalType Integer
    Statistical content and methods.
    accurateGroup BotAnalyseProtectRuleAccurateGroup
    Advanced conditions.
    actionAfterVerification Integer
    Perform the action after verification/challenge.
    exemptionTime Integer
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    name String
    The name of rule.
    pathThreshold Integer
    The path access frequency threshold is enabled when StatisticalType=1.
    projectName String
    The Name of the affiliated project resource.
    singleProportion Double
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    actionType number
    perform the action.
    effectTime number
    Limit the duration.
    enable number
    Whether to enable the rules.
    field string
    Statistical objects, with multiple objects separated by commas.
    host string
    Website domain names that require the setting of protection rules.
    path string
    The requested path.
    rulePriority number
    Priority of rule effectiveness.
    singleThreshold number
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    statisticalDuration number
    The duration of statistics.
    statisticalType number
    Statistical content and methods.
    accurateGroup BotAnalyseProtectRuleAccurateGroup
    Advanced conditions.
    actionAfterVerification number
    Perform the action after verification/challenge.
    exemptionTime number
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    name string
    The name of rule.
    pathThreshold number
    The path access frequency threshold is enabled when StatisticalType=1.
    projectName string
    The Name of the affiliated project resource.
    singleProportion number
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    action_type int
    perform the action.
    effect_time int
    Limit the duration.
    enable int
    Whether to enable the rules.
    field str
    Statistical objects, with multiple objects separated by commas.
    host str
    Website domain names that require the setting of protection rules.
    path str
    The requested path.
    rule_priority int
    Priority of rule effectiveness.
    single_threshold int
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    statistical_duration int
    The duration of statistics.
    statistical_type int
    Statistical content and methods.
    accurate_group BotAnalyseProtectRuleAccurateGroupArgs
    Advanced conditions.
    action_after_verification int
    Perform the action after verification/challenge.
    exemption_time int
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    name str
    The name of rule.
    path_threshold int
    The path access frequency threshold is enabled when StatisticalType=1.
    project_name str
    The Name of the affiliated project resource.
    single_proportion float
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    actionType Number
    perform the action.
    effectTime Number
    Limit the duration.
    enable Number
    Whether to enable the rules.
    field String
    Statistical objects, with multiple objects separated by commas.
    host String
    Website domain names that require the setting of protection rules.
    path String
    The requested path.
    rulePriority Number
    Priority of rule effectiveness.
    singleThreshold Number
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    statisticalDuration Number
    The duration of statistics.
    statisticalType Number
    Statistical content and methods.
    accurateGroup Property Map
    Advanced conditions.
    actionAfterVerification Number
    Perform the action after verification/challenge.
    exemptionTime Number
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    name String
    The name of rule.
    pathThreshold Number
    The path access frequency threshold is enabled when StatisticalType=1.
    projectName String
    The Name of the affiliated project resource.
    singleProportion Number
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.

    Outputs

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

    EnableCount int
    The number of statistical protection rules enabled under the current domain name.
    Id string
    The provider-assigned unique ID for this managed resource.
    RuleGroups List<BotAnalyseProtectRuleRuleGroup>
    Details of the rule group.
    TotalCount int
    The total number of statistical protection rules under the current domain name.
    EnableCount int
    The number of statistical protection rules enabled under the current domain name.
    Id string
    The provider-assigned unique ID for this managed resource.
    RuleGroups []BotAnalyseProtectRuleRuleGroup
    Details of the rule group.
    TotalCount int
    The total number of statistical protection rules under the current domain name.
    enableCount Integer
    The number of statistical protection rules enabled under the current domain name.
    id String
    The provider-assigned unique ID for this managed resource.
    ruleGroups List<BotAnalyseProtectRuleRuleGroup>
    Details of the rule group.
    totalCount Integer
    The total number of statistical protection rules under the current domain name.
    enableCount number
    The number of statistical protection rules enabled under the current domain name.
    id string
    The provider-assigned unique ID for this managed resource.
    ruleGroups BotAnalyseProtectRuleRuleGroup[]
    Details of the rule group.
    totalCount number
    The total number of statistical protection rules under the current domain name.
    enable_count int
    The number of statistical protection rules enabled under the current domain name.
    id str
    The provider-assigned unique ID for this managed resource.
    rule_groups Sequence[BotAnalyseProtectRuleRuleGroup]
    Details of the rule group.
    total_count int
    The total number of statistical protection rules under the current domain name.
    enableCount Number
    The number of statistical protection rules enabled under the current domain name.
    id String
    The provider-assigned unique ID for this managed resource.
    ruleGroups List<Property Map>
    Details of the rule group.
    totalCount Number
    The total number of statistical protection rules under the current domain name.

    Look up Existing BotAnalyseProtectRule Resource

    Get an existing BotAnalyseProtectRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BotAnalyseProtectRuleState, opts?: CustomResourceOptions): BotAnalyseProtectRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accurate_group: Optional[BotAnalyseProtectRuleAccurateGroupArgs] = None,
            action_after_verification: Optional[int] = None,
            action_type: Optional[int] = None,
            effect_time: Optional[int] = None,
            enable: Optional[int] = None,
            enable_count: Optional[int] = None,
            exemption_time: Optional[int] = None,
            field: Optional[str] = None,
            host: Optional[str] = None,
            name: Optional[str] = None,
            path: Optional[str] = None,
            path_threshold: Optional[int] = None,
            project_name: Optional[str] = None,
            rule_groups: Optional[Sequence[BotAnalyseProtectRuleRuleGroupArgs]] = None,
            rule_priority: Optional[int] = None,
            single_proportion: Optional[float] = None,
            single_threshold: Optional[int] = None,
            statistical_duration: Optional[int] = None,
            statistical_type: Optional[int] = None,
            total_count: Optional[int] = None) -> BotAnalyseProtectRule
    func GetBotAnalyseProtectRule(ctx *Context, name string, id IDInput, state *BotAnalyseProtectRuleState, opts ...ResourceOption) (*BotAnalyseProtectRule, error)
    public static BotAnalyseProtectRule Get(string name, Input<string> id, BotAnalyseProtectRuleState? state, CustomResourceOptions? opts = null)
    public static BotAnalyseProtectRule get(String name, Output<String> id, BotAnalyseProtectRuleState state, CustomResourceOptions options)
    resources:  _:    type: volcengine:waf:BotAnalyseProtectRule    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccurateGroup BotAnalyseProtectRuleAccurateGroup
    Advanced conditions.
    ActionAfterVerification int
    Perform the action after verification/challenge.
    ActionType int
    perform the action.
    EffectTime int
    Limit the duration.
    Enable int
    Whether to enable the rules.
    EnableCount int
    The number of statistical protection rules enabled under the current domain name.
    ExemptionTime int
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    Field string
    Statistical objects, with multiple objects separated by commas.
    Host string
    Website domain names that require the setting of protection rules.
    Name string
    The name of rule.
    Path string
    The requested path.
    PathThreshold int
    The path access frequency threshold is enabled when StatisticalType=1.
    ProjectName string
    The Name of the affiliated project resource.
    RuleGroups List<BotAnalyseProtectRuleRuleGroup>
    Details of the rule group.
    RulePriority int
    Priority of rule effectiveness.
    SingleProportion double
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    SingleThreshold int
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    StatisticalDuration int
    The duration of statistics.
    StatisticalType int
    Statistical content and methods.
    TotalCount int
    The total number of statistical protection rules under the current domain name.
    AccurateGroup BotAnalyseProtectRuleAccurateGroupArgs
    Advanced conditions.
    ActionAfterVerification int
    Perform the action after verification/challenge.
    ActionType int
    perform the action.
    EffectTime int
    Limit the duration.
    Enable int
    Whether to enable the rules.
    EnableCount int
    The number of statistical protection rules enabled under the current domain name.
    ExemptionTime int
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    Field string
    Statistical objects, with multiple objects separated by commas.
    Host string
    Website domain names that require the setting of protection rules.
    Name string
    The name of rule.
    Path string
    The requested path.
    PathThreshold int
    The path access frequency threshold is enabled when StatisticalType=1.
    ProjectName string
    The Name of the affiliated project resource.
    RuleGroups []BotAnalyseProtectRuleRuleGroupArgs
    Details of the rule group.
    RulePriority int
    Priority of rule effectiveness.
    SingleProportion float64
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    SingleThreshold int
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    StatisticalDuration int
    The duration of statistics.
    StatisticalType int
    Statistical content and methods.
    TotalCount int
    The total number of statistical protection rules under the current domain name.
    accurateGroup BotAnalyseProtectRuleAccurateGroup
    Advanced conditions.
    actionAfterVerification Integer
    Perform the action after verification/challenge.
    actionType Integer
    perform the action.
    effectTime Integer
    Limit the duration.
    enable Integer
    Whether to enable the rules.
    enableCount Integer
    The number of statistical protection rules enabled under the current domain name.
    exemptionTime Integer
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    field String
    Statistical objects, with multiple objects separated by commas.
    host String
    Website domain names that require the setting of protection rules.
    name String
    The name of rule.
    path String
    The requested path.
    pathThreshold Integer
    The path access frequency threshold is enabled when StatisticalType=1.
    projectName String
    The Name of the affiliated project resource.
    ruleGroups List<BotAnalyseProtectRuleRuleGroup>
    Details of the rule group.
    rulePriority Integer
    Priority of rule effectiveness.
    singleProportion Double
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    singleThreshold Integer
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    statisticalDuration Integer
    The duration of statistics.
    statisticalType Integer
    Statistical content and methods.
    totalCount Integer
    The total number of statistical protection rules under the current domain name.
    accurateGroup BotAnalyseProtectRuleAccurateGroup
    Advanced conditions.
    actionAfterVerification number
    Perform the action after verification/challenge.
    actionType number
    perform the action.
    effectTime number
    Limit the duration.
    enable number
    Whether to enable the rules.
    enableCount number
    The number of statistical protection rules enabled under the current domain name.
    exemptionTime number
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    field string
    Statistical objects, with multiple objects separated by commas.
    host string
    Website domain names that require the setting of protection rules.
    name string
    The name of rule.
    path string
    The requested path.
    pathThreshold number
    The path access frequency threshold is enabled when StatisticalType=1.
    projectName string
    The Name of the affiliated project resource.
    ruleGroups BotAnalyseProtectRuleRuleGroup[]
    Details of the rule group.
    rulePriority number
    Priority of rule effectiveness.
    singleProportion number
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    singleThreshold number
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    statisticalDuration number
    The duration of statistics.
    statisticalType number
    Statistical content and methods.
    totalCount number
    The total number of statistical protection rules under the current domain name.
    accurate_group BotAnalyseProtectRuleAccurateGroupArgs
    Advanced conditions.
    action_after_verification int
    Perform the action after verification/challenge.
    action_type int
    perform the action.
    effect_time int
    Limit the duration.
    enable int
    Whether to enable the rules.
    enable_count int
    The number of statistical protection rules enabled under the current domain name.
    exemption_time int
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    field str
    Statistical objects, with multiple objects separated by commas.
    host str
    Website domain names that require the setting of protection rules.
    name str
    The name of rule.
    path str
    The requested path.
    path_threshold int
    The path access frequency threshold is enabled when StatisticalType=1.
    project_name str
    The Name of the affiliated project resource.
    rule_groups Sequence[BotAnalyseProtectRuleRuleGroupArgs]
    Details of the rule group.
    rule_priority int
    Priority of rule effectiveness.
    single_proportion float
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    single_threshold int
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    statistical_duration int
    The duration of statistics.
    statistical_type int
    Statistical content and methods.
    total_count int
    The total number of statistical protection rules under the current domain name.
    accurateGroup Property Map
    Advanced conditions.
    actionAfterVerification Number
    Perform the action after verification/challenge.
    actionType Number
    perform the action.
    effectTime Number
    Limit the duration.
    enable Number
    Whether to enable the rules.
    enableCount Number
    The number of statistical protection rules enabled under the current domain name.
    exemptionTime Number
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    field String
    Statistical objects, with multiple objects separated by commas.
    host String
    Website domain names that require the setting of protection rules.
    name String
    The name of rule.
    path String
    The requested path.
    pathThreshold Number
    The path access frequency threshold is enabled when StatisticalType=1.
    projectName String
    The Name of the affiliated project resource.
    ruleGroups List<Property Map>
    Details of the rule group.
    rulePriority Number
    Priority of rule effectiveness.
    singleProportion Number
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    singleThreshold Number
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    statisticalDuration Number
    The duration of statistics.
    statisticalType Number
    Statistical content and methods.
    totalCount Number
    The total number of statistical protection rules under the current domain name.

    Supporting Types

    BotAnalyseProtectRuleAccurateGroup, BotAnalyseProtectRuleAccurateGroupArgs

    AccurateRules List<BotAnalyseProtectRuleAccurateGroupAccurateRule>
    Request characteristic information of the rule group.
    Logic int
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    AccurateRules []BotAnalyseProtectRuleAccurateGroupAccurateRule
    Request characteristic information of the rule group.
    Logic int
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    accurateRules List<BotAnalyseProtectRuleAccurateGroupAccurateRule>
    Request characteristic information of the rule group.
    logic Integer
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    accurateRules BotAnalyseProtectRuleAccurateGroupAccurateRule[]
    Request characteristic information of the rule group.
    logic number
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    accurate_rules Sequence[BotAnalyseProtectRuleAccurateGroupAccurateRule]
    Request characteristic information of the rule group.
    logic int
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    accurateRules List<Property Map>
    Request characteristic information of the rule group.
    logic Number
    In the rule group, the high-level conditional operation relationships corresponding to each rule.

    BotAnalyseProtectRuleAccurateGroupAccurateRule, BotAnalyseProtectRuleAccurateGroupAccurateRuleArgs

    HttpObj string
    Custom object.
    ObjType int
    matching field.
    Opretar int
    The logical operator for the condition.
    Property int
    Operate the properties of the http object.
    ValueString string
    The value to be matched.
    HttpObj string
    Custom object.
    ObjType int
    matching field.
    Opretar int
    The logical operator for the condition.
    Property int
    Operate the properties of the http object.
    ValueString string
    The value to be matched.
    httpObj String
    Custom object.
    objType Integer
    matching field.
    opretar Integer
    The logical operator for the condition.
    property Integer
    Operate the properties of the http object.
    valueString String
    The value to be matched.
    httpObj string
    Custom object.
    objType number
    matching field.
    opretar number
    The logical operator for the condition.
    property number
    Operate the properties of the http object.
    valueString string
    The value to be matched.
    http_obj str
    Custom object.
    obj_type int
    matching field.
    opretar int
    The logical operator for the condition.
    property int
    Operate the properties of the http object.
    value_string str
    The value to be matched.
    httpObj String
    Custom object.
    objType Number
    matching field.
    opretar Number
    The logical operator for the condition.
    property Number
    Operate the properties of the http object.
    valueString String
    The value to be matched.

    BotAnalyseProtectRuleRuleGroup, BotAnalyseProtectRuleRuleGroupArgs

    Group BotAnalyseProtectRuleRuleGroupGroup
    Rule group information.
    Rules List<BotAnalyseProtectRuleRuleGroupRule>
    Specific rule information within the rule group.
    Group BotAnalyseProtectRuleRuleGroupGroup
    Rule group information.
    Rules []BotAnalyseProtectRuleRuleGroupRule
    Specific rule information within the rule group.
    group BotAnalyseProtectRuleRuleGroupGroup
    Rule group information.
    rules List<BotAnalyseProtectRuleRuleGroupRule>
    Specific rule information within the rule group.
    group BotAnalyseProtectRuleRuleGroupGroup
    Rule group information.
    rules BotAnalyseProtectRuleRuleGroupRule[]
    Specific rule information within the rule group.
    group BotAnalyseProtectRuleRuleGroupGroup
    Rule group information.
    rules Sequence[BotAnalyseProtectRuleRuleGroupRule]
    Specific rule information within the rule group.
    group Property Map
    Rule group information.
    rules List<Property Map>
    Specific rule information within the rule group.

    BotAnalyseProtectRuleRuleGroupGroup, BotAnalyseProtectRuleRuleGroupGroupArgs

    AccurateGroupPriority int
    After the rule creation is completed, the priority of the automatically generated rule group.
    AccurateRules List<BotAnalyseProtectRuleRuleGroupGroupAccurateRule>
    Request characteristic information of the rule group.
    Id int
    Rule unique identifier.
    Logic int
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    AccurateGroupPriority int
    After the rule creation is completed, the priority of the automatically generated rule group.
    AccurateRules []BotAnalyseProtectRuleRuleGroupGroupAccurateRule
    Request characteristic information of the rule group.
    Id int
    Rule unique identifier.
    Logic int
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    accurateGroupPriority Integer
    After the rule creation is completed, the priority of the automatically generated rule group.
    accurateRules List<BotAnalyseProtectRuleRuleGroupGroupAccurateRule>
    Request characteristic information of the rule group.
    id Integer
    Rule unique identifier.
    logic Integer
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    accurateGroupPriority number
    After the rule creation is completed, the priority of the automatically generated rule group.
    accurateRules BotAnalyseProtectRuleRuleGroupGroupAccurateRule[]
    Request characteristic information of the rule group.
    id number
    Rule unique identifier.
    logic number
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    accurate_group_priority int
    After the rule creation is completed, the priority of the automatically generated rule group.
    accurate_rules Sequence[BotAnalyseProtectRuleRuleGroupGroupAccurateRule]
    Request characteristic information of the rule group.
    id int
    Rule unique identifier.
    logic int
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    accurateGroupPriority Number
    After the rule creation is completed, the priority of the automatically generated rule group.
    accurateRules List<Property Map>
    Request characteristic information of the rule group.
    id Number
    Rule unique identifier.
    logic Number
    In the rule group, the high-level conditional operation relationships corresponding to each rule.

    BotAnalyseProtectRuleRuleGroupGroupAccurateRule, BotAnalyseProtectRuleRuleGroupGroupAccurateRuleArgs

    HttpObj string
    Custom object.
    ObjType int
    matching field.
    Opretar int
    The logical operator for the condition.
    Property int
    Operate the properties of the http object.
    ValueString string
    The value to be matched.
    HttpObj string
    Custom object.
    ObjType int
    matching field.
    Opretar int
    The logical operator for the condition.
    Property int
    Operate the properties of the http object.
    ValueString string
    The value to be matched.
    httpObj String
    Custom object.
    objType Integer
    matching field.
    opretar Integer
    The logical operator for the condition.
    property Integer
    Operate the properties of the http object.
    valueString String
    The value to be matched.
    httpObj string
    Custom object.
    objType number
    matching field.
    opretar number
    The logical operator for the condition.
    property number
    Operate the properties of the http object.
    valueString string
    The value to be matched.
    http_obj str
    Custom object.
    obj_type int
    matching field.
    opretar int
    The logical operator for the condition.
    property int
    Operate the properties of the http object.
    value_string str
    The value to be matched.
    httpObj String
    Custom object.
    objType Number
    matching field.
    opretar Number
    The logical operator for the condition.
    property Number
    Operate the properties of the http object.
    valueString String
    The value to be matched.

    BotAnalyseProtectRuleRuleGroupRule, BotAnalyseProtectRuleRuleGroupRuleArgs

    AccurateGroup BotAnalyseProtectRuleRuleGroupRuleAccurateGroup
    Advanced conditions.
    AccurateGroupPriority int
    After the rule creation is completed, the priority of the automatically generated rule group.
    ActionAfterVerification int
    Perform the action after verification/challenge.
    ActionType int
    perform the action.
    EffectTime int
    Limit the duration.
    Enable int
    Whether to enable the rules.
    ExemptionTime int
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    Field string
    Statistical objects, with multiple objects separated by commas.
    Host string
    Website domain names that require the setting of protection rules.
    Id int
    Rule unique identifier.
    Name string
    The name of rule.
    PassRatio double
    JS challenge/human-machine verification pass rate.
    Path string
    The requested path.
    PathThreshold int
    The path access frequency threshold is enabled when StatisticalType=1.
    RulePriority int
    Priority of rule effectiveness.
    RuleTag string
    Rule label, that is, the complete rule ID.
    SingleProportion double
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    SingleThreshold int
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    StatisticalDuration int
    The duration of statistics.
    StatisticalType int
    Statistical content and methods.
    UpdateTime string
    Rule update time.
    AccurateGroup BotAnalyseProtectRuleRuleGroupRuleAccurateGroup
    Advanced conditions.
    AccurateGroupPriority int
    After the rule creation is completed, the priority of the automatically generated rule group.
    ActionAfterVerification int
    Perform the action after verification/challenge.
    ActionType int
    perform the action.
    EffectTime int
    Limit the duration.
    Enable int
    Whether to enable the rules.
    ExemptionTime int
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    Field string
    Statistical objects, with multiple objects separated by commas.
    Host string
    Website domain names that require the setting of protection rules.
    Id int
    Rule unique identifier.
    Name string
    The name of rule.
    PassRatio float64
    JS challenge/human-machine verification pass rate.
    Path string
    The requested path.
    PathThreshold int
    The path access frequency threshold is enabled when StatisticalType=1.
    RulePriority int
    Priority of rule effectiveness.
    RuleTag string
    Rule label, that is, the complete rule ID.
    SingleProportion float64
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    SingleThreshold int
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    StatisticalDuration int
    The duration of statistics.
    StatisticalType int
    Statistical content and methods.
    UpdateTime string
    Rule update time.
    accurateGroup BotAnalyseProtectRuleRuleGroupRuleAccurateGroup
    Advanced conditions.
    accurateGroupPriority Integer
    After the rule creation is completed, the priority of the automatically generated rule group.
    actionAfterVerification Integer
    Perform the action after verification/challenge.
    actionType Integer
    perform the action.
    effectTime Integer
    Limit the duration.
    enable Integer
    Whether to enable the rules.
    exemptionTime Integer
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    field String
    Statistical objects, with multiple objects separated by commas.
    host String
    Website domain names that require the setting of protection rules.
    id Integer
    Rule unique identifier.
    name String
    The name of rule.
    passRatio Double
    JS challenge/human-machine verification pass rate.
    path String
    The requested path.
    pathThreshold Integer
    The path access frequency threshold is enabled when StatisticalType=1.
    rulePriority Integer
    Priority of rule effectiveness.
    ruleTag String
    Rule label, that is, the complete rule ID.
    singleProportion Double
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    singleThreshold Integer
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    statisticalDuration Integer
    The duration of statistics.
    statisticalType Integer
    Statistical content and methods.
    updateTime String
    Rule update time.
    accurateGroup BotAnalyseProtectRuleRuleGroupRuleAccurateGroup
    Advanced conditions.
    accurateGroupPriority number
    After the rule creation is completed, the priority of the automatically generated rule group.
    actionAfterVerification number
    Perform the action after verification/challenge.
    actionType number
    perform the action.
    effectTime number
    Limit the duration.
    enable number
    Whether to enable the rules.
    exemptionTime number
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    field string
    Statistical objects, with multiple objects separated by commas.
    host string
    Website domain names that require the setting of protection rules.
    id number
    Rule unique identifier.
    name string
    The name of rule.
    passRatio number
    JS challenge/human-machine verification pass rate.
    path string
    The requested path.
    pathThreshold number
    The path access frequency threshold is enabled when StatisticalType=1.
    rulePriority number
    Priority of rule effectiveness.
    ruleTag string
    Rule label, that is, the complete rule ID.
    singleProportion number
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    singleThreshold number
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    statisticalDuration number
    The duration of statistics.
    statisticalType number
    Statistical content and methods.
    updateTime string
    Rule update time.
    accurate_group BotAnalyseProtectRuleRuleGroupRuleAccurateGroup
    Advanced conditions.
    accurate_group_priority int
    After the rule creation is completed, the priority of the automatically generated rule group.
    action_after_verification int
    Perform the action after verification/challenge.
    action_type int
    perform the action.
    effect_time int
    Limit the duration.
    enable int
    Whether to enable the rules.
    exemption_time int
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    field str
    Statistical objects, with multiple objects separated by commas.
    host str
    Website domain names that require the setting of protection rules.
    id int
    Rule unique identifier.
    name str
    The name of rule.
    pass_ratio float
    JS challenge/human-machine verification pass rate.
    path str
    The requested path.
    path_threshold int
    The path access frequency threshold is enabled when StatisticalType=1.
    rule_priority int
    Priority of rule effectiveness.
    rule_tag str
    Rule label, that is, the complete rule ID.
    single_proportion float
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    single_threshold int
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    statistical_duration int
    The duration of statistics.
    statistical_type int
    Statistical content and methods.
    update_time str
    Rule update time.
    accurateGroup Property Map
    Advanced conditions.
    accurateGroupPriority Number
    After the rule creation is completed, the priority of the automatically generated rule group.
    actionAfterVerification Number
    Perform the action after verification/challenge.
    actionType Number
    perform the action.
    effectTime Number
    Limit the duration.
    enable Number
    Whether to enable the rules.
    exemptionTime Number
    Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
    field String
    Statistical objects, with multiple objects separated by commas.
    host String
    Website domain names that require the setting of protection rules.
    id Number
    Rule unique identifier.
    name String
    The name of rule.
    passRatio Number
    JS challenge/human-machine verification pass rate.
    path String
    The requested path.
    pathThreshold Number
    The path access frequency threshold is enabled when StatisticalType=1.
    rulePriority Number
    Priority of rule effectiveness.
    ruleTag String
    Rule label, that is, the complete rule ID.
    singleProportion Number
    The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
    singleThreshold Number
    The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
    statisticalDuration Number
    The duration of statistics.
    statisticalType Number
    Statistical content and methods.
    updateTime String
    Rule update time.

    BotAnalyseProtectRuleRuleGroupRuleAccurateGroup, BotAnalyseProtectRuleRuleGroupRuleAccurateGroupArgs

    AccurateGroupPriority int
    After the rule creation is completed, the priority of the automatically generated rule group.
    AccurateRules List<BotAnalyseProtectRuleRuleGroupRuleAccurateGroupAccurateRule>
    Request characteristic information of the rule group.
    Id int
    Rule unique identifier.
    Logic int
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    AccurateGroupPriority int
    After the rule creation is completed, the priority of the automatically generated rule group.
    AccurateRules []BotAnalyseProtectRuleRuleGroupRuleAccurateGroupAccurateRule
    Request characteristic information of the rule group.
    Id int
    Rule unique identifier.
    Logic int
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    accurateGroupPriority Integer
    After the rule creation is completed, the priority of the automatically generated rule group.
    accurateRules List<BotAnalyseProtectRuleRuleGroupRuleAccurateGroupAccurateRule>
    Request characteristic information of the rule group.
    id Integer
    Rule unique identifier.
    logic Integer
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    accurateGroupPriority number
    After the rule creation is completed, the priority of the automatically generated rule group.
    accurateRules BotAnalyseProtectRuleRuleGroupRuleAccurateGroupAccurateRule[]
    Request characteristic information of the rule group.
    id number
    Rule unique identifier.
    logic number
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    accurate_group_priority int
    After the rule creation is completed, the priority of the automatically generated rule group.
    accurate_rules Sequence[BotAnalyseProtectRuleRuleGroupRuleAccurateGroupAccurateRule]
    Request characteristic information of the rule group.
    id int
    Rule unique identifier.
    logic int
    In the rule group, the high-level conditional operation relationships corresponding to each rule.
    accurateGroupPriority Number
    After the rule creation is completed, the priority of the automatically generated rule group.
    accurateRules List<Property Map>
    Request characteristic information of the rule group.
    id Number
    Rule unique identifier.
    logic Number
    In the rule group, the high-level conditional operation relationships corresponding to each rule.

    BotAnalyseProtectRuleRuleGroupRuleAccurateGroupAccurateRule, BotAnalyseProtectRuleRuleGroupRuleAccurateGroupAccurateRuleArgs

    HttpObj string
    Custom object.
    ObjType int
    matching field.
    Opretar int
    The logical operator for the condition.
    Property int
    Operate the properties of the http object.
    ValueString string
    The value to be matched.
    HttpObj string
    Custom object.
    ObjType int
    matching field.
    Opretar int
    The logical operator for the condition.
    Property int
    Operate the properties of the http object.
    ValueString string
    The value to be matched.
    httpObj String
    Custom object.
    objType Integer
    matching field.
    opretar Integer
    The logical operator for the condition.
    property Integer
    Operate the properties of the http object.
    valueString String
    The value to be matched.
    httpObj string
    Custom object.
    objType number
    matching field.
    opretar number
    The logical operator for the condition.
    property number
    Operate the properties of the http object.
    valueString string
    The value to be matched.
    http_obj str
    Custom object.
    obj_type int
    matching field.
    opretar int
    The logical operator for the condition.
    property int
    Operate the properties of the http object.
    value_string str
    The value to be matched.
    httpObj String
    Custom object.
    objType Number
    matching field.
    opretar Number
    The logical operator for the condition.
    property Number
    Operate the properties of the http object.
    valueString String
    The value to be matched.

    Import

    WafBotAnalyseProtectRule can be imported using the id, e.g.

    $ pulumi import volcengine:waf/botAnalyseProtectRule:BotAnalyseProtectRule default resource_id:bot_space:host
    

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

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine