1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. WafBotSceneUcbRule
tencentcloud 1.81.193 published on Saturday, May 17, 2025 by tencentcloudstack

tencentcloud.WafBotSceneUcbRule

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.193 published on Saturday, May 17, 2025 by tencentcloudstack

    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.
    SceneId string
    When calling at the BOT global whitelist, pass global; When configuring BOT scenarios, transmit the specific scenario ID.
    Rule WafBotSceneUcbRuleRule
    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 is permit; When configuring BOT scenarios, SceneId is the scenario ID.
    WafBotSceneUcbRuleId string
    ID of the resource.
    Domain string
    Domain.
    SceneId string
    When calling at the BOT global whitelist, pass global; When configuring BOT scenarios, transmit the specific scenario ID.
    Rule WafBotSceneUcbRuleRuleArgs
    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 is permit; When configuring BOT scenarios, SceneId is the scenario ID.
    WafBotSceneUcbRuleId string
    ID of the resource.
    domain String
    Domain.
    sceneId String
    When calling at the BOT global whitelist, pass global; When configuring BOT scenarios, transmit the specific scenario ID.
    rule WafBotSceneUcbRuleRule
    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 is permit; When configuring BOT scenarios, SceneId is the scenario ID.
    wafBotSceneUcbRuleId String
    ID of the resource.
    domain string
    Domain.
    sceneId string
    When calling at the BOT global whitelist, pass global; When configuring BOT scenarios, transmit the specific scenario ID.
    rule WafBotSceneUcbRuleRule
    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 is permit; When configuring BOT scenarios, SceneId is the scenario ID.
    wafBotSceneUcbRuleId string
    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 WafBotSceneUcbRuleRuleArgs
    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 is permit; When configuring BOT scenarios, SceneId is the scenario ID.
    waf_bot_scene_ucb_rule_id str
    ID of the resource.
    domain String
    Domain.
    sceneId 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 is permit; When configuring BOT scenarios, SceneId is the scenario ID.
    wafBotSceneUcbRuleId String
    ID of the resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    RuleId string
    Rule ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    RuleId string
    Rule ID.
    id String
    The provider-assigned unique ID for this managed resource.
    ruleId String
    Rule ID.
    id string
    The provider-assigned unique ID for this managed resource.
    ruleId string
    Rule ID.
    id str
    The provider-assigned unique ID for this managed resource.
    rule_id str
    Rule ID.
    id String
    The provider-assigned unique ID for this managed resource.
    ruleId String
    Rule ID.

    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.
    The following state arguments are supported:
    Domain string
    Domain.
    Rule WafBotSceneUcbRuleRule
    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 is permit; When configuring BOT scenarios, SceneId is the scenario ID.
    RuleId string
    Rule ID.
    SceneId string
    When calling at the BOT global whitelist, pass global; When configuring BOT scenarios, transmit the specific scenario ID.
    WafBotSceneUcbRuleId string
    ID of the resource.
    Domain string
    Domain.
    Rule WafBotSceneUcbRuleRuleArgs
    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 is permit; When configuring BOT scenarios, SceneId is the scenario ID.
    RuleId string
    Rule ID.
    SceneId string
    When calling at the BOT global whitelist, pass global; When configuring BOT scenarios, transmit the specific scenario ID.
    WafBotSceneUcbRuleId string
    ID of the resource.
    domain String
    Domain.
    rule WafBotSceneUcbRuleRule
    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 is permit; When configuring BOT scenarios, SceneId is the scenario ID.
    ruleId String
    Rule ID.
    sceneId String
    When calling at the BOT global whitelist, pass global; When configuring BOT scenarios, transmit the specific scenario ID.
    wafBotSceneUcbRuleId String
    ID of the resource.
    domain string
    Domain.
    rule WafBotSceneUcbRuleRule
    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 is permit; When configuring BOT scenarios, SceneId is the scenario ID.
    ruleId string
    Rule ID.
    sceneId string
    When calling at the BOT global whitelist, pass global; When configuring BOT scenarios, transmit the specific scenario ID.
    wafBotSceneUcbRuleId string
    ID of the resource.
    domain str
    Domain.
    rule WafBotSceneUcbRuleRuleArgs
    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 is permit; 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_scene_ucb_rule_id str
    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 is permit; When configuring BOT scenarios, SceneId is the scenario ID.
    ruleId String
    Rule ID.
    sceneId String
    When calling at the BOT global whitelist, pass global; When configuring BOT scenarios, transmit the specific scenario ID.
    wafBotSceneUcbRuleId String
    ID of the resource.

    Supporting Types

    WafBotSceneUcbRuleRule, WafBotSceneUcbRuleRuleArgs

    Action string
    Disposal action.
    Domain string
    Domain.
    Label string
    Label.
    Name string
    Rule name.
    OnOff string
    Rule switch.
    Prior double
    Rule priority.
    RuleType double
    Rule type.
    Rules List<WafBotSceneUcbRuleRuleRule>
    Specific rule items of UCB.
    ActionLists List<WafBotSceneUcbRuleRuleActionList>
    When Action=intercept, this field is mandatory.
    AdditionArg string
    Additional parameters.
    Appid double
    Appid.
    BlockPageId double
    Customize interception page ID.
    Desc string
    Rule description.
    ExpireTime double
    Effective deadline.
    Id string
    Entry ID.
    JobDateTime WafBotSceneUcbRuleRuleJobDateTime
    Scheduled task configuration.
    JobType string
    Scheduled task type.
    PreDefine bool
    True - System preset rules False - Custom rules.
    SceneId string
    Scene ID.
    ValidStatus double
    Effective -1, Invalid -0.
    ValidTime double
    Valid time.
    Action string
    Disposal action.
    Domain string
    Domain.
    Label string
    Label.
    Name string
    Rule name.
    OnOff string
    Rule switch.
    Prior float64
    Rule priority.
    RuleType float64
    Rule type.
    Rules []WafBotSceneUcbRuleRuleRule
    Specific rule items of UCB.
    ActionLists []WafBotSceneUcbRuleRuleActionList
    When Action=intercept, this field is mandatory.
    AdditionArg string
    Additional parameters.
    Appid float64
    Appid.
    BlockPageId float64
    Customize interception page ID.
    Desc string
    Rule description.
    ExpireTime float64
    Effective deadline.
    Id string
    Entry ID.
    JobDateTime WafBotSceneUcbRuleRuleJobDateTime
    Scheduled task configuration.
    JobType string
    Scheduled task type.
    PreDefine bool
    True - System preset rules False - Custom rules.
    SceneId string
    Scene ID.
    ValidStatus float64
    Effective -1, Invalid -0.
    ValidTime float64
    Valid time.
    action String
    Disposal action.
    domain String
    Domain.
    label String
    Label.
    name String
    Rule name.
    onOff String
    Rule switch.
    prior Double
    Rule priority.
    ruleType Double
    Rule type.
    rules List<WafBotSceneUcbRuleRuleRule>
    Specific rule items of UCB.
    actionLists List<WafBotSceneUcbRuleRuleActionList>
    When Action=intercept, this field is mandatory.
    additionArg String
    Additional parameters.
    appid Double
    Appid.
    blockPageId Double
    Customize interception page ID.
    desc String
    Rule description.
    expireTime Double
    Effective deadline.
    id String
    Entry ID.
    jobDateTime WafBotSceneUcbRuleRuleJobDateTime
    Scheduled task configuration.
    jobType String
    Scheduled task type.
    preDefine Boolean
    True - System preset rules False - Custom rules.
    sceneId String
    Scene ID.
    validStatus Double
    Effective -1, Invalid -0.
    validTime Double
    Valid time.
    action string
    Disposal action.
    domain string
    Domain.
    label string
    Label.
    name string
    Rule name.
    onOff string
    Rule switch.
    prior number
    Rule priority.
    ruleType number
    Rule type.
    rules WafBotSceneUcbRuleRuleRule[]
    Specific rule items of UCB.
    actionLists WafBotSceneUcbRuleRuleActionList[]
    When Action=intercept, this field is mandatory.
    additionArg string
    Additional parameters.
    appid number
    Appid.
    blockPageId number
    Customize interception page ID.
    desc string
    Rule description.
    expireTime number
    Effective deadline.
    id string
    Entry ID.
    jobDateTime WafBotSceneUcbRuleRuleJobDateTime
    Scheduled task configuration.
    jobType string
    Scheduled task type.
    preDefine boolean
    True - System preset rules False - Custom rules.
    sceneId string
    Scene ID.
    validStatus number
    Effective -1, Invalid -0.
    validTime 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[WafBotSceneUcbRuleRuleRule]
    Specific rule items of UCB.
    action_lists Sequence[WafBotSceneUcbRuleRuleActionList]
    When Action=intercept, this field is mandatory.
    addition_arg str
    Additional parameters.
    appid float
    Appid.
    block_page_id float
    Customize interception page ID.
    desc str
    Rule description.
    expire_time float
    Effective deadline.
    id str
    Entry ID.
    job_date_time WafBotSceneUcbRuleRuleJobDateTime
    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.
    onOff String
    Rule switch.
    prior Number
    Rule priority.
    ruleType Number
    Rule type.
    rules List<Property Map>
    Specific rule items of UCB.
    actionLists List<Property Map>
    When Action=intercept, this field is mandatory.
    additionArg String
    Additional parameters.
    appid Number
    Appid.
    blockPageId Number
    Customize interception page ID.
    desc String
    Rule description.
    expireTime Number
    Effective deadline.
    id String
    Entry ID.
    jobDateTime Property Map
    Scheduled task configuration.
    jobType String
    Scheduled task type.
    preDefine Boolean
    True - System preset rules False - Custom rules.
    sceneId String
    Scene ID.
    validStatus Number
    Effective -1, Invalid -0.
    validTime 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<WafBotSceneUcbRuleRuleJobDateTimeCron>
    Time parameter for cycle execution.
    TimeTZone string
    Time zone.
    Timeds List<WafBotSceneUcbRuleRuleJobDateTimeTimed>
    Time parameter for timed execution.
    Crons []WafBotSceneUcbRuleRuleJobDateTimeCron
    Time parameter for cycle execution.
    TimeTZone string
    Time zone.
    Timeds []WafBotSceneUcbRuleRuleJobDateTimeTimed
    Time parameter for timed execution.
    crons List<WafBotSceneUcbRuleRuleJobDateTimeCron>
    Time parameter for cycle execution.
    timeTZone String
    Time zone.
    timeds List<WafBotSceneUcbRuleRuleJobDateTimeTimed>
    Time parameter for timed execution.
    crons WafBotSceneUcbRuleRuleJobDateTimeCron[]
    Time parameter for cycle execution.
    timeTZone string
    Time zone.
    timeds WafBotSceneUcbRuleRuleJobDateTimeTimed[]
    Time parameter for timed execution.
    crons Sequence[WafBotSceneUcbRuleRuleJobDateTimeCron]
    Time parameter for cycle execution.
    time_t_zone str
    Time zone.
    timeds Sequence[WafBotSceneUcbRuleRuleJobDateTimeTimed]
    Time parameter for timed execution.
    crons List<Property Map>
    Time parameter for cycle execution.
    timeTZone String
    Time zone.
    timeds List<Property Map>
    Time parameter for timed execution.

    WafBotSceneUcbRuleRuleJobDateTimeCron, WafBotSceneUcbRuleRuleJobDateTimeCronArgs

    Days List<double>
    On what day of each month is it executed.
    EndTime string
    End time.
    StartTime string
    Start time.
    WDays List<double>
    What day of the week is executed each week.
    Days []float64
    On what day of each month is it executed.
    EndTime string
    End time.
    StartTime string
    Start time.
    WDays []float64
    What day of the week is executed each week.
    days List<Double>
    On what day of each month is it executed.
    endTime String
    End time.
    startTime String
    Start time.
    wDays List<Double>
    What day of the week is executed each week.
    days number[]
    On what day of each month is it executed.
    endTime string
    End time.
    startTime string
    Start time.
    wDays number[]
    What day of the week is executed each week.
    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.
    days List<Number>
    On what day of each month is it executed.
    endTime String
    End time.
    startTime String
    Start time.
    wDays List<Number>
    What day of the week is executed each week.

    WafBotSceneUcbRuleRuleJobDateTimeTimed, WafBotSceneUcbRuleRuleJobDateTimeTimedArgs

    EndDateTime double
    End timestamp, in seconds.
    StartDateTime double
    Start timestamp, in seconds.
    EndDateTime float64
    End timestamp, in seconds.
    StartDateTime float64
    Start timestamp, in seconds.
    endDateTime Double
    End timestamp, in seconds.
    startDateTime Double
    Start timestamp, in seconds.
    endDateTime number
    End timestamp, in seconds.
    startDateTime number
    Start timestamp, in seconds.
    end_date_time float
    End timestamp, in seconds.
    start_date_time float
    Start timestamp, in seconds.
    endDateTime Number
    End timestamp, in seconds.
    startDateTime Number
    Start timestamp, in seconds.

    WafBotSceneUcbRuleRuleRule, WafBotSceneUcbRuleRuleRuleArgs

    Areas List<WafBotSceneUcbRuleRuleRuleArea>
    Regional selection.
    Key string
    Key.
    Lang string
    Language environment.
    Name string
    Rule name.
    Op string
    Operator.
    OpArgs List<string>
    Optional supplementary parameters.
    OpOp string
    Optional Supplementary Operators.
    OpValue double
    Optional supplementary values.
    Value WafBotSceneUcbRuleRuleRuleValue
    Value.
    Areas []WafBotSceneUcbRuleRuleRuleArea
    Regional selection.
    Key string
    Key.
    Lang string
    Language environment.
    Name string
    Rule name.
    Op string
    Operator.
    OpArgs []string
    Optional supplementary parameters.
    OpOp string
    Optional Supplementary Operators.
    OpValue float64
    Optional supplementary values.
    Value WafBotSceneUcbRuleRuleRuleValue
    Value.
    areas List<WafBotSceneUcbRuleRuleRuleArea>
    Regional selection.
    key String
    Key.
    lang String
    Language environment.
    name String
    Rule name.
    op String
    Operator.
    opArgs List<String>
    Optional supplementary parameters.
    opOp String
    Optional Supplementary Operators.
    opValue Double
    Optional supplementary values.
    value WafBotSceneUcbRuleRuleRuleValue
    Value.
    areas WafBotSceneUcbRuleRuleRuleArea[]
    Regional selection.
    key string
    Key.
    lang string
    Language environment.
    name string
    Rule name.
    op string
    Operator.
    opArgs string[]
    Optional supplementary parameters.
    opOp string
    Optional Supplementary Operators.
    opValue number
    Optional supplementary values.
    value WafBotSceneUcbRuleRuleRuleValue
    Value.
    areas Sequence[WafBotSceneUcbRuleRuleRuleArea]
    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 WafBotSceneUcbRuleRuleRuleValue
    Value.
    areas List<Property Map>
    Regional selection.
    key String
    Key.
    lang String
    Language environment.
    name String
    Rule name.
    op String
    Operator.
    opArgs List<String>
    Optional supplementary parameters.
    opOp String
    Optional Supplementary Operators.
    opValue Number
    Optional supplementary values.
    value Property Map
    Value.

    WafBotSceneUcbRuleRuleRuleArea, WafBotSceneUcbRuleRuleRuleAreaArgs

    Country string
    In addition to standard countries, the country also supports two special identifiers: domestic and foreign.
    City string
    City.
    Region string
    Province.
    Country string
    In addition to standard countries, the country also supports two special identifiers: domestic and foreign.
    City string
    City.
    Region string
    Province.
    country String
    In addition to standard countries, the country also supports two special identifiers: domestic and foreign.
    city String
    City.
    region String
    Province.
    country string
    In addition to standard countries, the country also supports two special identifiers: domestic and foreign.
    city string
    City.
    region string
    Province.
    country str
    In addition to standard countries, the country also supports two special identifiers: domestic and foreign.
    city str
    City.
    region str
    Province.
    country String
    In addition to standard countries, the country also supports two special identifiers: domestic and foreign.
    city String
    City.
    region String
    Province.

    WafBotSceneUcbRuleRuleRuleValue, WafBotSceneUcbRuleRuleRuleValueArgs

    BasicValue string
    String type value.
    BelongValues List<string>
    String array type value.
    LogicValue bool
    Bool type value.
    MultiValues List<string>
    String array type value.
    ValidKey string
    Indicate valid fields.
    BasicValue string
    String type value.
    BelongValues []string
    String array type value.
    LogicValue bool
    Bool type value.
    MultiValues []string
    String array type value.
    ValidKey string
    Indicate valid fields.
    basicValue String
    String type value.
    belongValues List<String>
    String array type value.
    logicValue Boolean
    Bool type value.
    multiValues List<String>
    String array type value.
    validKey String
    Indicate valid fields.
    basicValue string
    String type value.
    belongValues string[]
    String array type value.
    logicValue boolean
    Bool type value.
    multiValues string[]
    String array type value.
    validKey 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.
    basicValue String
    String type value.
    belongValues List<String>
    String array type value.
    logicValue Boolean
    Bool type value.
    multiValues List<String>
    String array type value.
    validKey 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.
    tencentcloud logo
    tencentcloud 1.81.193 published on Saturday, May 17, 2025 by tencentcloudstack