Provides a resource to create a WAF owasp white rule
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.WafOwaspWhiteRule("example", {
name: "tf-example",
domain: "example.qcloud.com",
strategies: [{
field: "IP",
compareFunc: "ipmatch",
content: "1.1.1.1",
arg: "",
caseNotSensitive: 0,
}],
ids: [
10000000,
20000000,
30000000,
40000000,
90000000,
110000000,
190000000,
200000000,
210000000,
220000000,
230000000,
240000000,
250000000,
260000000,
270000000,
280000000,
290000000,
300000000,
310000000,
320000000,
330000000,
340000000,
350000000,
360000000,
370000000,
],
type: 1,
jobType: "TimedJob",
jobDateTime: {
timeds: [{
startDateTime: 0,
endDateTime: 0,
}],
timeTZone: "UTC+8",
},
expireTime: 0,
status: 1,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.WafOwaspWhiteRule("example",
name="tf-example",
domain="example.qcloud.com",
strategies=[{
"field": "IP",
"compare_func": "ipmatch",
"content": "1.1.1.1",
"arg": "",
"case_not_sensitive": 0,
}],
ids=[
10000000,
20000000,
30000000,
40000000,
90000000,
110000000,
190000000,
200000000,
210000000,
220000000,
230000000,
240000000,
250000000,
260000000,
270000000,
280000000,
290000000,
300000000,
310000000,
320000000,
330000000,
340000000,
350000000,
360000000,
370000000,
],
type=1,
job_type="TimedJob",
job_date_time={
"timeds": [{
"start_date_time": 0,
"end_date_time": 0,
}],
"time_t_zone": "UTC+8",
},
expire_time=0,
status=1)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewWafOwaspWhiteRule(ctx, "example", &tencentcloud.WafOwaspWhiteRuleArgs{
Name: pulumi.String("tf-example"),
Domain: pulumi.String("example.qcloud.com"),
Strategies: tencentcloud.WafOwaspWhiteRuleStrategyArray{
&tencentcloud.WafOwaspWhiteRuleStrategyArgs{
Field: pulumi.String("IP"),
CompareFunc: pulumi.String("ipmatch"),
Content: pulumi.String("1.1.1.1"),
Arg: pulumi.String(""),
CaseNotSensitive: pulumi.Float64(0),
},
},
Ids: pulumi.Float64Array{
pulumi.Float64(10000000),
pulumi.Float64(20000000),
pulumi.Float64(30000000),
pulumi.Float64(40000000),
pulumi.Float64(90000000),
pulumi.Float64(110000000),
pulumi.Float64(190000000),
pulumi.Float64(200000000),
pulumi.Float64(210000000),
pulumi.Float64(220000000),
pulumi.Float64(230000000),
pulumi.Float64(240000000),
pulumi.Float64(250000000),
pulumi.Float64(260000000),
pulumi.Float64(270000000),
pulumi.Float64(280000000),
pulumi.Float64(290000000),
pulumi.Float64(300000000),
pulumi.Float64(310000000),
pulumi.Float64(320000000),
pulumi.Float64(330000000),
pulumi.Float64(340000000),
pulumi.Float64(350000000),
pulumi.Float64(360000000),
pulumi.Float64(370000000),
},
Type: pulumi.Float64(1),
JobType: pulumi.String("TimedJob"),
JobDateTime: &tencentcloud.WafOwaspWhiteRuleJobDateTimeArgs{
Timeds: tencentcloud.WafOwaspWhiteRuleJobDateTimeTimedArray{
&tencentcloud.WafOwaspWhiteRuleJobDateTimeTimedArgs{
StartDateTime: pulumi.Float64(0),
EndDateTime: pulumi.Float64(0),
},
},
TimeTZone: pulumi.String("UTC+8"),
},
ExpireTime: pulumi.Float64(0),
Status: pulumi.Float64(1),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.WafOwaspWhiteRule("example", new()
{
Name = "tf-example",
Domain = "example.qcloud.com",
Strategies = new[]
{
new Tencentcloud.Inputs.WafOwaspWhiteRuleStrategyArgs
{
Field = "IP",
CompareFunc = "ipmatch",
Content = "1.1.1.1",
Arg = "",
CaseNotSensitive = 0,
},
},
Ids = new[]
{
10000000,
20000000,
30000000,
40000000,
90000000,
110000000,
190000000,
200000000,
210000000,
220000000,
230000000,
240000000,
250000000,
260000000,
270000000,
280000000,
290000000,
300000000,
310000000,
320000000,
330000000,
340000000,
350000000,
360000000,
370000000,
},
Type = 1,
JobType = "TimedJob",
JobDateTime = new Tencentcloud.Inputs.WafOwaspWhiteRuleJobDateTimeArgs
{
Timeds = new[]
{
new Tencentcloud.Inputs.WafOwaspWhiteRuleJobDateTimeTimedArgs
{
StartDateTime = 0,
EndDateTime = 0,
},
},
TimeTZone = "UTC+8",
},
ExpireTime = 0,
Status = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.WafOwaspWhiteRule;
import com.pulumi.tencentcloud.WafOwaspWhiteRuleArgs;
import com.pulumi.tencentcloud.inputs.WafOwaspWhiteRuleStrategyArgs;
import com.pulumi.tencentcloud.inputs.WafOwaspWhiteRuleJobDateTimeArgs;
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 WafOwaspWhiteRule("example", WafOwaspWhiteRuleArgs.builder()
.name("tf-example")
.domain("example.qcloud.com")
.strategies(WafOwaspWhiteRuleStrategyArgs.builder()
.field("IP")
.compareFunc("ipmatch")
.content("1.1.1.1")
.arg("")
.caseNotSensitive(0.0)
.build())
.ids(
10000000.0,
20000000.0,
30000000.0,
40000000.0,
90000000.0,
110000000.0,
190000000.0,
200000000.0,
210000000.0,
220000000.0,
230000000.0,
240000000.0,
250000000.0,
260000000.0,
270000000.0,
280000000.0,
290000000.0,
300000000.0,
310000000.0,
320000000.0,
330000000.0,
340000000.0,
350000000.0,
360000000.0,
370000000.0)
.type(1.0)
.jobType("TimedJob")
.jobDateTime(WafOwaspWhiteRuleJobDateTimeArgs.builder()
.timeds(WafOwaspWhiteRuleJobDateTimeTimedArgs.builder()
.startDateTime(0.0)
.endDateTime(0.0)
.build())
.timeTZone("UTC+8")
.build())
.expireTime(0.0)
.status(1.0)
.build());
}
}
resources:
example:
type: tencentcloud:WafOwaspWhiteRule
properties:
name: tf-example
domain: example.qcloud.com
strategies:
- field: IP
compareFunc: ipmatch
content: 1.1.1.1
arg: ""
caseNotSensitive: 0
ids:
- 1e+07
- 2e+07
- 3e+07
- 4e+07
- 9e+07
- 1.1e+08
- 1.9e+08
- 2e+08
- 2.1e+08
- 2.2e+08
- 2.3e+08
- 2.4e+08
- 2.5e+08
- 2.6e+08
- 2.7e+08
- 2.8e+08
- 2.9e+08
- 3e+08
- 3.1e+08
- 3.2e+08
- 3.3e+08
- 3.4e+08
- 3.5e+08
- 3.6e+08
- 3.7e+08
type: 1
jobType: TimedJob
jobDateTime:
timeds:
- startDateTime: 0
endDateTime: 0
timeTZone: UTC+8
expireTime: 0
status: 1
Create WafOwaspWhiteRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WafOwaspWhiteRule(name: string, args: WafOwaspWhiteRuleArgs, opts?: CustomResourceOptions);@overload
def WafOwaspWhiteRule(resource_name: str,
args: WafOwaspWhiteRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WafOwaspWhiteRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
expire_time: Optional[float] = None,
ids: Optional[Sequence[float]] = None,
job_date_time: Optional[WafOwaspWhiteRuleJobDateTimeArgs] = None,
job_type: Optional[str] = None,
strategies: Optional[Sequence[WafOwaspWhiteRuleStrategyArgs]] = None,
type: Optional[float] = None,
name: Optional[str] = None,
status: Optional[float] = None,
waf_owasp_white_rule_id: Optional[str] = None)func NewWafOwaspWhiteRule(ctx *Context, name string, args WafOwaspWhiteRuleArgs, opts ...ResourceOption) (*WafOwaspWhiteRule, error)public WafOwaspWhiteRule(string name, WafOwaspWhiteRuleArgs args, CustomResourceOptions? opts = null)
public WafOwaspWhiteRule(String name, WafOwaspWhiteRuleArgs args)
public WafOwaspWhiteRule(String name, WafOwaspWhiteRuleArgs args, CustomResourceOptions options)
type: tencentcloud:WafOwaspWhiteRule
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 WafOwaspWhiteRuleArgs
- 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 WafOwaspWhiteRuleArgs
- 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 WafOwaspWhiteRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WafOwaspWhiteRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WafOwaspWhiteRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WafOwaspWhiteRule 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 WafOwaspWhiteRule resource accepts the following input properties:
- Domain string
- Domain name.
- Expire
Time double - If the JobDateTime field is not set, this field is used. 0 means permanent, other values indicate the cutoff time for scheduled effect (unit: seconds).
- Ids List<double>
- ID list of allowlisted rules.
- Job
Date WafTime Owasp White Rule Job Date Time - Scheduled task configuration.
- Job
Type string - Rule execution mode: TimedJob indicates scheduled execution. CronJob indicates periodic execution.
- Strategies
List<Waf
Owasp White Rule Strategy> - Rule-Based matching policy list.
- Type double
- Allowlist type. valid values: 0 (allowlisting by specific rule ID), 1 (allowlisting by rule type).
- Name string
- Rule name.
- Status double
- Rule status. valid values: 0 (disabled), 1 (enabled). enabled by default.
- Waf
Owasp stringWhite Rule Id - ID of the resource.
- Domain string
- Domain name.
- Expire
Time float64 - If the JobDateTime field is not set, this field is used. 0 means permanent, other values indicate the cutoff time for scheduled effect (unit: seconds).
- Ids []float64
- ID list of allowlisted rules.
- Job
Date WafTime Owasp White Rule Job Date Time Args - Scheduled task configuration.
- Job
Type string - Rule execution mode: TimedJob indicates scheduled execution. CronJob indicates periodic execution.
- Strategies
[]Waf
Owasp White Rule Strategy Args - Rule-Based matching policy list.
- Type float64
- Allowlist type. valid values: 0 (allowlisting by specific rule ID), 1 (allowlisting by rule type).
- Name string
- Rule name.
- Status float64
- Rule status. valid values: 0 (disabled), 1 (enabled). enabled by default.
- Waf
Owasp stringWhite Rule Id - ID of the resource.
- domain String
- Domain name.
- expire
Time Double - If the JobDateTime field is not set, this field is used. 0 means permanent, other values indicate the cutoff time for scheduled effect (unit: seconds).
- ids List<Double>
- ID list of allowlisted rules.
- job
Date WafTime Owasp White Rule Job Date Time - Scheduled task configuration.
- job
Type String - Rule execution mode: TimedJob indicates scheduled execution. CronJob indicates periodic execution.
- strategies
List<Waf
Owasp White Rule Strategy> - Rule-Based matching policy list.
- type Double
- Allowlist type. valid values: 0 (allowlisting by specific rule ID), 1 (allowlisting by rule type).
- name String
- Rule name.
- status Double
- Rule status. valid values: 0 (disabled), 1 (enabled). enabled by default.
- waf
Owasp StringWhite Rule Id - ID of the resource.
- domain string
- Domain name.
- expire
Time number - If the JobDateTime field is not set, this field is used. 0 means permanent, other values indicate the cutoff time for scheduled effect (unit: seconds).
- ids number[]
- ID list of allowlisted rules.
- job
Date WafTime Owasp White Rule Job Date Time - Scheduled task configuration.
- job
Type string - Rule execution mode: TimedJob indicates scheduled execution. CronJob indicates periodic execution.
- strategies
Waf
Owasp White Rule Strategy[] - Rule-Based matching policy list.
- type number
- Allowlist type. valid values: 0 (allowlisting by specific rule ID), 1 (allowlisting by rule type).
- name string
- Rule name.
- status number
- Rule status. valid values: 0 (disabled), 1 (enabled). enabled by default.
- waf
Owasp stringWhite Rule Id - ID of the resource.
- domain str
- Domain name.
- expire_
time float - If the JobDateTime field is not set, this field is used. 0 means permanent, other values indicate the cutoff time for scheduled effect (unit: seconds).
- ids Sequence[float]
- ID list of allowlisted rules.
- job_
date_ Waftime Owasp White Rule Job Date Time Args - Scheduled task configuration.
- job_
type str - Rule execution mode: TimedJob indicates scheduled execution. CronJob indicates periodic execution.
- strategies
Sequence[Waf
Owasp White Rule Strategy Args] - Rule-Based matching policy list.
- type float
- Allowlist type. valid values: 0 (allowlisting by specific rule ID), 1 (allowlisting by rule type).
- name str
- Rule name.
- status float
- Rule status. valid values: 0 (disabled), 1 (enabled). enabled by default.
- waf_
owasp_ strwhite_ rule_ id - ID of the resource.
- domain String
- Domain name.
- expire
Time Number - If the JobDateTime field is not set, this field is used. 0 means permanent, other values indicate the cutoff time for scheduled effect (unit: seconds).
- ids List<Number>
- ID list of allowlisted rules.
- job
Date Property MapTime - Scheduled task configuration.
- job
Type String - Rule execution mode: TimedJob indicates scheduled execution. CronJob indicates periodic execution.
- strategies List<Property Map>
- Rule-Based matching policy list.
- type Number
- Allowlist type. valid values: 0 (allowlisting by specific rule ID), 1 (allowlisting by rule type).
- name String
- Rule name.
- status Number
- Rule status. valid values: 0 (disabled), 1 (enabled). enabled by default.
- waf
Owasp StringWhite Rule Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WafOwaspWhiteRule resource produces the following output properties:
Look up Existing WafOwaspWhiteRule Resource
Get an existing WafOwaspWhiteRule 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?: WafOwaspWhiteRuleState, opts?: CustomResourceOptions): WafOwaspWhiteRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
expire_time: Optional[float] = None,
ids: Optional[Sequence[float]] = None,
job_date_time: Optional[WafOwaspWhiteRuleJobDateTimeArgs] = None,
job_type: Optional[str] = None,
name: Optional[str] = None,
rule_id: Optional[float] = None,
status: Optional[float] = None,
strategies: Optional[Sequence[WafOwaspWhiteRuleStrategyArgs]] = None,
type: Optional[float] = None,
waf_owasp_white_rule_id: Optional[str] = None) -> WafOwaspWhiteRulefunc GetWafOwaspWhiteRule(ctx *Context, name string, id IDInput, state *WafOwaspWhiteRuleState, opts ...ResourceOption) (*WafOwaspWhiteRule, error)public static WafOwaspWhiteRule Get(string name, Input<string> id, WafOwaspWhiteRuleState? state, CustomResourceOptions? opts = null)public static WafOwaspWhiteRule get(String name, Output<String> id, WafOwaspWhiteRuleState state, CustomResourceOptions options)resources: _: type: tencentcloud:WafOwaspWhiteRule 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 name.
- Expire
Time double - If the JobDateTime field is not set, this field is used. 0 means permanent, other values indicate the cutoff time for scheduled effect (unit: seconds).
- Ids List<double>
- ID list of allowlisted rules.
- Job
Date WafTime Owasp White Rule Job Date Time - Scheduled task configuration.
- Job
Type string - Rule execution mode: TimedJob indicates scheduled execution. CronJob indicates periodic execution.
- Name string
- Rule name.
- Rule
Id double - Rule ID.
- Status double
- Rule status. valid values: 0 (disabled), 1 (enabled). enabled by default.
- Strategies
List<Waf
Owasp White Rule Strategy> - Rule-Based matching policy list.
- Type double
- Allowlist type. valid values: 0 (allowlisting by specific rule ID), 1 (allowlisting by rule type).
- Waf
Owasp stringWhite Rule Id - ID of the resource.
- Domain string
- Domain name.
- Expire
Time float64 - If the JobDateTime field is not set, this field is used. 0 means permanent, other values indicate the cutoff time for scheduled effect (unit: seconds).
- Ids []float64
- ID list of allowlisted rules.
- Job
Date WafTime Owasp White Rule Job Date Time Args - Scheduled task configuration.
- Job
Type string - Rule execution mode: TimedJob indicates scheduled execution. CronJob indicates periodic execution.
- Name string
- Rule name.
- Rule
Id float64 - Rule ID.
- Status float64
- Rule status. valid values: 0 (disabled), 1 (enabled). enabled by default.
- Strategies
[]Waf
Owasp White Rule Strategy Args - Rule-Based matching policy list.
- Type float64
- Allowlist type. valid values: 0 (allowlisting by specific rule ID), 1 (allowlisting by rule type).
- Waf
Owasp stringWhite Rule Id - ID of the resource.
- domain String
- Domain name.
- expire
Time Double - If the JobDateTime field is not set, this field is used. 0 means permanent, other values indicate the cutoff time for scheduled effect (unit: seconds).
- ids List<Double>
- ID list of allowlisted rules.
- job
Date WafTime Owasp White Rule Job Date Time - Scheduled task configuration.
- job
Type String - Rule execution mode: TimedJob indicates scheduled execution. CronJob indicates periodic execution.
- name String
- Rule name.
- rule
Id Double - Rule ID.
- status Double
- Rule status. valid values: 0 (disabled), 1 (enabled). enabled by default.
- strategies
List<Waf
Owasp White Rule Strategy> - Rule-Based matching policy list.
- type Double
- Allowlist type. valid values: 0 (allowlisting by specific rule ID), 1 (allowlisting by rule type).
- waf
Owasp StringWhite Rule Id - ID of the resource.
- domain string
- Domain name.
- expire
Time number - If the JobDateTime field is not set, this field is used. 0 means permanent, other values indicate the cutoff time for scheduled effect (unit: seconds).
- ids number[]
- ID list of allowlisted rules.
- job
Date WafTime Owasp White Rule Job Date Time - Scheduled task configuration.
- job
Type string - Rule execution mode: TimedJob indicates scheduled execution. CronJob indicates periodic execution.
- name string
- Rule name.
- rule
Id number - Rule ID.
- status number
- Rule status. valid values: 0 (disabled), 1 (enabled). enabled by default.
- strategies
Waf
Owasp White Rule Strategy[] - Rule-Based matching policy list.
- type number
- Allowlist type. valid values: 0 (allowlisting by specific rule ID), 1 (allowlisting by rule type).
- waf
Owasp stringWhite Rule Id - ID of the resource.
- domain str
- Domain name.
- expire_
time float - If the JobDateTime field is not set, this field is used. 0 means permanent, other values indicate the cutoff time for scheduled effect (unit: seconds).
- ids Sequence[float]
- ID list of allowlisted rules.
- job_
date_ Waftime Owasp White Rule Job Date Time Args - Scheduled task configuration.
- job_
type str - Rule execution mode: TimedJob indicates scheduled execution. CronJob indicates periodic execution.
- name str
- Rule name.
- rule_
id float - Rule ID.
- status float
- Rule status. valid values: 0 (disabled), 1 (enabled). enabled by default.
- strategies
Sequence[Waf
Owasp White Rule Strategy Args] - Rule-Based matching policy list.
- type float
- Allowlist type. valid values: 0 (allowlisting by specific rule ID), 1 (allowlisting by rule type).
- waf_
owasp_ strwhite_ rule_ id - ID of the resource.
- domain String
- Domain name.
- expire
Time Number - If the JobDateTime field is not set, this field is used. 0 means permanent, other values indicate the cutoff time for scheduled effect (unit: seconds).
- ids List<Number>
- ID list of allowlisted rules.
- job
Date Property MapTime - Scheduled task configuration.
- job
Type String - Rule execution mode: TimedJob indicates scheduled execution. CronJob indicates periodic execution.
- name String
- Rule name.
- rule
Id Number - Rule ID.
- status Number
- Rule status. valid values: 0 (disabled), 1 (enabled). enabled by default.
- strategies List<Property Map>
- Rule-Based matching policy list.
- type Number
- Allowlist type. valid values: 0 (allowlisting by specific rule ID), 1 (allowlisting by rule type).
- waf
Owasp StringWhite Rule Id - ID of the resource.
Supporting Types
WafOwaspWhiteRuleJobDateTime, WafOwaspWhiteRuleJobDateTimeArgs
- Crons
List<Waf
Owasp White Rule Job Date Time Cron> - Time parameter for periodic execution.
- Time
TZone string - Specifies the time zone.
- Timeds
List<Waf
Owasp White Rule Job Date Time Timed> - Time parameter for scheduled execution.
- Crons
[]Waf
Owasp White Rule Job Date Time Cron - Time parameter for periodic execution.
- Time
TZone string - Specifies the time zone.
- Timeds
[]Waf
Owasp White Rule Job Date Time Timed - Time parameter for scheduled execution.
- crons
List<Waf
Owasp White Rule Job Date Time Cron> - Time parameter for periodic execution.
- time
TZone String - Specifies the time zone.
- timeds
List<Waf
Owasp White Rule Job Date Time Timed> - Time parameter for scheduled execution.
- crons
Waf
Owasp White Rule Job Date Time Cron[] - Time parameter for periodic execution.
- time
TZone string - Specifies the time zone.
- timeds
Waf
Owasp White Rule Job Date Time Timed[] - Time parameter for scheduled execution.
- crons
Sequence[Waf
Owasp White Rule Job Date Time Cron] - Time parameter for periodic execution.
- time_
t_ strzone - Specifies the time zone.
- timeds
Sequence[Waf
Owasp White Rule Job Date Time Timed] - Time parameter for scheduled execution.
- crons List<Property Map>
- Time parameter for periodic execution.
- time
TZone String - Specifies the time zone.
- timeds List<Property Map>
- Time parameter for scheduled execution.
WafOwaspWhiteRuleJobDateTimeCron, WafOwaspWhiteRuleJobDateTimeCronArgs
- days Sequence[float]
- Execution day of each month.
- end_
time str - End time.
- start_
time str - Start time.
- w_
days Sequence[float] - Execution day of each week.
WafOwaspWhiteRuleJobDateTimeTimed, WafOwaspWhiteRuleJobDateTimeTimedArgs
- 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.
WafOwaspWhiteRuleStrategy, WafOwaspWhiteRuleStrategyArgs
- Arg string
Specifies the matching parameter.
Configuration parameters are divided into two data types: parameter not supported and support parameters. When the match field is one of the following four, the matching parameter can be entered, otherwise not supported. GET (get parameter value). POST (post parameter value). ARGS_COOKIE (COOKIE parameter value). ARGS_HEADER (HEADER parameter value).
- Compare
Func string Specifies the logic symbol.
Logical symbols are divided into the following types:. Empty (content is empty). null (not found). Eq (equal to). neq (not equal to). contains (contain). ncontains (do not contain). strprefix (prefix matching). strsuffix (suffix matching). Len_eq (length equals to). Len_gt (length greater than). Len_lt (length less than). ipmatch (belong). ipnmatch (not_in). numgt (value greater than). NumValue smaller than]. Value equal to. numneq (value not equal to). numle (less than or equal to). numge (value is greater than or equal to). geo_in (IP geographic belong). geo_not_in (IP geographic not_in). Specifies different logical operators for matching fields. for details, see the matching field table above.
- Content string
Specifies the match content.
Currently, when the match field is COOKIE (COOKIE), match content is not required. all others are needed.
- Field string
Specifies the matching field.
Different matching fields result in different matching parameters, logical operators, and matching contents. the details are as follows:.
- Case
Not doubleSensitive - Case-Sensitive. Case-Insensitive.
- Arg string
Specifies the matching parameter.
Configuration parameters are divided into two data types: parameter not supported and support parameters. When the match field is one of the following four, the matching parameter can be entered, otherwise not supported. GET (get parameter value). POST (post parameter value). ARGS_COOKIE (COOKIE parameter value). ARGS_HEADER (HEADER parameter value).
- Compare
Func string Specifies the logic symbol.
Logical symbols are divided into the following types:. Empty (content is empty). null (not found). Eq (equal to). neq (not equal to). contains (contain). ncontains (do not contain). strprefix (prefix matching). strsuffix (suffix matching). Len_eq (length equals to). Len_gt (length greater than). Len_lt (length less than). ipmatch (belong). ipnmatch (not_in). numgt (value greater than). NumValue smaller than]. Value equal to. numneq (value not equal to). numle (less than or equal to). numge (value is greater than or equal to). geo_in (IP geographic belong). geo_not_in (IP geographic not_in). Specifies different logical operators for matching fields. for details, see the matching field table above.
- Content string
Specifies the match content.
Currently, when the match field is COOKIE (COOKIE), match content is not required. all others are needed.
- Field string
Specifies the matching field.
Different matching fields result in different matching parameters, logical operators, and matching contents. the details are as follows:.
- Case
Not float64Sensitive - Case-Sensitive. Case-Insensitive.
- arg String
Specifies the matching parameter.
Configuration parameters are divided into two data types: parameter not supported and support parameters. When the match field is one of the following four, the matching parameter can be entered, otherwise not supported. GET (get parameter value). POST (post parameter value). ARGS_COOKIE (COOKIE parameter value). ARGS_HEADER (HEADER parameter value).
- compare
Func String Specifies the logic symbol.
Logical symbols are divided into the following types:. Empty (content is empty). null (not found). Eq (equal to). neq (not equal to). contains (contain). ncontains (do not contain). strprefix (prefix matching). strsuffix (suffix matching). Len_eq (length equals to). Len_gt (length greater than). Len_lt (length less than). ipmatch (belong). ipnmatch (not_in). numgt (value greater than). NumValue smaller than]. Value equal to. numneq (value not equal to). numle (less than or equal to). numge (value is greater than or equal to). geo_in (IP geographic belong). geo_not_in (IP geographic not_in). Specifies different logical operators for matching fields. for details, see the matching field table above.
- content String
Specifies the match content.
Currently, when the match field is COOKIE (COOKIE), match content is not required. all others are needed.
- field String
Specifies the matching field.
Different matching fields result in different matching parameters, logical operators, and matching contents. the details are as follows:.
- case
Not DoubleSensitive - Case-Sensitive. Case-Insensitive.
- arg string
Specifies the matching parameter.
Configuration parameters are divided into two data types: parameter not supported and support parameters. When the match field is one of the following four, the matching parameter can be entered, otherwise not supported. GET (get parameter value). POST (post parameter value). ARGS_COOKIE (COOKIE parameter value). ARGS_HEADER (HEADER parameter value).
- compare
Func string Specifies the logic symbol.
Logical symbols are divided into the following types:. Empty (content is empty). null (not found). Eq (equal to). neq (not equal to). contains (contain). ncontains (do not contain). strprefix (prefix matching). strsuffix (suffix matching). Len_eq (length equals to). Len_gt (length greater than). Len_lt (length less than). ipmatch (belong). ipnmatch (not_in). numgt (value greater than). NumValue smaller than]. Value equal to. numneq (value not equal to). numle (less than or equal to). numge (value is greater than or equal to). geo_in (IP geographic belong). geo_not_in (IP geographic not_in). Specifies different logical operators for matching fields. for details, see the matching field table above.
- content string
Specifies the match content.
Currently, when the match field is COOKIE (COOKIE), match content is not required. all others are needed.
- field string
Specifies the matching field.
Different matching fields result in different matching parameters, logical operators, and matching contents. the details are as follows:.
- case
Not numberSensitive - Case-Sensitive. Case-Insensitive.
- arg str
Specifies the matching parameter.
Configuration parameters are divided into two data types: parameter not supported and support parameters. When the match field is one of the following four, the matching parameter can be entered, otherwise not supported. GET (get parameter value). POST (post parameter value). ARGS_COOKIE (COOKIE parameter value). ARGS_HEADER (HEADER parameter value).
- compare_
func str Specifies the logic symbol.
Logical symbols are divided into the following types:. Empty (content is empty). null (not found). Eq (equal to). neq (not equal to). contains (contain). ncontains (do not contain). strprefix (prefix matching). strsuffix (suffix matching). Len_eq (length equals to). Len_gt (length greater than). Len_lt (length less than). ipmatch (belong). ipnmatch (not_in). numgt (value greater than). NumValue smaller than]. Value equal to. numneq (value not equal to). numle (less than or equal to). numge (value is greater than or equal to). geo_in (IP geographic belong). geo_not_in (IP geographic not_in). Specifies different logical operators for matching fields. for details, see the matching field table above.
- content str
Specifies the match content.
Currently, when the match field is COOKIE (COOKIE), match content is not required. all others are needed.
- field str
Specifies the matching field.
Different matching fields result in different matching parameters, logical operators, and matching contents. the details are as follows:.
- case_
not_ floatsensitive - Case-Sensitive. Case-Insensitive.
- arg String
Specifies the matching parameter.
Configuration parameters are divided into two data types: parameter not supported and support parameters. When the match field is one of the following four, the matching parameter can be entered, otherwise not supported. GET (get parameter value). POST (post parameter value). ARGS_COOKIE (COOKIE parameter value). ARGS_HEADER (HEADER parameter value).
- compare
Func String Specifies the logic symbol.
Logical symbols are divided into the following types:. Empty (content is empty). null (not found). Eq (equal to). neq (not equal to). contains (contain). ncontains (do not contain). strprefix (prefix matching). strsuffix (suffix matching). Len_eq (length equals to). Len_gt (length greater than). Len_lt (length less than). ipmatch (belong). ipnmatch (not_in). numgt (value greater than). NumValue smaller than]. Value equal to. numneq (value not equal to). numle (less than or equal to). numge (value is greater than or equal to). geo_in (IP geographic belong). geo_not_in (IP geographic not_in). Specifies different logical operators for matching fields. for details, see the matching field table above.
- content String
Specifies the match content.
Currently, when the match field is COOKIE (COOKIE), match content is not required. all others are needed.
- field String
Specifies the matching field.
Different matching fields result in different matching parameters, logical operators, and matching contents. the details are as follows:.
- case
Not NumberSensitive - Case-Sensitive. Case-Insensitive.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
