tencentcloud.WafBotSceneUcbRule
Explore with Pulumi AI
Provides a resource to create a WAF bot scene ucb rule
Example Usage
The rules are permanently effective
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.WafBotSceneUcbRule;
import com.pulumi.tencentcloud.WafBotSceneUcbRuleArgs;
import com.pulumi.tencentcloud.inputs.WafBotSceneUcbRuleRuleArgs;
import com.pulumi.tencentcloud.inputs.WafBotSceneUcbRuleRuleJobDateTimeArgs;
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 example = new WafBotSceneUcbRule("example", WafBotSceneUcbRuleArgs.builder()
.domain("examle.com")
.rule(WafBotSceneUcbRuleRuleArgs.builder()
.action("monitor")
.additionArg("none")
.appid(1276513791)
.desc("rule desc.")
.domain("examle.com")
.jobDateTime(WafBotSceneUcbRuleRuleJobDateTimeArgs.builder()
.timeTZone("UTC+8")
.timed(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.jobType("forever")
.label("疑似BOT")
.name("tf-example")
.onOff("on")
.preDefine(true)
.prior(100)
.rules(WafBotSceneUcbRuleRuleRuleArgs.builder()
.key("ip_scope")
.lang("cn")
.op("belong")
.value(WafBotSceneUcbRuleRuleRuleValueArgs.builder()
.belongValue("1.1.1.1")
.build())
.build())
.ruleType(0)
.build())
.sceneId("3000000791")
.build());
}
}
resources:
example:
type: tencentcloud:WafBotSceneUcbRule
properties:
domain: examle.com
rule:
action: monitor
additionArg: none
appid: 1.276513791e+09
desc: rule desc.
domain: examle.com
jobDateTime:
timeTZone: UTC+8
timed:
- endDateTime: 0
startDateTime: 0
jobType: forever
label: 疑似BOT
name: tf-example
onOff: on
preDefine: true
prior: 100
rules:
- key: ip_scope
lang: cn
op: belong
value:
belongValue:
- 1.1.1.1
ruleType: 0
sceneId: '3000000791'
The rules take effect on a scheduled basis
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.WafBotSceneUcbRule;
import com.pulumi.tencentcloud.WafBotSceneUcbRuleArgs;
import com.pulumi.tencentcloud.inputs.WafBotSceneUcbRuleRuleArgs;
import com.pulumi.tencentcloud.inputs.WafBotSceneUcbRuleRuleJobDateTimeArgs;
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 example = new WafBotSceneUcbRule("example", WafBotSceneUcbRuleArgs.builder()
.domain("examle.com")
.rule(WafBotSceneUcbRuleRuleArgs.builder()
.action("multi_action")
.actionLists(
WafBotSceneUcbRuleRuleActionListArgs.builder()
.action("monitor")
.proportion(0.3)
.build(),
WafBotSceneUcbRuleRuleActionListArgs.builder()
.action("intercept")
.proportion(0.3)
.build(),
WafBotSceneUcbRuleRuleActionListArgs.builder()
.action("captcha")
.proportion(0.4)
.build())
.additionArg("none")
.appid(1256704386)
.desc("rule desc.")
.domain("examle.com")
.jobDateTime(WafBotSceneUcbRuleRuleJobDateTimeArgs.builder()
.timeTZone("UTC+8")
.timed(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.jobType("timed_job")
.label("正常流量")
.name("tf-example")
.onOff("on")
.preDefine(true)
.prior(100)
.rules(WafBotSceneUcbRuleRuleRuleArgs.builder()
.key("header_value")
.lang("cn")
.name("token")
.op("logic")
.value(WafBotSceneUcbRuleRuleRuleValueArgs.builder()
.logicValue(true)
.build())
.build())
.ruleType(0)
.build())
.sceneId("3000000791")
.build());
}
}
resources:
example:
type: tencentcloud:WafBotSceneUcbRule
properties:
domain: examle.com
rule:
action: multi_action
actionLists:
- action: monitor
proportion: 0.3
- action: intercept
proportion: 0.3
- action: captcha
proportion: 0.4
additionArg: none
appid: 1.256704386e+09
desc: rule desc.
domain: examle.com
jobDateTime:
timeTZone: UTC+8
timed:
- endDateTime: 1.747152e+09
startDateTime: 1.7473248e+09
jobType: timed_job
label: 正常流量
name: tf-example
onOff: on
preDefine: true
prior: 100
rules:
- key: header_value
lang: cn
name: token
op: logic
value:
logicValue: true
ruleType: 0
sceneId: '3000000791'
The rules take effect on a weekly basis
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.WafBotSceneUcbRule;
import com.pulumi.tencentcloud.WafBotSceneUcbRuleArgs;
import com.pulumi.tencentcloud.inputs.WafBotSceneUcbRuleRuleArgs;
import com.pulumi.tencentcloud.inputs.WafBotSceneUcbRuleRuleJobDateTimeArgs;
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 example = new WafBotSceneUcbRule("example", WafBotSceneUcbRuleArgs.builder()
.domain("examle.com")
.rule(WafBotSceneUcbRuleRuleArgs.builder()
.action("intercept")
.additionArg("none")
.appid(1256704386)
.blockPageId(71)
.desc("rule desc.")
.domain("examle.com")
.jobDateTime(WafBotSceneUcbRuleRuleJobDateTimeArgs.builder()
.cron(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.timeTZone("UTC+8")
.build())
.jobType("cron_week")
.label("恶意BOT")
.name("tf-example")
.onOff("on")
.preDefine(true)
.prior(100)
.rules(WafBotSceneUcbRuleRuleRuleArgs.builder()
.key("post_value")
.lang("cn")
.op("prefix")
.value(WafBotSceneUcbRuleRuleRuleValueArgs.builder()
.multiValue(
"terraform",
"provider")
.build())
.build())
.ruleType(0)
.build())
.sceneId("3000000791")
.build());
}
}
resources:
example:
type: tencentcloud:WafBotSceneUcbRule
properties:
domain: examle.com
rule:
action: intercept
additionArg: none
appid: 1.256704386e+09
blockPageId: 71
desc: rule desc.
domain: examle.com
jobDateTime:
cron:
- endTime: 23:59:59
startTime: 00:00:00
wDays:
- 1
- 2
- 3
- 4
- 5
timeTZone: UTC+8
jobType: cron_week
label: 恶意BOT
name: tf-example
onOff: on
preDefine: true
prior: 100
rules:
- key: post_value
lang: cn
op: prefix
value:
multiValue:
- terraform
- provider
ruleType: 0
sceneId: '3000000791'
Create WafBotSceneUcbRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WafBotSceneUcbRule(name: string, args: WafBotSceneUcbRuleArgs, opts?: CustomResourceOptions);
@overload
def WafBotSceneUcbRule(resource_name: str,
args: WafBotSceneUcbRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WafBotSceneUcbRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
scene_id: Optional[str] = None,
rule: Optional[WafBotSceneUcbRuleRuleArgs] = None,
waf_bot_scene_ucb_rule_id: Optional[str] = None)
func NewWafBotSceneUcbRule(ctx *Context, name string, args WafBotSceneUcbRuleArgs, opts ...ResourceOption) (*WafBotSceneUcbRule, error)
public WafBotSceneUcbRule(string name, WafBotSceneUcbRuleArgs args, CustomResourceOptions? opts = null)
public WafBotSceneUcbRule(String name, WafBotSceneUcbRuleArgs args)
public WafBotSceneUcbRule(String name, WafBotSceneUcbRuleArgs args, CustomResourceOptions options)
type: tencentcloud:WafBotSceneUcbRule
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 WafBotSceneUcbRuleArgs
- 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 WafBotSceneUcbRuleArgs
- 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 WafBotSceneUcbRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WafBotSceneUcbRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WafBotSceneUcbRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WafBotSceneUcbRule 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 WafBotSceneUcbRule resource accepts the following input properties:
- Domain string
- Domain.
- Scene
Id string - When calling at the BOT global whitelist, pass
global
; When configuring BOT scenarios, transmit the specific scenario ID. - Rule
Waf
Bot Scene Ucb Rule Rule - Rule content, add encoding SceneId information. When calling at the BOT global whitelist, SceneId is set to
global
and RuleType is passed as 10, Action ispermit
; When configuring BOT scenarios, SceneId is the scenario ID. - Waf
Bot stringScene Ucb Rule Id - ID of the resource.
- Domain string
- Domain.
- Scene
Id string - When calling at the BOT global whitelist, pass
global
; When configuring BOT scenarios, transmit the specific scenario ID. - Rule
Waf
Bot Scene Ucb Rule Rule Args - Rule content, add encoding SceneId information. When calling at the BOT global whitelist, SceneId is set to
global
and RuleType is passed as 10, Action ispermit
; When configuring BOT scenarios, SceneId is the scenario ID. - Waf
Bot stringScene Ucb Rule Id - ID of the resource.
- domain String
- Domain.
- scene
Id String - When calling at the BOT global whitelist, pass
global
; When configuring BOT scenarios, transmit the specific scenario ID. - rule
Waf
Bot Scene Ucb Rule Rule - Rule content, add encoding SceneId information. When calling at the BOT global whitelist, SceneId is set to
global
and RuleType is passed as 10, Action ispermit
; When configuring BOT scenarios, SceneId is the scenario ID. - waf
Bot StringScene Ucb Rule Id - ID of the resource.
- domain string
- Domain.
- scene
Id string - When calling at the BOT global whitelist, pass
global
; When configuring BOT scenarios, transmit the specific scenario ID. - rule
Waf
Bot Scene Ucb Rule Rule - Rule content, add encoding SceneId information. When calling at the BOT global whitelist, SceneId is set to
global
and RuleType is passed as 10, Action ispermit
; When configuring BOT scenarios, SceneId is the scenario ID. - waf
Bot stringScene Ucb Rule Id - ID of the resource.
- domain str
- Domain.
- scene_
id str - When calling at the BOT global whitelist, pass
global
; When configuring BOT scenarios, transmit the specific scenario ID. - rule
Waf
Bot Scene Ucb Rule Rule Args - Rule content, add encoding SceneId information. When calling at the BOT global whitelist, SceneId is set to
global
and RuleType is passed as 10, Action ispermit
; When configuring BOT scenarios, SceneId is the scenario ID. - waf_
bot_ strscene_ ucb_ rule_ id - ID of the resource.
- domain String
- Domain.
- scene
Id String - When calling at the BOT global whitelist, pass
global
; When configuring BOT scenarios, transmit the specific scenario ID. - rule Property Map
- Rule content, add encoding SceneId information. When calling at the BOT global whitelist, SceneId is set to
global
and RuleType is passed as 10, Action ispermit
; When configuring BOT scenarios, SceneId is the scenario ID. - waf
Bot StringScene Ucb Rule Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WafBotSceneUcbRule resource produces the following output properties:
Look up Existing WafBotSceneUcbRule Resource
Get an existing WafBotSceneUcbRule 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?: WafBotSceneUcbRuleState, opts?: CustomResourceOptions): WafBotSceneUcbRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
rule: Optional[WafBotSceneUcbRuleRuleArgs] = None,
rule_id: Optional[str] = None,
scene_id: Optional[str] = None,
waf_bot_scene_ucb_rule_id: Optional[str] = None) -> WafBotSceneUcbRule
func GetWafBotSceneUcbRule(ctx *Context, name string, id IDInput, state *WafBotSceneUcbRuleState, opts ...ResourceOption) (*WafBotSceneUcbRule, error)
public static WafBotSceneUcbRule Get(string name, Input<string> id, WafBotSceneUcbRuleState? state, CustomResourceOptions? opts = null)
public static WafBotSceneUcbRule get(String name, Output<String> id, WafBotSceneUcbRuleState state, CustomResourceOptions options)
resources: _: type: tencentcloud:WafBotSceneUcbRule 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.
- Domain string
- Domain.
- Rule
Waf
Bot Scene Ucb Rule Rule - Rule content, add encoding SceneId information. When calling at the BOT global whitelist, SceneId is set to
global
and RuleType is passed as 10, Action ispermit
; When configuring BOT scenarios, SceneId is the scenario ID. - Rule
Id string - Rule ID.
- Scene
Id string - When calling at the BOT global whitelist, pass
global
; When configuring BOT scenarios, transmit the specific scenario ID. - Waf
Bot stringScene Ucb Rule Id - ID of the resource.
- Domain string
- Domain.
- Rule
Waf
Bot Scene Ucb Rule Rule Args - Rule content, add encoding SceneId information. When calling at the BOT global whitelist, SceneId is set to
global
and RuleType is passed as 10, Action ispermit
; When configuring BOT scenarios, SceneId is the scenario ID. - Rule
Id string - Rule ID.
- Scene
Id string - When calling at the BOT global whitelist, pass
global
; When configuring BOT scenarios, transmit the specific scenario ID. - Waf
Bot stringScene Ucb Rule Id - ID of the resource.
- domain String
- Domain.
- rule
Waf
Bot Scene Ucb Rule Rule - Rule content, add encoding SceneId information. When calling at the BOT global whitelist, SceneId is set to
global
and RuleType is passed as 10, Action ispermit
; When configuring BOT scenarios, SceneId is the scenario ID. - rule
Id String - Rule ID.
- scene
Id String - When calling at the BOT global whitelist, pass
global
; When configuring BOT scenarios, transmit the specific scenario ID. - waf
Bot StringScene Ucb Rule Id - ID of the resource.
- domain string
- Domain.
- rule
Waf
Bot Scene Ucb Rule Rule - Rule content, add encoding SceneId information. When calling at the BOT global whitelist, SceneId is set to
global
and RuleType is passed as 10, Action ispermit
; When configuring BOT scenarios, SceneId is the scenario ID. - rule
Id string - Rule ID.
- scene
Id string - When calling at the BOT global whitelist, pass
global
; When configuring BOT scenarios, transmit the specific scenario ID. - waf
Bot stringScene Ucb Rule Id - ID of the resource.
- domain str
- Domain.
- rule
Waf
Bot Scene Ucb Rule Rule Args - Rule content, add encoding SceneId information. When calling at the BOT global whitelist, SceneId is set to
global
and RuleType is passed as 10, Action ispermit
; When configuring BOT scenarios, SceneId is the scenario ID. - rule_
id str - Rule ID.
- scene_
id str - When calling at the BOT global whitelist, pass
global
; When configuring BOT scenarios, transmit the specific scenario ID. - waf_
bot_ strscene_ ucb_ rule_ id - ID of the resource.
- domain String
- Domain.
- rule Property Map
- Rule content, add encoding SceneId information. When calling at the BOT global whitelist, SceneId is set to
global
and RuleType is passed as 10, Action ispermit
; When configuring BOT scenarios, SceneId is the scenario ID. - rule
Id String - Rule ID.
- scene
Id String - When calling at the BOT global whitelist, pass
global
; When configuring BOT scenarios, transmit the specific scenario ID. - waf
Bot StringScene Ucb Rule Id - ID of the resource.
Supporting Types
WafBotSceneUcbRuleRule, WafBotSceneUcbRuleRuleArgs
- Action string
- Disposal action.
- Domain string
- Domain.
- Label string
- Label.
- Name string
- Rule name.
- On
Off string - Rule switch.
- Prior double
- Rule priority.
- Rule
Type double - Rule type.
- Rules
List<Waf
Bot Scene Ucb Rule Rule Rule> - Specific rule items of UCB.
- Action
Lists List<WafBot Scene Ucb Rule Rule Action List> - When Action=intercept, this field is mandatory.
- Addition
Arg string - Additional parameters.
- Appid double
- Appid.
- Block
Page doubleId - Customize interception page ID.
- Desc string
- Rule description.
- Expire
Time double - Effective deadline.
- Id string
- Entry ID.
- Job
Date WafTime Bot Scene Ucb Rule Rule Job Date Time - Scheduled task configuration.
- Job
Type string - Scheduled task type.
- Pre
Define bool - True - System preset rules False - Custom rules.
- Scene
Id string - Scene ID.
- Valid
Status double - Effective -1, Invalid -0.
- Valid
Time double - Valid time.
- Action string
- Disposal action.
- Domain string
- Domain.
- Label string
- Label.
- Name string
- Rule name.
- On
Off string - Rule switch.
- Prior float64
- Rule priority.
- Rule
Type float64 - Rule type.
- Rules
[]Waf
Bot Scene Ucb Rule Rule Rule - Specific rule items of UCB.
- Action
Lists []WafBot Scene Ucb Rule Rule Action List - When Action=intercept, this field is mandatory.
- Addition
Arg string - Additional parameters.
- Appid float64
- Appid.
- Block
Page float64Id - Customize interception page ID.
- Desc string
- Rule description.
- Expire
Time float64 - Effective deadline.
- Id string
- Entry ID.
- Job
Date WafTime Bot Scene Ucb Rule Rule Job Date Time - Scheduled task configuration.
- Job
Type string - Scheduled task type.
- Pre
Define bool - True - System preset rules False - Custom rules.
- Scene
Id string - Scene ID.
- Valid
Status float64 - Effective -1, Invalid -0.
- Valid
Time float64 - Valid time.
- action String
- Disposal action.
- domain String
- Domain.
- label String
- Label.
- name String
- Rule name.
- on
Off String - Rule switch.
- prior Double
- Rule priority.
- rule
Type Double - Rule type.
- rules
List<Waf
Bot Scene Ucb Rule Rule Rule> - Specific rule items of UCB.
- action
Lists List<WafBot Scene Ucb Rule Rule Action List> - When Action=intercept, this field is mandatory.
- addition
Arg String - Additional parameters.
- appid Double
- Appid.
- block
Page DoubleId - Customize interception page ID.
- desc String
- Rule description.
- expire
Time Double - Effective deadline.
- id String
- Entry ID.
- job
Date WafTime Bot Scene Ucb Rule Rule Job Date Time - Scheduled task configuration.
- job
Type String - Scheduled task type.
- pre
Define Boolean - True - System preset rules False - Custom rules.
- scene
Id String - Scene ID.
- valid
Status Double - Effective -1, Invalid -0.
- valid
Time Double - Valid time.
- action string
- Disposal action.
- domain string
- Domain.
- label string
- Label.
- name string
- Rule name.
- on
Off string - Rule switch.
- prior number
- Rule priority.
- rule
Type number - Rule type.
- rules
Waf
Bot Scene Ucb Rule Rule Rule[] - Specific rule items of UCB.
- action
Lists WafBot Scene Ucb Rule Rule Action List[] - When Action=intercept, this field is mandatory.
- addition
Arg string - Additional parameters.
- appid number
- Appid.
- block
Page numberId - Customize interception page ID.
- desc string
- Rule description.
- expire
Time number - Effective deadline.
- id string
- Entry ID.
- job
Date WafTime Bot Scene Ucb Rule Rule Job Date Time - Scheduled task configuration.
- job
Type string - Scheduled task type.
- pre
Define boolean - True - System preset rules False - Custom rules.
- scene
Id string - Scene ID.
- valid
Status number - Effective -1, Invalid -0.
- valid
Time number - Valid time.
- action str
- Disposal action.
- domain str
- Domain.
- label str
- Label.
- name str
- Rule name.
- on_
off str - Rule switch.
- prior float
- Rule priority.
- rule_
type float - Rule type.
- rules
Sequence[Waf
Bot Scene Ucb Rule Rule Rule] - Specific rule items of UCB.
- action_
lists Sequence[WafBot Scene Ucb Rule Rule Action List] - When Action=intercept, this field is mandatory.
- addition_
arg str - Additional parameters.
- appid float
- Appid.
- block_
page_ floatid - Customize interception page ID.
- desc str
- Rule description.
- expire_
time float - Effective deadline.
- id str
- Entry ID.
- job_
date_ Waftime Bot Scene Ucb Rule Rule Job Date Time - Scheduled task configuration.
- job_
type str - Scheduled task type.
- pre_
define bool - True - System preset rules False - Custom rules.
- scene_
id str - Scene ID.
- valid_
status float - Effective -1, Invalid -0.
- valid_
time float - Valid time.
- action String
- Disposal action.
- domain String
- Domain.
- label String
- Label.
- name String
- Rule name.
- on
Off String - Rule switch.
- prior Number
- Rule priority.
- rule
Type Number - Rule type.
- rules List<Property Map>
- Specific rule items of UCB.
- action
Lists List<Property Map> - When Action=intercept, this field is mandatory.
- addition
Arg String - Additional parameters.
- appid Number
- Appid.
- block
Page NumberId - Customize interception page ID.
- desc String
- Rule description.
- expire
Time Number - Effective deadline.
- id String
- Entry ID.
- job
Date Property MapTime - Scheduled task configuration.
- job
Type String - Scheduled task type.
- pre
Define Boolean - True - System preset rules False - Custom rules.
- scene
Id String - Scene ID.
- valid
Status Number - Effective -1, Invalid -0.
- valid
Time Number - Valid time.
WafBotSceneUcbRuleRuleActionList, WafBotSceneUcbRuleRuleActionListArgs
- Action string
- Action.
- Proportion double
- Proportion.
- Action string
- Action.
- Proportion float64
- Proportion.
- action String
- Action.
- proportion Double
- Proportion.
- action string
- Action.
- proportion number
- Proportion.
- action str
- Action.
- proportion float
- Proportion.
- action String
- Action.
- proportion Number
- Proportion.
WafBotSceneUcbRuleRuleJobDateTime, WafBotSceneUcbRuleRuleJobDateTimeArgs
- Crons
List<Waf
Bot Scene Ucb Rule Rule Job Date Time Cron> - Time parameter for cycle execution.
- Time
TZone string - Time zone.
- Timeds
List<Waf
Bot Scene Ucb Rule Rule Job Date Time Timed> - Time parameter for timed execution.
- Crons
[]Waf
Bot Scene Ucb Rule Rule Job Date Time Cron - Time parameter for cycle execution.
- Time
TZone string - Time zone.
- Timeds
[]Waf
Bot Scene Ucb Rule Rule Job Date Time Timed - Time parameter for timed execution.
- crons
List<Waf
Bot Scene Ucb Rule Rule Job Date Time Cron> - Time parameter for cycle execution.
- time
TZone String - Time zone.
- timeds
List<Waf
Bot Scene Ucb Rule Rule Job Date Time Timed> - Time parameter for timed execution.
- crons
Waf
Bot Scene Ucb Rule Rule Job Date Time Cron[] - Time parameter for cycle execution.
- time
TZone string - Time zone.
- timeds
Waf
Bot Scene Ucb Rule Rule Job Date Time Timed[] - Time parameter for timed execution.
- crons
Sequence[Waf
Bot Scene Ucb Rule Rule Job Date Time Cron] - Time parameter for cycle execution.
- time_
t_ strzone - Time zone.
- timeds
Sequence[Waf
Bot Scene Ucb Rule Rule Job Date Time Timed] - Time parameter for timed execution.
- crons List<Property Map>
- Time parameter for cycle execution.
- time
TZone String - Time zone.
- timeds List<Property Map>
- Time parameter for timed execution.
WafBotSceneUcbRuleRuleJobDateTimeCron, WafBotSceneUcbRuleRuleJobDateTimeCronArgs
- days Sequence[float]
- On what day of each month is it executed.
- end_
time str - End time.
- start_
time str - Start time.
- w_
days Sequence[float] - What day of the week is executed each week.
WafBotSceneUcbRuleRuleJobDateTimeTimed, WafBotSceneUcbRuleRuleJobDateTimeTimedArgs
- End
Date doubleTime - End timestamp, in seconds.
- Start
Date doubleTime - Start timestamp, in seconds.
- End
Date float64Time - End timestamp, in seconds.
- Start
Date float64Time - Start timestamp, in seconds.
- end
Date DoubleTime - End timestamp, in seconds.
- start
Date DoubleTime - Start timestamp, in seconds.
- end
Date numberTime - End timestamp, in seconds.
- start
Date numberTime - Start timestamp, in seconds.
- end_
date_ floattime - End timestamp, in seconds.
- start_
date_ floattime - Start timestamp, in seconds.
- end
Date NumberTime - End timestamp, in seconds.
- start
Date NumberTime - Start timestamp, in seconds.
WafBotSceneUcbRuleRuleRule, WafBotSceneUcbRuleRuleRuleArgs
- Areas
List<Waf
Bot Scene Ucb Rule Rule Rule Area> - Regional selection.
- Key string
- Key.
- Lang string
- Language environment.
- Name string
- Rule name.
- Op string
- Operator.
- Op
Args List<string> - Optional supplementary parameters.
- Op
Op string - Optional Supplementary Operators.
- Op
Value double - Optional supplementary values.
- Value
Waf
Bot Scene Ucb Rule Rule Rule Value - Value.
- Areas
[]Waf
Bot Scene Ucb Rule Rule Rule Area - Regional selection.
- Key string
- Key.
- Lang string
- Language environment.
- Name string
- Rule name.
- Op string
- Operator.
- Op
Args []string - Optional supplementary parameters.
- Op
Op string - Optional Supplementary Operators.
- Op
Value float64 - Optional supplementary values.
- Value
Waf
Bot Scene Ucb Rule Rule Rule Value - Value.
- areas
List<Waf
Bot Scene Ucb Rule Rule Rule Area> - Regional selection.
- key String
- Key.
- lang String
- Language environment.
- name String
- Rule name.
- op String
- Operator.
- op
Args List<String> - Optional supplementary parameters.
- op
Op String - Optional Supplementary Operators.
- op
Value Double - Optional supplementary values.
- value
Waf
Bot Scene Ucb Rule Rule Rule Value - Value.
- areas
Waf
Bot Scene Ucb Rule Rule Rule Area[] - Regional selection.
- key string
- Key.
- lang string
- Language environment.
- name string
- Rule name.
- op string
- Operator.
- op
Args string[] - Optional supplementary parameters.
- op
Op string - Optional Supplementary Operators.
- op
Value number - Optional supplementary values.
- value
Waf
Bot Scene Ucb Rule Rule Rule Value - Value.
- areas
Sequence[Waf
Bot Scene Ucb Rule Rule Rule Area] - Regional selection.
- key str
- Key.
- lang str
- Language environment.
- name str
- Rule name.
- op str
- Operator.
- op_
args Sequence[str] - Optional supplementary parameters.
- op_
op str - Optional Supplementary Operators.
- op_
value float - Optional supplementary values.
- value
Waf
Bot Scene Ucb Rule Rule Rule Value - Value.
WafBotSceneUcbRuleRuleRuleArea, WafBotSceneUcbRuleRuleRuleAreaArgs
WafBotSceneUcbRuleRuleRuleValue, WafBotSceneUcbRuleRuleRuleValueArgs
- Basic
Value string - String type value.
- Belong
Values List<string> - String array type value.
- Logic
Value bool - Bool type value.
- Multi
Values List<string> - String array type value.
- Valid
Key string - Indicate valid fields.
- Basic
Value string - String type value.
- Belong
Values []string - String array type value.
- Logic
Value bool - Bool type value.
- Multi
Values []string - String array type value.
- Valid
Key string - Indicate valid fields.
- basic
Value String - String type value.
- belong
Values List<String> - String array type value.
- logic
Value Boolean - Bool type value.
- multi
Values List<String> - String array type value.
- valid
Key String - Indicate valid fields.
- basic
Value string - String type value.
- belong
Values string[] - String array type value.
- logic
Value boolean - Bool type value.
- multi
Values string[] - String array type value.
- valid
Key string - Indicate valid fields.
- basic_
value str - String type value.
- belong_
values Sequence[str] - String array type value.
- logic_
value bool - Bool type value.
- multi_
values Sequence[str] - String array type value.
- valid_
key str - Indicate valid fields.
- basic
Value String - String type value.
- belong
Values List<String> - String array type value.
- logic
Value Boolean - Bool type value.
- multi
Values List<String> - String array type value.
- valid
Key String - Indicate valid fields.
Import
WAF bot scene ucb rule can be imported using the id, e.g.
$ pulumi import tencentcloud:index/wafBotSceneUcbRule:WafBotSceneUcbRule example examle.com#3000000791#3000003489
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.