volcengine.waf.BotAnalyseProtectRule
Explore with Pulumi AI
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:
- Action
Type int - perform the action.
- Effect
Time 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.
- 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 BotAnalyse Protect Rule Accurate Group - Advanced conditions.
- Action
After intVerification - 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 string
- The name of rule.
- Path
Threshold int - The path access frequency threshold is enabled when StatisticalType=1.
- Project
Name string - The Name of the affiliated project resource.
- Single
Proportion double - 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 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.
- 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 BotAnalyse Protect Rule Accurate Group Args - Advanced conditions.
- Action
After intVerification - 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 string
- The name of rule.
- Path
Threshold int - The path access frequency threshold is enabled when StatisticalType=1.
- Project
Name string - The Name of the affiliated project resource.
- Single
Proportion float64 - The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
- action
Type Integer - perform the action.
- effect
Time 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.
- rule
Priority Integer - Priority of rule effectiveness.
- single
Threshold Integer - The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
- statistical
Duration Integer - The duration of statistics.
- statistical
Type Integer - Statistical content and methods.
- accurate
Group BotAnalyse Protect Rule Accurate Group - Advanced conditions.
- action
After IntegerVerification - Perform the action after verification/challenge.
- exemption
Time Integer - Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
- name String
- The name of rule.
- path
Threshold Integer - The path access frequency threshold is enabled when StatisticalType=1.
- project
Name String - The Name of the affiliated project resource.
- single
Proportion Double - The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
- action
Type number - perform the action.
- effect
Time 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.
- rule
Priority number - Priority of rule effectiveness.
- single
Threshold number - The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
- statistical
Duration number - The duration of statistics.
- statistical
Type number - Statistical content and methods.
- accurate
Group BotAnalyse Protect Rule Accurate Group - Advanced conditions.
- action
After numberVerification - Perform the action after verification/challenge.
- exemption
Time number - Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
- name string
- The name of rule.
- path
Threshold number - The path access frequency threshold is enabled when StatisticalType=1.
- project
Name string - The Name of the affiliated project resource.
- single
Proportion 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 BotAnalyse Protect Rule Accurate Group Args - Advanced conditions.
- action_
after_ intverification - 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.
- action
Type Number - perform the action.
- effect
Time 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.
- rule
Priority Number - Priority of rule effectiveness.
- single
Threshold Number - The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
- statistical
Duration Number - The duration of statistics.
- statistical
Type Number - Statistical content and methods.
- accurate
Group Property Map - Advanced conditions.
- action
After NumberVerification - Perform the action after verification/challenge.
- exemption
Time Number - Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
- name String
- The name of rule.
- path
Threshold Number - The path access frequency threshold is enabled when StatisticalType=1.
- project
Name String - The Name of the affiliated project resource.
- single
Proportion 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:
- Enable
Count int - The number of statistical protection rules enabled under the current domain name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Groups List<BotAnalyse Protect Rule Rule Group> - Details of the rule group.
- Total
Count int - 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 string
- The provider-assigned unique ID for this managed resource.
- Rule
Groups []BotAnalyse Protect Rule Rule Group - Details of the rule group.
- Total
Count int - The total number of statistical protection rules under the current domain name.
- enable
Count Integer - The number of statistical protection rules enabled under the current domain name.
- id String
- The provider-assigned unique ID for this managed resource.
- rule
Groups List<BotAnalyse Protect Rule Rule Group> - Details of the rule group.
- total
Count Integer - The total number of statistical protection rules under the current domain name.
- enable
Count number - The number of statistical protection rules enabled under the current domain name.
- id string
- The provider-assigned unique ID for this managed resource.
- rule
Groups BotAnalyse Protect Rule Rule Group[] - Details of the rule group.
- total
Count 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[BotAnalyse Protect Rule Rule Group] - Details of the rule group.
- total_
count int - The total number of statistical protection rules under the current domain name.
- enable
Count Number - The number of statistical protection rules enabled under the current domain name.
- id String
- The provider-assigned unique ID for this managed resource.
- rule
Groups List<Property Map> - Details of the rule group.
- total
Count 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.
- Accurate
Group BotAnalyse Protect Rule Accurate Group - Advanced conditions.
- Action
After intVerification - 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 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.
- Path
Threshold int - The path access frequency threshold is enabled when StatisticalType=1.
- Project
Name string - The Name of the affiliated project resource.
- Rule
Groups List<BotAnalyse Protect Rule Rule Group> - Details of the rule group.
- Rule
Priority int - Priority of rule effectiveness.
- Single
Proportion double - 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.
- Accurate
Group BotAnalyse Protect Rule Accurate Group Args - Advanced conditions.
- Action
After intVerification - 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 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.
- Path
Threshold int - The path access frequency threshold is enabled when StatisticalType=1.
- Project
Name string - The Name of the affiliated project resource.
- Rule
Groups []BotAnalyse Protect Rule Rule Group Args - Details of the rule group.
- Rule
Priority int - Priority of rule effectiveness.
- Single
Proportion float64 - 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.
- accurate
Group BotAnalyse Protect Rule Accurate Group - Advanced conditions.
- action
After IntegerVerification - Perform the action after verification/challenge.
- action
Type Integer - perform the action.
- effect
Time Integer - Limit the duration.
- enable Integer
- Whether to enable the rules.
- enable
Count Integer - The number of statistical protection rules enabled under the current domain name.
- exemption
Time 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.
- path
Threshold Integer - The path access frequency threshold is enabled when StatisticalType=1.
- project
Name String - The Name of the affiliated project resource.
- rule
Groups List<BotAnalyse Protect Rule Rule Group> - Details of the rule group.
- rule
Priority Integer - Priority of rule effectiveness.
- single
Proportion Double - The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
- single
Threshold Integer - The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
- statistical
Duration Integer - The duration of statistics.
- statistical
Type Integer - Statistical content and methods.
- total
Count Integer - The total number of statistical protection rules under the current domain name.
- accurate
Group BotAnalyse Protect Rule Accurate Group - Advanced conditions.
- action
After numberVerification - Perform the action after verification/challenge.
- action
Type number - perform the action.
- effect
Time number - Limit the duration.
- enable number
- Whether to enable the rules.
- enable
Count number - The number of statistical protection rules enabled under the current domain name.
- exemption
Time 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.
- path
Threshold number - The path access frequency threshold is enabled when StatisticalType=1.
- project
Name string - The Name of the affiliated project resource.
- rule
Groups BotAnalyse Protect Rule Rule Group[] - Details of the rule group.
- rule
Priority number - Priority of rule effectiveness.
- single
Proportion number - The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
- single
Threshold number - The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
- statistical
Duration number - The duration of statistics.
- statistical
Type number - Statistical content and methods.
- total
Count number - The total number of statistical protection rules under the current domain name.
- accurate_
group BotAnalyse Protect Rule Accurate Group Args - Advanced conditions.
- action_
after_ intverification - 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[BotAnalyse Protect Rule Rule Group Args] - 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.
- accurate
Group Property Map - Advanced conditions.
- action
After NumberVerification - Perform the action after verification/challenge.
- action
Type Number - perform the action.
- effect
Time Number - Limit the duration.
- enable Number
- Whether to enable the rules.
- enable
Count Number - The number of statistical protection rules enabled under the current domain name.
- exemption
Time 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.
- path
Threshold Number - The path access frequency threshold is enabled when StatisticalType=1.
- project
Name String - The Name of the affiliated project resource.
- rule
Groups List<Property Map> - Details of the rule group.
- rule
Priority Number - Priority of rule effectiveness.
- single
Proportion Number - The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
- single
Threshold Number - The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
- statistical
Duration Number - The duration of statistics.
- statistical
Type Number - Statistical content and methods.
- total
Count Number - The total number of statistical protection rules under the current domain name.
Supporting Types
BotAnalyseProtectRuleAccurateGroup, BotAnalyseProtectRuleAccurateGroupArgs
- Accurate
Rules List<BotAnalyse Protect Rule Accurate Group Accurate Rule> - Request characteristic information of the rule group.
- Logic int
- In the rule group, the high-level conditional operation relationships corresponding to each rule.
- Accurate
Rules []BotAnalyse Protect Rule Accurate Group Accurate Rule - Request characteristic information of the rule group.
- Logic int
- In the rule group, the high-level conditional operation relationships corresponding to each rule.
- accurate
Rules List<BotAnalyse Protect Rule Accurate Group Accurate Rule> - Request characteristic information of the rule group.
- logic Integer
- In the rule group, the high-level conditional operation relationships corresponding to each rule.
- accurate
Rules BotAnalyse Protect Rule Accurate Group Accurate Rule[] - 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[BotAnalyse Protect Rule Accurate Group Accurate Rule] - Request characteristic information of the rule group.
- logic int
- In the rule group, the high-level conditional operation relationships corresponding to each rule.
- accurate
Rules 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
- Http
Obj string - 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 string - The value to be matched.
- Http
Obj string - 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 string - The value to be matched.
- http
Obj String - Custom object.
- obj
Type Integer - matching field.
- opretar Integer
- The logical operator for the condition.
- property Integer
- Operate the properties of the http object.
- value
String String - The value to be matched.
- http
Obj string - Custom object.
- obj
Type number - matching field.
- opretar number
- The logical operator for the condition.
- property number
- Operate the properties of the http object.
- value
String 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.
- http
Obj String - Custom object.
- obj
Type Number - matching field.
- opretar Number
- The logical operator for the condition.
- property Number
- Operate the properties of the http object.
- value
String String - The value to be matched.
BotAnalyseProtectRuleRuleGroup, BotAnalyseProtectRuleRuleGroupArgs
- Group
Bot
Analyse Protect Rule Rule Group Group - Rule group information.
- Rules
List<Bot
Analyse Protect Rule Rule Group Rule> - Specific rule information within the rule group.
- Group
Bot
Analyse Protect Rule Rule Group Group - Rule group information.
- Rules
[]Bot
Analyse Protect Rule Rule Group Rule - Specific rule information within the rule group.
- group
Bot
Analyse Protect Rule Rule Group Group - Rule group information.
- rules
List<Bot
Analyse Protect Rule Rule Group Rule> - Specific rule information within the rule group.
- group
Bot
Analyse Protect Rule Rule Group Group - Rule group information.
- rules
Bot
Analyse Protect Rule Rule Group Rule[] - Specific rule information within the rule group.
- group
Bot
Analyse Protect Rule Rule Group Group - Rule group information.
- rules
Sequence[Bot
Analyse Protect Rule Rule Group Rule] - 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
- Accurate
Group intPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- Accurate
Rules List<BotAnalyse Protect Rule Rule Group Group Accurate Rule> - 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.
- Accurate
Group intPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- Accurate
Rules []BotAnalyse Protect Rule Rule Group Group Accurate Rule - 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.
- accurate
Group IntegerPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- accurate
Rules List<BotAnalyse Protect Rule Rule Group Group Accurate Rule> - 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.
- accurate
Group numberPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- accurate
Rules BotAnalyse Protect Rule Rule Group Group Accurate Rule[] - 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_ intpriority - After the rule creation is completed, the priority of the automatically generated rule group.
- accurate_
rules Sequence[BotAnalyse Protect Rule Rule Group Group Accurate Rule] - 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.
- accurate
Group NumberPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- accurate
Rules 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
- Http
Obj string - 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 string - The value to be matched.
- Http
Obj string - 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 string - The value to be matched.
- http
Obj String - Custom object.
- obj
Type Integer - matching field.
- opretar Integer
- The logical operator for the condition.
- property Integer
- Operate the properties of the http object.
- value
String String - The value to be matched.
- http
Obj string - Custom object.
- obj
Type number - matching field.
- opretar number
- The logical operator for the condition.
- property number
- Operate the properties of the http object.
- value
String 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.
- http
Obj String - Custom object.
- obj
Type Number - matching field.
- opretar Number
- The logical operator for the condition.
- property Number
- Operate the properties of the http object.
- value
String String - The value to be matched.
BotAnalyseProtectRuleRuleGroupRule, BotAnalyseProtectRuleRuleGroupRuleArgs
- Accurate
Group BotAnalyse Protect Rule Rule Group Rule Accurate Group - Advanced conditions.
- Accurate
Group intPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- Action
After intVerification - 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 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.
- Pass
Ratio double - JS challenge/human-machine verification pass rate.
- Path string
- 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 string - Rule label, that is, the complete rule ID.
- Single
Proportion double - 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 string - Rule update time.
- Accurate
Group BotAnalyse Protect Rule Rule Group Rule Accurate Group - Advanced conditions.
- Accurate
Group intPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- Action
After intVerification - 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 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.
- Pass
Ratio float64 - JS challenge/human-machine verification pass rate.
- Path string
- 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 string - Rule label, that is, the complete rule ID.
- Single
Proportion float64 - 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 string - Rule update time.
- accurate
Group BotAnalyse Protect Rule Rule Group Rule Accurate Group - Advanced conditions.
- accurate
Group IntegerPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- action
After IntegerVerification - Perform the action after verification/challenge.
- action
Type Integer - perform the action.
- effect
Time Integer - Limit the duration.
- enable Integer
- Whether to enable the rules.
- exemption
Time 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.
- pass
Ratio Double - JS challenge/human-machine verification pass rate.
- path String
- The requested path.
- path
Threshold Integer - The path access frequency threshold is enabled when StatisticalType=1.
- rule
Priority Integer - Priority of rule effectiveness.
- rule
Tag String - Rule label, that is, the complete rule ID.
- single
Proportion Double - The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
- single
Threshold Integer - The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
- statistical
Duration Integer - The duration of statistics.
- statistical
Type Integer - Statistical content and methods.
- update
Time String - Rule update time.
- accurate
Group BotAnalyse Protect Rule Rule Group Rule Accurate Group - Advanced conditions.
- accurate
Group numberPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- action
After numberVerification - Perform the action after verification/challenge.
- action
Type number - perform the action.
- effect
Time number - Limit the duration.
- enable number
- Whether to enable the rules.
- exemption
Time 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.
- pass
Ratio number - JS challenge/human-machine verification pass rate.
- path string
- The requested path.
- path
Threshold number - The path access frequency threshold is enabled when StatisticalType=1.
- rule
Priority number - Priority of rule effectiveness.
- rule
Tag string - Rule label, that is, the complete rule ID.
- single
Proportion number - The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
- single
Threshold number - The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
- statistical
Duration number - The duration of statistics.
- statistical
Type number - Statistical content and methods.
- update
Time string - Rule update time.
- accurate_
group BotAnalyse Protect Rule Rule Group Rule Accurate Group - Advanced conditions.
- accurate_
group_ intpriority - After the rule creation is completed, the priority of the automatically generated rule group.
- action_
after_ intverification - 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.
- accurate
Group Property Map - Advanced conditions.
- accurate
Group NumberPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- action
After NumberVerification - Perform the action after verification/challenge.
- action
Type Number - perform the action.
- effect
Time Number - Limit the duration.
- enable Number
- Whether to enable the rules.
- exemption
Time 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.
- pass
Ratio Number - JS challenge/human-machine verification pass rate.
- path String
- The requested path.
- path
Threshold Number - The path access frequency threshold is enabled when StatisticalType=1.
- rule
Priority Number - Priority of rule effectiveness.
- rule
Tag String - Rule label, that is, the complete rule ID.
- single
Proportion Number - The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
- single
Threshold Number - The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
- statistical
Duration Number - The duration of statistics.
- statistical
Type Number - Statistical content and methods.
- update
Time String - Rule update time.
BotAnalyseProtectRuleRuleGroupRuleAccurateGroup, BotAnalyseProtectRuleRuleGroupRuleAccurateGroupArgs
- Accurate
Group intPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- Accurate
Rules List<BotAnalyse Protect Rule Rule Group Rule Accurate Group Accurate Rule> - 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.
- Accurate
Group intPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- Accurate
Rules []BotAnalyse Protect Rule Rule Group Rule Accurate Group Accurate Rule - 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.
- accurate
Group IntegerPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- accurate
Rules List<BotAnalyse Protect Rule Rule Group Rule Accurate Group Accurate Rule> - 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.
- accurate
Group numberPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- accurate
Rules BotAnalyse Protect Rule Rule Group Rule Accurate Group Accurate Rule[] - 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_ intpriority - After the rule creation is completed, the priority of the automatically generated rule group.
- accurate_
rules Sequence[BotAnalyse Protect Rule Rule Group Rule Accurate Group Accurate Rule] - 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.
- accurate
Group NumberPriority - After the rule creation is completed, the priority of the automatically generated rule group.
- accurate
Rules 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
- Http
Obj string - 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 string - The value to be matched.
- Http
Obj string - 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 string - The value to be matched.
- http
Obj String - Custom object.
- obj
Type Integer - matching field.
- opretar Integer
- The logical operator for the condition.
- property Integer
- Operate the properties of the http object.
- value
String String - The value to be matched.
- http
Obj string - Custom object.
- obj
Type number - matching field.
- opretar number
- The logical operator for the condition.
- property number
- Operate the properties of the http object.
- value
String 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.
- http
Obj String - Custom object.
- obj
Type Number - matching field.
- opretar Number
- The logical operator for the condition.
- property Number
- Operate the properties of the http object.
- value
String 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.