opentelekomcloud.WafDedicatedCcRuleV1
Explore with Pulumi AI
Up-to-date reference of API arguments for WAF dedicated CC rule you can get at documentation portal.
Manages a WAF Dedicated CC Attack Protection Rule resource within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const policy1 = new opentelekomcloud.WafDedicatedPolicyV1("policy1", {});
const rule1 = new opentelekomcloud.WafDedicatedCcRuleV1("rule1", {
    policyId: policy1.wafDedicatedPolicyV1Id,
    mode: 0,
    url: "/abc1",
    limitNum: 10,
    limitPeriod: 60,
    lockTime: 10,
    tagType: "cookie",
    tagIndex: "sessionid",
    actions: [{
        category: "block",
        contentType: "application/json",
        content: "{\"error\":\"forbidden\"}",
    }],
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
policy1 = opentelekomcloud.WafDedicatedPolicyV1("policy1")
rule1 = opentelekomcloud.WafDedicatedCcRuleV1("rule1",
    policy_id=policy1.waf_dedicated_policy_v1_id,
    mode=0,
    url="/abc1",
    limit_num=10,
    limit_period=60,
    lock_time=10,
    tag_type="cookie",
    tag_index="sessionid",
    actions=[{
        "category": "block",
        "content_type": "application/json",
        "content": "{\"error\":\"forbidden\"}",
    }])
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		policy1, err := opentelekomcloud.NewWafDedicatedPolicyV1(ctx, "policy1", nil)
		if err != nil {
			return err
		}
		_, err = opentelekomcloud.NewWafDedicatedCcRuleV1(ctx, "rule1", &opentelekomcloud.WafDedicatedCcRuleV1Args{
			PolicyId:    policy1.WafDedicatedPolicyV1Id,
			Mode:        pulumi.Float64(0),
			Url:         pulumi.String("/abc1"),
			LimitNum:    pulumi.Float64(10),
			LimitPeriod: pulumi.Float64(60),
			LockTime:    pulumi.Float64(10),
			TagType:     pulumi.String("cookie"),
			TagIndex:    pulumi.String("sessionid"),
			Actions: opentelekomcloud.WafDedicatedCcRuleV1ActionArray{
				&opentelekomcloud.WafDedicatedCcRuleV1ActionArgs{
					Category:    pulumi.String("block"),
					ContentType: pulumi.String("application/json"),
					Content:     pulumi.String("{\"error\":\"forbidden\"}"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() => 
{
    var policy1 = new Opentelekomcloud.WafDedicatedPolicyV1("policy1");
    var rule1 = new Opentelekomcloud.WafDedicatedCcRuleV1("rule1", new()
    {
        PolicyId = policy1.WafDedicatedPolicyV1Id,
        Mode = 0,
        Url = "/abc1",
        LimitNum = 10,
        LimitPeriod = 60,
        LockTime = 10,
        TagType = "cookie",
        TagIndex = "sessionid",
        Actions = new[]
        {
            new Opentelekomcloud.Inputs.WafDedicatedCcRuleV1ActionArgs
            {
                Category = "block",
                ContentType = "application/json",
                Content = "{\"error\":\"forbidden\"}",
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.WafDedicatedPolicyV1;
import com.pulumi.opentelekomcloud.WafDedicatedCcRuleV1;
import com.pulumi.opentelekomcloud.WafDedicatedCcRuleV1Args;
import com.pulumi.opentelekomcloud.inputs.WafDedicatedCcRuleV1ActionArgs;
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 policy1 = new WafDedicatedPolicyV1("policy1");
        var rule1 = new WafDedicatedCcRuleV1("rule1", WafDedicatedCcRuleV1Args.builder()
            .policyId(policy1.wafDedicatedPolicyV1Id())
            .mode(0)
            .url("/abc1")
            .limitNum(10)
            .limitPeriod(60)
            .lockTime(10)
            .tagType("cookie")
            .tagIndex("sessionid")
            .actions(WafDedicatedCcRuleV1ActionArgs.builder()
                .category("block")
                .contentType("application/json")
                .content("{\"error\":\"forbidden\"}")
                .build())
            .build());
    }
}
resources:
  policy1:
    type: opentelekomcloud:WafDedicatedPolicyV1
  rule1:
    type: opentelekomcloud:WafDedicatedCcRuleV1
    properties:
      policyId: ${policy1.wafDedicatedPolicyV1Id}
      mode: 0
      url: /abc1
      limitNum: 10
      limitPeriod: 60
      lockTime: 10
      tagType: cookie
      tagIndex: sessionid
      actions:
        - category: block
          contentType: application/json
          content: '{"error":"forbidden"}'
Create WafDedicatedCcRuleV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WafDedicatedCcRuleV1(name: string, args: WafDedicatedCcRuleV1Args, opts?: CustomResourceOptions);@overload
def WafDedicatedCcRuleV1(resource_name: str,
                         args: WafDedicatedCcRuleV1Args,
                         opts: Optional[ResourceOptions] = None)
@overload
def WafDedicatedCcRuleV1(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         policy_id: Optional[str] = None,
                         url: Optional[str] = None,
                         tag_type: Optional[str] = None,
                         limit_num: Optional[float] = None,
                         limit_period: Optional[float] = None,
                         actions: Optional[Sequence[WafDedicatedCcRuleV1ActionArgs]] = None,
                         mode: Optional[float] = None,
                         tag_category: Optional[str] = None,
                         lock_time: Optional[float] = None,
                         tag_contents: Optional[Sequence[str]] = None,
                         tag_index: Optional[str] = None,
                         description: Optional[str] = None,
                         timeouts: Optional[WafDedicatedCcRuleV1TimeoutsArgs] = None,
                         unlock_num: Optional[float] = None,
                         conditions: Optional[Sequence[WafDedicatedCcRuleV1ConditionArgs]] = None,
                         waf_dedicated_cc_rule_v1_id: Optional[str] = None)func NewWafDedicatedCcRuleV1(ctx *Context, name string, args WafDedicatedCcRuleV1Args, opts ...ResourceOption) (*WafDedicatedCcRuleV1, error)public WafDedicatedCcRuleV1(string name, WafDedicatedCcRuleV1Args args, CustomResourceOptions? opts = null)
public WafDedicatedCcRuleV1(String name, WafDedicatedCcRuleV1Args args)
public WafDedicatedCcRuleV1(String name, WafDedicatedCcRuleV1Args args, CustomResourceOptions options)
type: opentelekomcloud:WafDedicatedCcRuleV1
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 WafDedicatedCcRuleV1Args
- 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 WafDedicatedCcRuleV1Args
- 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 WafDedicatedCcRuleV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WafDedicatedCcRuleV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WafDedicatedCcRuleV1Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var wafDedicatedCcRuleV1Resource = new Opentelekomcloud.WafDedicatedCcRuleV1("wafDedicatedCcRuleV1Resource", new()
{
    PolicyId = "string",
    Url = "string",
    TagType = "string",
    LimitNum = 0,
    LimitPeriod = 0,
    Actions = new[]
    {
        new Opentelekomcloud.Inputs.WafDedicatedCcRuleV1ActionArgs
        {
            Category = "string",
            Content = "string",
            ContentType = "string",
        },
    },
    Mode = 0,
    TagCategory = "string",
    LockTime = 0,
    TagContents = new[]
    {
        "string",
    },
    TagIndex = "string",
    Description = "string",
    Timeouts = new Opentelekomcloud.Inputs.WafDedicatedCcRuleV1TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
    },
    UnlockNum = 0,
    Conditions = new[]
    {
        new Opentelekomcloud.Inputs.WafDedicatedCcRuleV1ConditionArgs
        {
            Category = "string",
            LogicOperation = "string",
            Contents = new[]
            {
                "string",
            },
            Index = "string",
            ValueListId = "string",
        },
    },
    WafDedicatedCcRuleV1Id = "string",
});
example, err := opentelekomcloud.NewWafDedicatedCcRuleV1(ctx, "wafDedicatedCcRuleV1Resource", &opentelekomcloud.WafDedicatedCcRuleV1Args{
PolicyId: pulumi.String("string"),
Url: pulumi.String("string"),
TagType: pulumi.String("string"),
LimitNum: pulumi.Float64(0),
LimitPeriod: pulumi.Float64(0),
Actions: .WafDedicatedCcRuleV1ActionArray{
&.WafDedicatedCcRuleV1ActionArgs{
Category: pulumi.String("string"),
Content: pulumi.String("string"),
ContentType: pulumi.String("string"),
},
},
Mode: pulumi.Float64(0),
TagCategory: pulumi.String("string"),
LockTime: pulumi.Float64(0),
TagContents: pulumi.StringArray{
pulumi.String("string"),
},
TagIndex: pulumi.String("string"),
Description: pulumi.String("string"),
Timeouts: &.WafDedicatedCcRuleV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
UnlockNum: pulumi.Float64(0),
Conditions: .WafDedicatedCcRuleV1ConditionArray{
&.WafDedicatedCcRuleV1ConditionArgs{
Category: pulumi.String("string"),
LogicOperation: pulumi.String("string"),
Contents: pulumi.StringArray{
pulumi.String("string"),
},
Index: pulumi.String("string"),
ValueListId: pulumi.String("string"),
},
},
WafDedicatedCcRuleV1Id: pulumi.String("string"),
})
var wafDedicatedCcRuleV1Resource = new WafDedicatedCcRuleV1("wafDedicatedCcRuleV1Resource", WafDedicatedCcRuleV1Args.builder()
    .policyId("string")
    .url("string")
    .tagType("string")
    .limitNum(0)
    .limitPeriod(0)
    .actions(WafDedicatedCcRuleV1ActionArgs.builder()
        .category("string")
        .content("string")
        .contentType("string")
        .build())
    .mode(0)
    .tagCategory("string")
    .lockTime(0)
    .tagContents("string")
    .tagIndex("string")
    .description("string")
    .timeouts(WafDedicatedCcRuleV1TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .build())
    .unlockNum(0)
    .conditions(WafDedicatedCcRuleV1ConditionArgs.builder()
        .category("string")
        .logicOperation("string")
        .contents("string")
        .index("string")
        .valueListId("string")
        .build())
    .wafDedicatedCcRuleV1Id("string")
    .build());
waf_dedicated_cc_rule_v1_resource = opentelekomcloud.WafDedicatedCcRuleV1("wafDedicatedCcRuleV1Resource",
    policy_id="string",
    url="string",
    tag_type="string",
    limit_num=0,
    limit_period=0,
    actions=[{
        "category": "string",
        "content": "string",
        "content_type": "string",
    }],
    mode=0,
    tag_category="string",
    lock_time=0,
    tag_contents=["string"],
    tag_index="string",
    description="string",
    timeouts={
        "create": "string",
        "delete": "string",
    },
    unlock_num=0,
    conditions=[{
        "category": "string",
        "logic_operation": "string",
        "contents": ["string"],
        "index": "string",
        "value_list_id": "string",
    }],
    waf_dedicated_cc_rule_v1_id="string")
const wafDedicatedCcRuleV1Resource = new opentelekomcloud.WafDedicatedCcRuleV1("wafDedicatedCcRuleV1Resource", {
    policyId: "string",
    url: "string",
    tagType: "string",
    limitNum: 0,
    limitPeriod: 0,
    actions: [{
        category: "string",
        content: "string",
        contentType: "string",
    }],
    mode: 0,
    tagCategory: "string",
    lockTime: 0,
    tagContents: ["string"],
    tagIndex: "string",
    description: "string",
    timeouts: {
        create: "string",
        "delete": "string",
    },
    unlockNum: 0,
    conditions: [{
        category: "string",
        logicOperation: "string",
        contents: ["string"],
        index: "string",
        valueListId: "string",
    }],
    wafDedicatedCcRuleV1Id: "string",
});
type: opentelekomcloud:WafDedicatedCcRuleV1
properties:
    actions:
        - category: string
          content: string
          contentType: string
    conditions:
        - category: string
          contents:
            - string
          index: string
          logicOperation: string
          valueListId: string
    description: string
    limitNum: 0
    limitPeriod: 0
    lockTime: 0
    mode: 0
    policyId: string
    tagCategory: string
    tagContents:
        - string
    tagIndex: string
    tagType: string
    timeouts:
        create: string
        delete: string
    unlockNum: 0
    url: string
    wafDedicatedCcRuleV1Id: string
WafDedicatedCcRuleV1 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 WafDedicatedCcRuleV1 resource accepts the following input properties:
- Actions
List<WafDedicated Cc Rule V1Action> 
- Protection action to take if the number of requests reaches the upper limit. Changing this creates a new rule.
The conditionsblock supports:
- LimitNum double
- Rate limit frequency based on the number of requests. The value ranges from 1to2,147,483,647. Changing this creates a new rule.
- LimitPeriod double
- Rate limit period, in seconds. The value ranges from 1to3,600. Changing this creates a new rule.
- Mode double
- Protection mode of the CC attack protection rule. Changing this creates a new rule. Valid Options are:
- PolicyId string
- The WAF policy ID. Changing this creates a new rule.
- TagType string
- Rate limit mode. Changing this creates a new rule. Valid Options are:
- Url string
- Path to be protected in the CC attack protection rule. Changing this creates a new rule.
- Conditions
List<WafDedicated Cc Rule V1Condition> 
- Rate limit conditions of the CC protection rule. Changing this creates a new rule.
The conditionsblock supports:
- Description string
- Rule description. Changing this creates a new rule.
- LockTime double
- Block duration, in seconds. The value ranges from 0to65,535. Specifies the period within which access is blocked. An error page is displayed in this period. Changing this creates a new rule.
- TagCategory string
- Specifies the category. The value is referer. Changing this creates a new rule.
- TagContents List<string>
- Specifies the category content. Changing this creates a new rule.
- TagIndex string
- User identifier. Changing this creates a new rule.
If tag_typeis set tocookie, this parameter indicates cookie name. Iftag_typeis set toheader, this parameter indicates header name.
- Timeouts
WafDedicated Cc Rule V1Timeouts 
- UnlockNum double
- Allowable frequency based on the number of requests. The value ranges from 0to2,147,483,647. This parameter is required only when the protectionactiontype isdynamic_block. Changing this creates a new rule.
- WafDedicated stringCc Rule V1Id 
- ID of the rule.
- Actions
[]WafDedicated Cc Rule V1Action Args 
- Protection action to take if the number of requests reaches the upper limit. Changing this creates a new rule.
The conditionsblock supports:
- LimitNum float64
- Rate limit frequency based on the number of requests. The value ranges from 1to2,147,483,647. Changing this creates a new rule.
- LimitPeriod float64
- Rate limit period, in seconds. The value ranges from 1to3,600. Changing this creates a new rule.
- Mode float64
- Protection mode of the CC attack protection rule. Changing this creates a new rule. Valid Options are:
- PolicyId string
- The WAF policy ID. Changing this creates a new rule.
- TagType string
- Rate limit mode. Changing this creates a new rule. Valid Options are:
- Url string
- Path to be protected in the CC attack protection rule. Changing this creates a new rule.
- Conditions
[]WafDedicated Cc Rule V1Condition Args 
- Rate limit conditions of the CC protection rule. Changing this creates a new rule.
The conditionsblock supports:
- Description string
- Rule description. Changing this creates a new rule.
- LockTime float64
- Block duration, in seconds. The value ranges from 0to65,535. Specifies the period within which access is blocked. An error page is displayed in this period. Changing this creates a new rule.
- TagCategory string
- Specifies the category. The value is referer. Changing this creates a new rule.
- TagContents []string
- Specifies the category content. Changing this creates a new rule.
- TagIndex string
- User identifier. Changing this creates a new rule.
If tag_typeis set tocookie, this parameter indicates cookie name. Iftag_typeis set toheader, this parameter indicates header name.
- Timeouts
WafDedicated Cc Rule V1Timeouts Args 
- UnlockNum float64
- Allowable frequency based on the number of requests. The value ranges from 0to2,147,483,647. This parameter is required only when the protectionactiontype isdynamic_block. Changing this creates a new rule.
- WafDedicated stringCc Rule V1Id 
- ID of the rule.
- actions
List<WafDedicated Cc Rule V1Action> 
- Protection action to take if the number of requests reaches the upper limit. Changing this creates a new rule.
The conditionsblock supports:
- limitNum Double
- Rate limit frequency based on the number of requests. The value ranges from 1to2,147,483,647. Changing this creates a new rule.
- limitPeriod Double
- Rate limit period, in seconds. The value ranges from 1to3,600. Changing this creates a new rule.
- mode Double
- Protection mode of the CC attack protection rule. Changing this creates a new rule. Valid Options are:
- policyId String
- The WAF policy ID. Changing this creates a new rule.
- tagType String
- Rate limit mode. Changing this creates a new rule. Valid Options are:
- url String
- Path to be protected in the CC attack protection rule. Changing this creates a new rule.
- conditions
List<WafDedicated Cc Rule V1Condition> 
- Rate limit conditions of the CC protection rule. Changing this creates a new rule.
The conditionsblock supports:
- description String
- Rule description. Changing this creates a new rule.
- lockTime Double
- Block duration, in seconds. The value ranges from 0to65,535. Specifies the period within which access is blocked. An error page is displayed in this period. Changing this creates a new rule.
- tagCategory String
- Specifies the category. The value is referer. Changing this creates a new rule.
- tagContents List<String>
- Specifies the category content. Changing this creates a new rule.
- tagIndex String
- User identifier. Changing this creates a new rule.
If tag_typeis set tocookie, this parameter indicates cookie name. Iftag_typeis set toheader, this parameter indicates header name.
- timeouts
WafDedicated Cc Rule V1Timeouts 
- unlockNum Double
- Allowable frequency based on the number of requests. The value ranges from 0to2,147,483,647. This parameter is required only when the protectionactiontype isdynamic_block. Changing this creates a new rule.
- wafDedicated StringCc Rule V1Id 
- ID of the rule.
- actions
WafDedicated Cc Rule V1Action[] 
- Protection action to take if the number of requests reaches the upper limit. Changing this creates a new rule.
The conditionsblock supports:
- limitNum number
- Rate limit frequency based on the number of requests. The value ranges from 1to2,147,483,647. Changing this creates a new rule.
- limitPeriod number
- Rate limit period, in seconds. The value ranges from 1to3,600. Changing this creates a new rule.
- mode number
- Protection mode of the CC attack protection rule. Changing this creates a new rule. Valid Options are:
- policyId string
- The WAF policy ID. Changing this creates a new rule.
- tagType string
- Rate limit mode. Changing this creates a new rule. Valid Options are:
- url string
- Path to be protected in the CC attack protection rule. Changing this creates a new rule.
- conditions
WafDedicated Cc Rule V1Condition[] 
- Rate limit conditions of the CC protection rule. Changing this creates a new rule.
The conditionsblock supports:
- description string
- Rule description. Changing this creates a new rule.
- lockTime number
- Block duration, in seconds. The value ranges from 0to65,535. Specifies the period within which access is blocked. An error page is displayed in this period. Changing this creates a new rule.
- tagCategory string
- Specifies the category. The value is referer. Changing this creates a new rule.
- tagContents string[]
- Specifies the category content. Changing this creates a new rule.
- tagIndex string
- User identifier. Changing this creates a new rule.
If tag_typeis set tocookie, this parameter indicates cookie name. Iftag_typeis set toheader, this parameter indicates header name.
- timeouts
WafDedicated Cc Rule V1Timeouts 
- unlockNum number
- Allowable frequency based on the number of requests. The value ranges from 0to2,147,483,647. This parameter is required only when the protectionactiontype isdynamic_block. Changing this creates a new rule.
- wafDedicated stringCc Rule V1Id 
- ID of the rule.
- actions
Sequence[WafDedicated Cc Rule V1Action Args] 
- Protection action to take if the number of requests reaches the upper limit. Changing this creates a new rule.
The conditionsblock supports:
- limit_num float
- Rate limit frequency based on the number of requests. The value ranges from 1to2,147,483,647. Changing this creates a new rule.
- limit_period float
- Rate limit period, in seconds. The value ranges from 1to3,600. Changing this creates a new rule.
- mode float
- Protection mode of the CC attack protection rule. Changing this creates a new rule. Valid Options are:
- policy_id str
- The WAF policy ID. Changing this creates a new rule.
- tag_type str
- Rate limit mode. Changing this creates a new rule. Valid Options are:
- url str
- Path to be protected in the CC attack protection rule. Changing this creates a new rule.
- conditions
Sequence[WafDedicated Cc Rule V1Condition Args] 
- Rate limit conditions of the CC protection rule. Changing this creates a new rule.
The conditionsblock supports:
- description str
- Rule description. Changing this creates a new rule.
- lock_time float
- Block duration, in seconds. The value ranges from 0to65,535. Specifies the period within which access is blocked. An error page is displayed in this period. Changing this creates a new rule.
- tag_category str
- Specifies the category. The value is referer. Changing this creates a new rule.
- tag_contents Sequence[str]
- Specifies the category content. Changing this creates a new rule.
- tag_index str
- User identifier. Changing this creates a new rule.
If tag_typeis set tocookie, this parameter indicates cookie name. Iftag_typeis set toheader, this parameter indicates header name.
- timeouts
WafDedicated Cc Rule V1Timeouts Args 
- unlock_num float
- Allowable frequency based on the number of requests. The value ranges from 0to2,147,483,647. This parameter is required only when the protectionactiontype isdynamic_block. Changing this creates a new rule.
- waf_dedicated_ strcc_ rule_ v1_ id 
- ID of the rule.
- actions List<Property Map>
- Protection action to take if the number of requests reaches the upper limit. Changing this creates a new rule.
The conditionsblock supports:
- limitNum Number
- Rate limit frequency based on the number of requests. The value ranges from 1to2,147,483,647. Changing this creates a new rule.
- limitPeriod Number
- Rate limit period, in seconds. The value ranges from 1to3,600. Changing this creates a new rule.
- mode Number
- Protection mode of the CC attack protection rule. Changing this creates a new rule. Valid Options are:
- policyId String
- The WAF policy ID. Changing this creates a new rule.
- tagType String
- Rate limit mode. Changing this creates a new rule. Valid Options are:
- url String
- Path to be protected in the CC attack protection rule. Changing this creates a new rule.
- conditions List<Property Map>
- Rate limit conditions of the CC protection rule. Changing this creates a new rule.
The conditionsblock supports:
- description String
- Rule description. Changing this creates a new rule.
- lockTime Number
- Block duration, in seconds. The value ranges from 0to65,535. Specifies the period within which access is blocked. An error page is displayed in this period. Changing this creates a new rule.
- tagCategory String
- Specifies the category. The value is referer. Changing this creates a new rule.
- tagContents List<String>
- Specifies the category content. Changing this creates a new rule.
- tagIndex String
- User identifier. Changing this creates a new rule.
If tag_typeis set tocookie, this parameter indicates cookie name. Iftag_typeis set toheader, this parameter indicates header name.
- timeouts Property Map
- unlockNum Number
- Allowable frequency based on the number of requests. The value ranges from 0to2,147,483,647. This parameter is required only when the protectionactiontype isdynamic_block. Changing this creates a new rule.
- wafDedicated StringCc Rule V1Id 
- ID of the rule.
Outputs
All input properties are implicitly available as output properties. Additionally, the WafDedicatedCcRuleV1 resource produces the following output properties:
- created_at float
- Timestamp the rule is created.
- id str
- The provider-assigned unique ID for this managed resource.
- status float
- Rule status.
Look up Existing WafDedicatedCcRuleV1 Resource
Get an existing WafDedicatedCcRuleV1 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?: WafDedicatedCcRuleV1State, opts?: CustomResourceOptions): WafDedicatedCcRuleV1@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        actions: Optional[Sequence[WafDedicatedCcRuleV1ActionArgs]] = None,
        conditions: Optional[Sequence[WafDedicatedCcRuleV1ConditionArgs]] = None,
        created_at: Optional[float] = None,
        description: Optional[str] = None,
        limit_num: Optional[float] = None,
        limit_period: Optional[float] = None,
        lock_time: Optional[float] = None,
        mode: Optional[float] = None,
        policy_id: Optional[str] = None,
        status: Optional[float] = None,
        tag_category: Optional[str] = None,
        tag_contents: Optional[Sequence[str]] = None,
        tag_index: Optional[str] = None,
        tag_type: Optional[str] = None,
        timeouts: Optional[WafDedicatedCcRuleV1TimeoutsArgs] = None,
        unlock_num: Optional[float] = None,
        url: Optional[str] = None,
        waf_dedicated_cc_rule_v1_id: Optional[str] = None) -> WafDedicatedCcRuleV1func GetWafDedicatedCcRuleV1(ctx *Context, name string, id IDInput, state *WafDedicatedCcRuleV1State, opts ...ResourceOption) (*WafDedicatedCcRuleV1, error)public static WafDedicatedCcRuleV1 Get(string name, Input<string> id, WafDedicatedCcRuleV1State? state, CustomResourceOptions? opts = null)public static WafDedicatedCcRuleV1 get(String name, Output<String> id, WafDedicatedCcRuleV1State state, CustomResourceOptions options)resources:  _:    type: opentelekomcloud:WafDedicatedCcRuleV1    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.
- Actions
List<WafDedicated Cc Rule V1Action> 
- Protection action to take if the number of requests reaches the upper limit. Changing this creates a new rule.
The conditionsblock supports:
- Conditions
List<WafDedicated Cc Rule V1Condition> 
- Rate limit conditions of the CC protection rule. Changing this creates a new rule.
The conditionsblock supports:
- CreatedAt double
- Timestamp the rule is created.
- Description string
- Rule description. Changing this creates a new rule.
- LimitNum double
- Rate limit frequency based on the number of requests. The value ranges from 1to2,147,483,647. Changing this creates a new rule.
- LimitPeriod double
- Rate limit period, in seconds. The value ranges from 1to3,600. Changing this creates a new rule.
- LockTime double
- Block duration, in seconds. The value ranges from 0to65,535. Specifies the period within which access is blocked. An error page is displayed in this period. Changing this creates a new rule.
- Mode double
- Protection mode of the CC attack protection rule. Changing this creates a new rule. Valid Options are:
- PolicyId string
- The WAF policy ID. Changing this creates a new rule.
- Status double
- Rule status.
- TagCategory string
- Specifies the category. The value is referer. Changing this creates a new rule.
- TagContents List<string>
- Specifies the category content. Changing this creates a new rule.
- TagIndex string
- User identifier. Changing this creates a new rule.
If tag_typeis set tocookie, this parameter indicates cookie name. Iftag_typeis set toheader, this parameter indicates header name.
- TagType string
- Rate limit mode. Changing this creates a new rule. Valid Options are:
- Timeouts
WafDedicated Cc Rule V1Timeouts 
- UnlockNum double
- Allowable frequency based on the number of requests. The value ranges from 0to2,147,483,647. This parameter is required only when the protectionactiontype isdynamic_block. Changing this creates a new rule.
- Url string
- Path to be protected in the CC attack protection rule. Changing this creates a new rule.
- WafDedicated stringCc Rule V1Id 
- ID of the rule.
- Actions
[]WafDedicated Cc Rule V1Action Args 
- Protection action to take if the number of requests reaches the upper limit. Changing this creates a new rule.
The conditionsblock supports:
- Conditions
[]WafDedicated Cc Rule V1Condition Args 
- Rate limit conditions of the CC protection rule. Changing this creates a new rule.
The conditionsblock supports:
- CreatedAt float64
- Timestamp the rule is created.
- Description string
- Rule description. Changing this creates a new rule.
- LimitNum float64
- Rate limit frequency based on the number of requests. The value ranges from 1to2,147,483,647. Changing this creates a new rule.
- LimitPeriod float64
- Rate limit period, in seconds. The value ranges from 1to3,600. Changing this creates a new rule.
- LockTime float64
- Block duration, in seconds. The value ranges from 0to65,535. Specifies the period within which access is blocked. An error page is displayed in this period. Changing this creates a new rule.
- Mode float64
- Protection mode of the CC attack protection rule. Changing this creates a new rule. Valid Options are:
- PolicyId string
- The WAF policy ID. Changing this creates a new rule.
- Status float64
- Rule status.
- TagCategory string
- Specifies the category. The value is referer. Changing this creates a new rule.
- TagContents []string
- Specifies the category content. Changing this creates a new rule.
- TagIndex string
- User identifier. Changing this creates a new rule.
If tag_typeis set tocookie, this parameter indicates cookie name. Iftag_typeis set toheader, this parameter indicates header name.
- TagType string
- Rate limit mode. Changing this creates a new rule. Valid Options are:
- Timeouts
WafDedicated Cc Rule V1Timeouts Args 
- UnlockNum float64
- Allowable frequency based on the number of requests. The value ranges from 0to2,147,483,647. This parameter is required only when the protectionactiontype isdynamic_block. Changing this creates a new rule.
- Url string
- Path to be protected in the CC attack protection rule. Changing this creates a new rule.
- WafDedicated stringCc Rule V1Id 
- ID of the rule.
- actions
List<WafDedicated Cc Rule V1Action> 
- Protection action to take if the number of requests reaches the upper limit. Changing this creates a new rule.
The conditionsblock supports:
- conditions
List<WafDedicated Cc Rule V1Condition> 
- Rate limit conditions of the CC protection rule. Changing this creates a new rule.
The conditionsblock supports:
- createdAt Double
- Timestamp the rule is created.
- description String
- Rule description. Changing this creates a new rule.
- limitNum Double
- Rate limit frequency based on the number of requests. The value ranges from 1to2,147,483,647. Changing this creates a new rule.
- limitPeriod Double
- Rate limit period, in seconds. The value ranges from 1to3,600. Changing this creates a new rule.
- lockTime Double
- Block duration, in seconds. The value ranges from 0to65,535. Specifies the period within which access is blocked. An error page is displayed in this period. Changing this creates a new rule.
- mode Double
- Protection mode of the CC attack protection rule. Changing this creates a new rule. Valid Options are:
- policyId String
- The WAF policy ID. Changing this creates a new rule.
- status Double
- Rule status.
- tagCategory String
- Specifies the category. The value is referer. Changing this creates a new rule.
- tagContents List<String>
- Specifies the category content. Changing this creates a new rule.
- tagIndex String
- User identifier. Changing this creates a new rule.
If tag_typeis set tocookie, this parameter indicates cookie name. Iftag_typeis set toheader, this parameter indicates header name.
- tagType String
- Rate limit mode. Changing this creates a new rule. Valid Options are:
- timeouts
WafDedicated Cc Rule V1Timeouts 
- unlockNum Double
- Allowable frequency based on the number of requests. The value ranges from 0to2,147,483,647. This parameter is required only when the protectionactiontype isdynamic_block. Changing this creates a new rule.
- url String
- Path to be protected in the CC attack protection rule. Changing this creates a new rule.
- wafDedicated StringCc Rule V1Id 
- ID of the rule.
- actions
WafDedicated Cc Rule V1Action[] 
- Protection action to take if the number of requests reaches the upper limit. Changing this creates a new rule.
The conditionsblock supports:
- conditions
WafDedicated Cc Rule V1Condition[] 
- Rate limit conditions of the CC protection rule. Changing this creates a new rule.
The conditionsblock supports:
- createdAt number
- Timestamp the rule is created.
- description string
- Rule description. Changing this creates a new rule.
- limitNum number
- Rate limit frequency based on the number of requests. The value ranges from 1to2,147,483,647. Changing this creates a new rule.
- limitPeriod number
- Rate limit period, in seconds. The value ranges from 1to3,600. Changing this creates a new rule.
- lockTime number
- Block duration, in seconds. The value ranges from 0to65,535. Specifies the period within which access is blocked. An error page is displayed in this period. Changing this creates a new rule.
- mode number
- Protection mode of the CC attack protection rule. Changing this creates a new rule. Valid Options are:
- policyId string
- The WAF policy ID. Changing this creates a new rule.
- status number
- Rule status.
- tagCategory string
- Specifies the category. The value is referer. Changing this creates a new rule.
- tagContents string[]
- Specifies the category content. Changing this creates a new rule.
- tagIndex string
- User identifier. Changing this creates a new rule.
If tag_typeis set tocookie, this parameter indicates cookie name. Iftag_typeis set toheader, this parameter indicates header name.
- tagType string
- Rate limit mode. Changing this creates a new rule. Valid Options are:
- timeouts
WafDedicated Cc Rule V1Timeouts 
- unlockNum number
- Allowable frequency based on the number of requests. The value ranges from 0to2,147,483,647. This parameter is required only when the protectionactiontype isdynamic_block. Changing this creates a new rule.
- url string
- Path to be protected in the CC attack protection rule. Changing this creates a new rule.
- wafDedicated stringCc Rule V1Id 
- ID of the rule.
- actions
Sequence[WafDedicated Cc Rule V1Action Args] 
- Protection action to take if the number of requests reaches the upper limit. Changing this creates a new rule.
The conditionsblock supports:
- conditions
Sequence[WafDedicated Cc Rule V1Condition Args] 
- Rate limit conditions of the CC protection rule. Changing this creates a new rule.
The conditionsblock supports:
- created_at float
- Timestamp the rule is created.
- description str
- Rule description. Changing this creates a new rule.
- limit_num float
- Rate limit frequency based on the number of requests. The value ranges from 1to2,147,483,647. Changing this creates a new rule.
- limit_period float
- Rate limit period, in seconds. The value ranges from 1to3,600. Changing this creates a new rule.
- lock_time float
- Block duration, in seconds. The value ranges from 0to65,535. Specifies the period within which access is blocked. An error page is displayed in this period. Changing this creates a new rule.
- mode float
- Protection mode of the CC attack protection rule. Changing this creates a new rule. Valid Options are:
- policy_id str
- The WAF policy ID. Changing this creates a new rule.
- status float
- Rule status.
- tag_category str
- Specifies the category. The value is referer. Changing this creates a new rule.
- tag_contents Sequence[str]
- Specifies the category content. Changing this creates a new rule.
- tag_index str
- User identifier. Changing this creates a new rule.
If tag_typeis set tocookie, this parameter indicates cookie name. Iftag_typeis set toheader, this parameter indicates header name.
- tag_type str
- Rate limit mode. Changing this creates a new rule. Valid Options are:
- timeouts
WafDedicated Cc Rule V1Timeouts Args 
- unlock_num float
- Allowable frequency based on the number of requests. The value ranges from 0to2,147,483,647. This parameter is required only when the protectionactiontype isdynamic_block. Changing this creates a new rule.
- url str
- Path to be protected in the CC attack protection rule. Changing this creates a new rule.
- waf_dedicated_ strcc_ rule_ v1_ id 
- ID of the rule.
- actions List<Property Map>
- Protection action to take if the number of requests reaches the upper limit. Changing this creates a new rule.
The conditionsblock supports:
- conditions List<Property Map>
- Rate limit conditions of the CC protection rule. Changing this creates a new rule.
The conditionsblock supports:
- createdAt Number
- Timestamp the rule is created.
- description String
- Rule description. Changing this creates a new rule.
- limitNum Number
- Rate limit frequency based on the number of requests. The value ranges from 1to2,147,483,647. Changing this creates a new rule.
- limitPeriod Number
- Rate limit period, in seconds. The value ranges from 1to3,600. Changing this creates a new rule.
- lockTime Number
- Block duration, in seconds. The value ranges from 0to65,535. Specifies the period within which access is blocked. An error page is displayed in this period. Changing this creates a new rule.
- mode Number
- Protection mode of the CC attack protection rule. Changing this creates a new rule. Valid Options are:
- policyId String
- The WAF policy ID. Changing this creates a new rule.
- status Number
- Rule status.
- tagCategory String
- Specifies the category. The value is referer. Changing this creates a new rule.
- tagContents List<String>
- Specifies the category content. Changing this creates a new rule.
- tagIndex String
- User identifier. Changing this creates a new rule.
If tag_typeis set tocookie, this parameter indicates cookie name. Iftag_typeis set toheader, this parameter indicates header name.
- tagType String
- Rate limit mode. Changing this creates a new rule. Valid Options are:
- timeouts Property Map
- unlockNum Number
- Allowable frequency based on the number of requests. The value ranges from 0to2,147,483,647. This parameter is required only when the protectionactiontype isdynamic_block. Changing this creates a new rule.
- url String
- Path to be protected in the CC attack protection rule. Changing this creates a new rule.
- wafDedicated StringCc Rule V1Id 
- ID of the rule.
Supporting Types
WafDedicatedCcRuleV1Action, WafDedicatedCcRuleV1ActionArgs          
- Category string
- Action type. Changing this creates a new rule.
- Content string
- Protection page content. Changing this creates a new rule.
- ContentType string
- User identifier. The value is fixed at referer. Changing this creates a new rule.
- Category string
- Action type. Changing this creates a new rule.
- Content string
- Protection page content. Changing this creates a new rule.
- ContentType string
- User identifier. The value is fixed at referer. Changing this creates a new rule.
- category String
- Action type. Changing this creates a new rule.
- content String
- Protection page content. Changing this creates a new rule.
- contentType String
- User identifier. The value is fixed at referer. Changing this creates a new rule.
- category string
- Action type. Changing this creates a new rule.
- content string
- Protection page content. Changing this creates a new rule.
- contentType string
- User identifier. The value is fixed at referer. Changing this creates a new rule.
- category str
- Action type. Changing this creates a new rule.
- content str
- Protection page content. Changing this creates a new rule.
- content_type str
- User identifier. The value is fixed at referer. Changing this creates a new rule.
- category String
- Action type. Changing this creates a new rule.
- content String
- Protection page content. Changing this creates a new rule.
- contentType String
- User identifier. The value is fixed at referer. Changing this creates a new rule.
WafDedicatedCcRuleV1Condition, WafDedicatedCcRuleV1ConditionArgs          
- Category string
- Field type. The value can be url,ip,params,cookie, orheader.
- LogicOperation string
- Logic for matching the condition.- If the category is url, the optional operations arecontain,not_contain,equal,not_equal,prefix,not_prefix,suffix,not_suffix,contain_any,not_contain_all,equal_any,not_equal_all,equal_any,not_equal_all,prefix_any,not_prefix_all,suffix_any,not_suffix_all,len_greater,len_less,len_equalandlen_not_equal
- If the category is ip, the optional operations are:equal,not_equal,equal_anyandnot_equal_all
- If the category is params,cookieandheader, the optional operations are:contain,not_contain,equal,not_equal,prefix,not_prefix,suffix,not_suffix,contain_any,not_contain_all,equal_any,not_equal_all,equal_any,not_equal_all,prefix_any,not_prefix_all,suffix_any,not_suffix_all,len_greater,len_less,len_equal,len_not_equal,num_greater,num_less,num_equal,num_not_equal,existandnot_existChanging this creates a new rule.
 
- If the category is 
- Contents List<string>
- Content of the conditions. This parameter is mandatory when the suffix of logic_operationis notanyorall. Changing this creates a new rule.
- Index string
- Subfield. When categoryis set toparams,cookie, orheader, set this parameter based on site requirements. This parameter is mandatory. Changing this creates a new rule.
- ValueList stringId 
- Reference table ID. This parameter is mandatory when the suffix of logic_operationisanyorall. The reference table type must be the same as the category type. Changing this creates a new rule.
- Category string
- Field type. The value can be url,ip,params,cookie, orheader.
- LogicOperation string
- Logic for matching the condition.- If the category is url, the optional operations arecontain,not_contain,equal,not_equal,prefix,not_prefix,suffix,not_suffix,contain_any,not_contain_all,equal_any,not_equal_all,equal_any,not_equal_all,prefix_any,not_prefix_all,suffix_any,not_suffix_all,len_greater,len_less,len_equalandlen_not_equal
- If the category is ip, the optional operations are:equal,not_equal,equal_anyandnot_equal_all
- If the category is params,cookieandheader, the optional operations are:contain,not_contain,equal,not_equal,prefix,not_prefix,suffix,not_suffix,contain_any,not_contain_all,equal_any,not_equal_all,equal_any,not_equal_all,prefix_any,not_prefix_all,suffix_any,not_suffix_all,len_greater,len_less,len_equal,len_not_equal,num_greater,num_less,num_equal,num_not_equal,existandnot_existChanging this creates a new rule.
 
- If the category is 
- Contents []string
- Content of the conditions. This parameter is mandatory when the suffix of logic_operationis notanyorall. Changing this creates a new rule.
- Index string
- Subfield. When categoryis set toparams,cookie, orheader, set this parameter based on site requirements. This parameter is mandatory. Changing this creates a new rule.
- ValueList stringId 
- Reference table ID. This parameter is mandatory when the suffix of logic_operationisanyorall. The reference table type must be the same as the category type. Changing this creates a new rule.
- category String
- Field type. The value can be url,ip,params,cookie, orheader.
- logicOperation String
- Logic for matching the condition.- If the category is url, the optional operations arecontain,not_contain,equal,not_equal,prefix,not_prefix,suffix,not_suffix,contain_any,not_contain_all,equal_any,not_equal_all,equal_any,not_equal_all,prefix_any,not_prefix_all,suffix_any,not_suffix_all,len_greater,len_less,len_equalandlen_not_equal
- If the category is ip, the optional operations are:equal,not_equal,equal_anyandnot_equal_all
- If the category is params,cookieandheader, the optional operations are:contain,not_contain,equal,not_equal,prefix,not_prefix,suffix,not_suffix,contain_any,not_contain_all,equal_any,not_equal_all,equal_any,not_equal_all,prefix_any,not_prefix_all,suffix_any,not_suffix_all,len_greater,len_less,len_equal,len_not_equal,num_greater,num_less,num_equal,num_not_equal,existandnot_existChanging this creates a new rule.
 
- If the category is 
- contents List<String>
- Content of the conditions. This parameter is mandatory when the suffix of logic_operationis notanyorall. Changing this creates a new rule.
- index String
- Subfield. When categoryis set toparams,cookie, orheader, set this parameter based on site requirements. This parameter is mandatory. Changing this creates a new rule.
- valueList StringId 
- Reference table ID. This parameter is mandatory when the suffix of logic_operationisanyorall. The reference table type must be the same as the category type. Changing this creates a new rule.
- category string
- Field type. The value can be url,ip,params,cookie, orheader.
- logicOperation string
- Logic for matching the condition.- If the category is url, the optional operations arecontain,not_contain,equal,not_equal,prefix,not_prefix,suffix,not_suffix,contain_any,not_contain_all,equal_any,not_equal_all,equal_any,not_equal_all,prefix_any,not_prefix_all,suffix_any,not_suffix_all,len_greater,len_less,len_equalandlen_not_equal
- If the category is ip, the optional operations are:equal,not_equal,equal_anyandnot_equal_all
- If the category is params,cookieandheader, the optional operations are:contain,not_contain,equal,not_equal,prefix,not_prefix,suffix,not_suffix,contain_any,not_contain_all,equal_any,not_equal_all,equal_any,not_equal_all,prefix_any,not_prefix_all,suffix_any,not_suffix_all,len_greater,len_less,len_equal,len_not_equal,num_greater,num_less,num_equal,num_not_equal,existandnot_existChanging this creates a new rule.
 
- If the category is 
- contents string[]
- Content of the conditions. This parameter is mandatory when the suffix of logic_operationis notanyorall. Changing this creates a new rule.
- index string
- Subfield. When categoryis set toparams,cookie, orheader, set this parameter based on site requirements. This parameter is mandatory. Changing this creates a new rule.
- valueList stringId 
- Reference table ID. This parameter is mandatory when the suffix of logic_operationisanyorall. The reference table type must be the same as the category type. Changing this creates a new rule.
- category str
- Field type. The value can be url,ip,params,cookie, orheader.
- logic_operation str
- Logic for matching the condition.- If the category is url, the optional operations arecontain,not_contain,equal,not_equal,prefix,not_prefix,suffix,not_suffix,contain_any,not_contain_all,equal_any,not_equal_all,equal_any,not_equal_all,prefix_any,not_prefix_all,suffix_any,not_suffix_all,len_greater,len_less,len_equalandlen_not_equal
- If the category is ip, the optional operations are:equal,not_equal,equal_anyandnot_equal_all
- If the category is params,cookieandheader, the optional operations are:contain,not_contain,equal,not_equal,prefix,not_prefix,suffix,not_suffix,contain_any,not_contain_all,equal_any,not_equal_all,equal_any,not_equal_all,prefix_any,not_prefix_all,suffix_any,not_suffix_all,len_greater,len_less,len_equal,len_not_equal,num_greater,num_less,num_equal,num_not_equal,existandnot_existChanging this creates a new rule.
 
- If the category is 
- contents Sequence[str]
- Content of the conditions. This parameter is mandatory when the suffix of logic_operationis notanyorall. Changing this creates a new rule.
- index str
- Subfield. When categoryis set toparams,cookie, orheader, set this parameter based on site requirements. This parameter is mandatory. Changing this creates a new rule.
- value_list_ strid 
- Reference table ID. This parameter is mandatory when the suffix of logic_operationisanyorall. The reference table type must be the same as the category type. Changing this creates a new rule.
- category String
- Field type. The value can be url,ip,params,cookie, orheader.
- logicOperation String
- Logic for matching the condition.- If the category is url, the optional operations arecontain,not_contain,equal,not_equal,prefix,not_prefix,suffix,not_suffix,contain_any,not_contain_all,equal_any,not_equal_all,equal_any,not_equal_all,prefix_any,not_prefix_all,suffix_any,not_suffix_all,len_greater,len_less,len_equalandlen_not_equal
- If the category is ip, the optional operations are:equal,not_equal,equal_anyandnot_equal_all
- If the category is params,cookieandheader, the optional operations are:contain,not_contain,equal,not_equal,prefix,not_prefix,suffix,not_suffix,contain_any,not_contain_all,equal_any,not_equal_all,equal_any,not_equal_all,prefix_any,not_prefix_all,suffix_any,not_suffix_all,len_greater,len_less,len_equal,len_not_equal,num_greater,num_less,num_equal,num_not_equal,existandnot_existChanging this creates a new rule.
 
- If the category is 
- contents List<String>
- Content of the conditions. This parameter is mandatory when the suffix of logic_operationis notanyorall. Changing this creates a new rule.
- index String
- Subfield. When categoryis set toparams,cookie, orheader, set this parameter based on site requirements. This parameter is mandatory. Changing this creates a new rule.
- valueList StringId 
- Reference table ID. This parameter is mandatory when the suffix of logic_operationisanyorall. The reference table type must be the same as the category type. Changing this creates a new rule.
WafDedicatedCcRuleV1Timeouts, WafDedicatedCcRuleV1TimeoutsArgs          
Import
Dedicated WAF CC Attack Protection Rules can be imported using policy_id/id, e.g.
$ pulumi import opentelekomcloud:index/wafDedicatedCcRuleV1:WafDedicatedCcRuleV1 rule_1 ff95e71c8ae74eba9887193ab22c5757/b39f3a5a1b4f447a8030f0b0703f47f5
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the opentelekomcloudTerraform Provider.