1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. WafRateLimit
Viewing docs for tencentcloud 1.83.3
published on Friday, Jun 19, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.3
published on Friday, Jun 19, 2026 by tencentcloudstack

    Provides a resource to create a WAF rate limit rule

    Example Usage

    Create with API path rate limiting

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.WafRateLimit("example", {
        domain: "example.com",
        name: "tf-example",
        priority: 10,
        status: 1,
        limitStrategy: 0,
        limitObject: "API",
        blockPage: 209057,
        getParamsName: {
            content: "get",
            func: "IN",
        },
        limitHeaders: [{
            key: "myKey",
            type: "IN",
            value: "myValue",
        }],
        limitPaths: {
            path: "/url",
            type: "EXACT",
        },
        limitWindow: {
            second: 0,
            minute: 10,
            hour: 0,
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.WafRateLimit("example",
        domain="example.com",
        name="tf-example",
        priority=10,
        status=1,
        limit_strategy=0,
        limit_object="API",
        block_page=209057,
        get_params_name={
            "content": "get",
            "func": "IN",
        },
        limit_headers=[{
            "key": "myKey",
            "type": "IN",
            "value": "myValue",
        }],
        limit_paths={
            "path": "/url",
            "type": "EXACT",
        },
        limit_window={
            "second": 0,
            "minute": 10,
            "hour": 0,
        })
    
    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.NewWafRateLimit(ctx, "example", &tencentcloud.WafRateLimitArgs{
    			Domain:        pulumi.String("example.com"),
    			Name:          pulumi.String("tf-example"),
    			Priority:      pulumi.Float64(10),
    			Status:        pulumi.Float64(1),
    			LimitStrategy: pulumi.Float64(0),
    			LimitObject:   pulumi.String("API"),
    			BlockPage:     pulumi.Float64(209057),
    			GetParamsName: &tencentcloud.WafRateLimitGetParamsNameArgs{
    				Content: pulumi.String("get"),
    				Func:    pulumi.String("IN"),
    			},
    			LimitHeaders: tencentcloud.WafRateLimitLimitHeaderArray{
    				&tencentcloud.WafRateLimitLimitHeaderArgs{
    					Key:   pulumi.String("myKey"),
    					Type:  pulumi.String("IN"),
    					Value: pulumi.String("myValue"),
    				},
    			},
    			LimitPaths: &tencentcloud.WafRateLimitLimitPathsArgs{
    				Path: pulumi.String("/url"),
    				Type: pulumi.String("EXACT"),
    			},
    			LimitWindow: &tencentcloud.WafRateLimitLimitWindowArgs{
    				Second: pulumi.Float64(0),
    				Minute: pulumi.Float64(10),
    				Hour:   pulumi.Float64(0),
    			},
    		})
    		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.WafRateLimit("example", new()
        {
            Domain = "example.com",
            Name = "tf-example",
            Priority = 10,
            Status = 1,
            LimitStrategy = 0,
            LimitObject = "API",
            BlockPage = 209057,
            GetParamsName = new Tencentcloud.Inputs.WafRateLimitGetParamsNameArgs
            {
                Content = "get",
                Func = "IN",
            },
            LimitHeaders = new[]
            {
                new Tencentcloud.Inputs.WafRateLimitLimitHeaderArgs
                {
                    Key = "myKey",
                    Type = "IN",
                    Value = "myValue",
                },
            },
            LimitPaths = new Tencentcloud.Inputs.WafRateLimitLimitPathsArgs
            {
                Path = "/url",
                Type = "EXACT",
            },
            LimitWindow = new Tencentcloud.Inputs.WafRateLimitLimitWindowArgs
            {
                Second = 0,
                Minute = 10,
                Hour = 0,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.WafRateLimit;
    import com.pulumi.tencentcloud.WafRateLimitArgs;
    import com.pulumi.tencentcloud.inputs.WafRateLimitGetParamsNameArgs;
    import com.pulumi.tencentcloud.inputs.WafRateLimitLimitHeaderArgs;
    import com.pulumi.tencentcloud.inputs.WafRateLimitLimitPathsArgs;
    import com.pulumi.tencentcloud.inputs.WafRateLimitLimitWindowArgs;
    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 WafRateLimit("example", WafRateLimitArgs.builder()
                .domain("example.com")
                .name("tf-example")
                .priority(10.0)
                .status(1.0)
                .limitStrategy(0.0)
                .limitObject("API")
                .blockPage(209057.0)
                .getParamsName(WafRateLimitGetParamsNameArgs.builder()
                    .content("get")
                    .func("IN")
                    .build())
                .limitHeaders(WafRateLimitLimitHeaderArgs.builder()
                    .key("myKey")
                    .type("IN")
                    .value("myValue")
                    .build())
                .limitPaths(WafRateLimitLimitPathsArgs.builder()
                    .path("/url")
                    .type("EXACT")
                    .build())
                .limitWindow(WafRateLimitLimitWindowArgs.builder()
                    .second(0.0)
                    .minute(10.0)
                    .hour(0.0)
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:WafRateLimit
        properties:
          domain: example.com
          name: tf-example
          priority: 10
          status: 1
          limitStrategy: 0
          limitObject: API
          blockPage: 209057
          getParamsName:
            content: get
            func: IN
          limitHeaders:
            - key: myKey
              type: IN
              value: myValue
          limitPaths:
            path: /url
            type: EXACT
          limitWindow:
            second: 0
            minute: 10
            hour: 0
    
    Example coming soon!
    

    Create WafRateLimit Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WafRateLimit(name: string, args: WafRateLimitArgs, opts?: CustomResourceOptions);
    @overload
    def WafRateLimit(resource_name: str,
                     args: WafRateLimitArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def WafRateLimit(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     limit_object: Optional[str] = None,
                     domain: Optional[str] = None,
                     status: Optional[float] = None,
                     priority: Optional[float] = None,
                     limit_window: Optional[WafRateLimitLimitWindowArgs] = None,
                     limit_strategy: Optional[float] = None,
                     limit_header_name: Optional[WafRateLimitLimitHeaderNameArgs] = None,
                     paths_options: Optional[Sequence[WafRateLimitPathsOptionArgs]] = None,
                     limit_headers: Optional[Sequence[WafRateLimitLimitHeaderArgs]] = None,
                     limit_paths: Optional[WafRateLimitLimitPathsArgs] = None,
                     block_page: Optional[float] = None,
                     ip_location: Optional[WafRateLimitIpLocationArgs] = None,
                     name: Optional[str] = None,
                     object_src: Optional[float] = None,
                     order: Optional[float] = None,
                     limit_method: Optional[WafRateLimitLimitMethodArgs] = None,
                     post_params_name: Optional[WafRateLimitPostParamsNameArgs] = None,
                     post_params_value: Optional[WafRateLimitPostParamsValueArgs] = None,
                     get_params_value: Optional[WafRateLimitGetParamsValueArgs] = None,
                     quota_share: Optional[bool] = None,
                     redirect_info: Optional[WafRateLimitRedirectInfoArgs] = None,
                     get_params_name: Optional[WafRateLimitGetParamsNameArgs] = None,
                     waf_rate_limit_id: Optional[str] = None)
    func NewWafRateLimit(ctx *Context, name string, args WafRateLimitArgs, opts ...ResourceOption) (*WafRateLimit, error)
    public WafRateLimit(string name, WafRateLimitArgs args, CustomResourceOptions? opts = null)
    public WafRateLimit(String name, WafRateLimitArgs args)
    public WafRateLimit(String name, WafRateLimitArgs args, CustomResourceOptions options)
    
    type: tencentcloud:WafRateLimit
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_wafratelimit" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args WafRateLimitArgs
    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 WafRateLimitArgs
    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 WafRateLimitArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WafRateLimitArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WafRateLimitArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    WafRateLimit 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 WafRateLimit resource accepts the following input properties:

    Domain string
    Domain name.
    LimitObject string
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    LimitStrategy double
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    LimitWindow WafRateLimitLimitWindow
    Rate limit window configuration.
    Priority double
    Rule priority.
    Status double
    Rule switch, 0: off, 1: on.
    BlockPage double
    Block page, 0 means 429, otherwise fill in blockPageID.
    GetParamsName WafRateLimitGetParamsName
    Rate limit based on GET parameter name.
    GetParamsValue WafRateLimitGetParamsValue
    Rate limit based on GET parameter value.
    IpLocation WafRateLimitIpLocation
    Rate limit based on IP location.
    LimitHeaderName WafRateLimitLimitHeaderName
    Rate limit based on header parameter name.
    LimitHeaders List<WafRateLimitLimitHeader>
    Rate limit headers configuration.
    LimitMethod WafRateLimitLimitMethod
    Rate limit method configuration.
    LimitPaths WafRateLimitLimitPaths
    Rate limit path configuration.
    Name string
    Rule name.
    ObjectSrc double
    Rate limit object source, 0: manual input, 1: API asset.
    Order double
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    PathsOptions List<WafRateLimitPathsOption>
    Path options, can configure request method for each path.
    PostParamsName WafRateLimitPostParamsName
    Rate limit based on POST parameter name.
    PostParamsValue WafRateLimitPostParamsValue
    Rate limit based on POST parameter value.
    QuotaShare bool
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    RedirectInfo WafRateLimitRedirectInfo
    Redirect information. Required when LimitStrategy is redirect.
    WafRateLimitId string
    ID of the resource.
    Domain string
    Domain name.
    LimitObject string
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    LimitStrategy float64
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    LimitWindow WafRateLimitLimitWindowArgs
    Rate limit window configuration.
    Priority float64
    Rule priority.
    Status float64
    Rule switch, 0: off, 1: on.
    BlockPage float64
    Block page, 0 means 429, otherwise fill in blockPageID.
    GetParamsName WafRateLimitGetParamsNameArgs
    Rate limit based on GET parameter name.
    GetParamsValue WafRateLimitGetParamsValueArgs
    Rate limit based on GET parameter value.
    IpLocation WafRateLimitIpLocationArgs
    Rate limit based on IP location.
    LimitHeaderName WafRateLimitLimitHeaderNameArgs
    Rate limit based on header parameter name.
    LimitHeaders []WafRateLimitLimitHeaderArgs
    Rate limit headers configuration.
    LimitMethod WafRateLimitLimitMethodArgs
    Rate limit method configuration.
    LimitPaths WafRateLimitLimitPathsArgs
    Rate limit path configuration.
    Name string
    Rule name.
    ObjectSrc float64
    Rate limit object source, 0: manual input, 1: API asset.
    Order float64
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    PathsOptions []WafRateLimitPathsOptionArgs
    Path options, can configure request method for each path.
    PostParamsName WafRateLimitPostParamsNameArgs
    Rate limit based on POST parameter name.
    PostParamsValue WafRateLimitPostParamsValueArgs
    Rate limit based on POST parameter value.
    QuotaShare bool
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    RedirectInfo WafRateLimitRedirectInfoArgs
    Redirect information. Required when LimitStrategy is redirect.
    WafRateLimitId string
    ID of the resource.
    domain string
    Domain name.
    limit_object string
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    limit_strategy number
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    limit_window object
    Rate limit window configuration.
    priority number
    Rule priority.
    status number
    Rule switch, 0: off, 1: on.
    block_page number
    Block page, 0 means 429, otherwise fill in blockPageID.
    get_params_name object
    Rate limit based on GET parameter name.
    get_params_value object
    Rate limit based on GET parameter value.
    ip_location object
    Rate limit based on IP location.
    limit_header_name object
    Rate limit based on header parameter name.
    limit_headers list(object)
    Rate limit headers configuration.
    limit_method object
    Rate limit method configuration.
    limit_paths object
    Rate limit path configuration.
    name string
    Rule name.
    object_src number
    Rate limit object source, 0: manual input, 1: API asset.
    order number
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    paths_options list(object)
    Path options, can configure request method for each path.
    post_params_name object
    Rate limit based on POST parameter name.
    post_params_value object
    Rate limit based on POST parameter value.
    quota_share bool
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    redirect_info object
    Redirect information. Required when LimitStrategy is redirect.
    waf_rate_limit_id string
    ID of the resource.
    domain String
    Domain name.
    limitObject String
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    limitStrategy Double
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    limitWindow WafRateLimitLimitWindow
    Rate limit window configuration.
    priority Double
    Rule priority.
    status Double
    Rule switch, 0: off, 1: on.
    blockPage Double
    Block page, 0 means 429, otherwise fill in blockPageID.
    getParamsName WafRateLimitGetParamsName
    Rate limit based on GET parameter name.
    getParamsValue WafRateLimitGetParamsValue
    Rate limit based on GET parameter value.
    ipLocation WafRateLimitIpLocation
    Rate limit based on IP location.
    limitHeaderName WafRateLimitLimitHeaderName
    Rate limit based on header parameter name.
    limitHeaders List<WafRateLimitLimitHeader>
    Rate limit headers configuration.
    limitMethod WafRateLimitLimitMethod
    Rate limit method configuration.
    limitPaths WafRateLimitLimitPaths
    Rate limit path configuration.
    name String
    Rule name.
    objectSrc Double
    Rate limit object source, 0: manual input, 1: API asset.
    order Double
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    pathsOptions List<WafRateLimitPathsOption>
    Path options, can configure request method for each path.
    postParamsName WafRateLimitPostParamsName
    Rate limit based on POST parameter name.
    postParamsValue WafRateLimitPostParamsValue
    Rate limit based on POST parameter value.
    quotaShare Boolean
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    redirectInfo WafRateLimitRedirectInfo
    Redirect information. Required when LimitStrategy is redirect.
    wafRateLimitId String
    ID of the resource.
    domain string
    Domain name.
    limitObject string
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    limitStrategy number
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    limitWindow WafRateLimitLimitWindow
    Rate limit window configuration.
    priority number
    Rule priority.
    status number
    Rule switch, 0: off, 1: on.
    blockPage number
    Block page, 0 means 429, otherwise fill in blockPageID.
    getParamsName WafRateLimitGetParamsName
    Rate limit based on GET parameter name.
    getParamsValue WafRateLimitGetParamsValue
    Rate limit based on GET parameter value.
    ipLocation WafRateLimitIpLocation
    Rate limit based on IP location.
    limitHeaderName WafRateLimitLimitHeaderName
    Rate limit based on header parameter name.
    limitHeaders WafRateLimitLimitHeader[]
    Rate limit headers configuration.
    limitMethod WafRateLimitLimitMethod
    Rate limit method configuration.
    limitPaths WafRateLimitLimitPaths
    Rate limit path configuration.
    name string
    Rule name.
    objectSrc number
    Rate limit object source, 0: manual input, 1: API asset.
    order number
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    pathsOptions WafRateLimitPathsOption[]
    Path options, can configure request method for each path.
    postParamsName WafRateLimitPostParamsName
    Rate limit based on POST parameter name.
    postParamsValue WafRateLimitPostParamsValue
    Rate limit based on POST parameter value.
    quotaShare boolean
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    redirectInfo WafRateLimitRedirectInfo
    Redirect information. Required when LimitStrategy is redirect.
    wafRateLimitId string
    ID of the resource.
    domain str
    Domain name.
    limit_object str
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    limit_strategy float
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    limit_window WafRateLimitLimitWindowArgs
    Rate limit window configuration.
    priority float
    Rule priority.
    status float
    Rule switch, 0: off, 1: on.
    block_page float
    Block page, 0 means 429, otherwise fill in blockPageID.
    get_params_name WafRateLimitGetParamsNameArgs
    Rate limit based on GET parameter name.
    get_params_value WafRateLimitGetParamsValueArgs
    Rate limit based on GET parameter value.
    ip_location WafRateLimitIpLocationArgs
    Rate limit based on IP location.
    limit_header_name WafRateLimitLimitHeaderNameArgs
    Rate limit based on header parameter name.
    limit_headers Sequence[WafRateLimitLimitHeaderArgs]
    Rate limit headers configuration.
    limit_method WafRateLimitLimitMethodArgs
    Rate limit method configuration.
    limit_paths WafRateLimitLimitPathsArgs
    Rate limit path configuration.
    name str
    Rule name.
    object_src float
    Rate limit object source, 0: manual input, 1: API asset.
    order float
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    paths_options Sequence[WafRateLimitPathsOptionArgs]
    Path options, can configure request method for each path.
    post_params_name WafRateLimitPostParamsNameArgs
    Rate limit based on POST parameter name.
    post_params_value WafRateLimitPostParamsValueArgs
    Rate limit based on POST parameter value.
    quota_share bool
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    redirect_info WafRateLimitRedirectInfoArgs
    Redirect information. Required when LimitStrategy is redirect.
    waf_rate_limit_id str
    ID of the resource.
    domain String
    Domain name.
    limitObject String
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    limitStrategy Number
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    limitWindow Property Map
    Rate limit window configuration.
    priority Number
    Rule priority.
    status Number
    Rule switch, 0: off, 1: on.
    blockPage Number
    Block page, 0 means 429, otherwise fill in blockPageID.
    getParamsName Property Map
    Rate limit based on GET parameter name.
    getParamsValue Property Map
    Rate limit based on GET parameter value.
    ipLocation Property Map
    Rate limit based on IP location.
    limitHeaderName Property Map
    Rate limit based on header parameter name.
    limitHeaders List<Property Map>
    Rate limit headers configuration.
    limitMethod Property Map
    Rate limit method configuration.
    limitPaths Property Map
    Rate limit path configuration.
    name String
    Rule name.
    objectSrc Number
    Rate limit object source, 0: manual input, 1: API asset.
    order Number
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    pathsOptions List<Property Map>
    Path options, can configure request method for each path.
    postParamsName Property Map
    Rate limit based on POST parameter name.
    postParamsValue Property Map
    Rate limit based on POST parameter value.
    quotaShare Boolean
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    redirectInfo Property Map
    Redirect information. Required when LimitStrategy is redirect.
    wafRateLimitId String
    ID of the resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LimitRuleId double
    Rate limit rule ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    LimitRuleId float64
    Rate limit rule ID.
    id string
    The provider-assigned unique ID for this managed resource.
    limit_rule_id number
    Rate limit rule ID.
    id String
    The provider-assigned unique ID for this managed resource.
    limitRuleId Double
    Rate limit rule ID.
    id string
    The provider-assigned unique ID for this managed resource.
    limitRuleId number
    Rate limit rule ID.
    id str
    The provider-assigned unique ID for this managed resource.
    limit_rule_id float
    Rate limit rule ID.
    id String
    The provider-assigned unique ID for this managed resource.
    limitRuleId Number
    Rate limit rule ID.

    Look up Existing WafRateLimit Resource

    Get an existing WafRateLimit 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?: WafRateLimitState, opts?: CustomResourceOptions): WafRateLimit
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            block_page: Optional[float] = None,
            domain: Optional[str] = None,
            get_params_name: Optional[WafRateLimitGetParamsNameArgs] = None,
            get_params_value: Optional[WafRateLimitGetParamsValueArgs] = None,
            ip_location: Optional[WafRateLimitIpLocationArgs] = None,
            limit_header_name: Optional[WafRateLimitLimitHeaderNameArgs] = None,
            limit_headers: Optional[Sequence[WafRateLimitLimitHeaderArgs]] = None,
            limit_method: Optional[WafRateLimitLimitMethodArgs] = None,
            limit_object: Optional[str] = None,
            limit_paths: Optional[WafRateLimitLimitPathsArgs] = None,
            limit_rule_id: Optional[float] = None,
            limit_strategy: Optional[float] = None,
            limit_window: Optional[WafRateLimitLimitWindowArgs] = None,
            name: Optional[str] = None,
            object_src: Optional[float] = None,
            order: Optional[float] = None,
            paths_options: Optional[Sequence[WafRateLimitPathsOptionArgs]] = None,
            post_params_name: Optional[WafRateLimitPostParamsNameArgs] = None,
            post_params_value: Optional[WafRateLimitPostParamsValueArgs] = None,
            priority: Optional[float] = None,
            quota_share: Optional[bool] = None,
            redirect_info: Optional[WafRateLimitRedirectInfoArgs] = None,
            status: Optional[float] = None,
            waf_rate_limit_id: Optional[str] = None) -> WafRateLimit
    func GetWafRateLimit(ctx *Context, name string, id IDInput, state *WafRateLimitState, opts ...ResourceOption) (*WafRateLimit, error)
    public static WafRateLimit Get(string name, Input<string> id, WafRateLimitState? state, CustomResourceOptions? opts = null)
    public static WafRateLimit get(String name, Output<String> id, WafRateLimitState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:WafRateLimit    get:      id: ${id}
    import {
      to = tencentcloud_wafratelimit.example
      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:
    BlockPage double
    Block page, 0 means 429, otherwise fill in blockPageID.
    Domain string
    Domain name.
    GetParamsName WafRateLimitGetParamsName
    Rate limit based on GET parameter name.
    GetParamsValue WafRateLimitGetParamsValue
    Rate limit based on GET parameter value.
    IpLocation WafRateLimitIpLocation
    Rate limit based on IP location.
    LimitHeaderName WafRateLimitLimitHeaderName
    Rate limit based on header parameter name.
    LimitHeaders List<WafRateLimitLimitHeader>
    Rate limit headers configuration.
    LimitMethod WafRateLimitLimitMethod
    Rate limit method configuration.
    LimitObject string
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    LimitPaths WafRateLimitLimitPaths
    Rate limit path configuration.
    LimitRuleId double
    Rate limit rule ID.
    LimitStrategy double
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    LimitWindow WafRateLimitLimitWindow
    Rate limit window configuration.
    Name string
    Rule name.
    ObjectSrc double
    Rate limit object source, 0: manual input, 1: API asset.
    Order double
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    PathsOptions List<WafRateLimitPathsOption>
    Path options, can configure request method for each path.
    PostParamsName WafRateLimitPostParamsName
    Rate limit based on POST parameter name.
    PostParamsValue WafRateLimitPostParamsValue
    Rate limit based on POST parameter value.
    Priority double
    Rule priority.
    QuotaShare bool
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    RedirectInfo WafRateLimitRedirectInfo
    Redirect information. Required when LimitStrategy is redirect.
    Status double
    Rule switch, 0: off, 1: on.
    WafRateLimitId string
    ID of the resource.
    BlockPage float64
    Block page, 0 means 429, otherwise fill in blockPageID.
    Domain string
    Domain name.
    GetParamsName WafRateLimitGetParamsNameArgs
    Rate limit based on GET parameter name.
    GetParamsValue WafRateLimitGetParamsValueArgs
    Rate limit based on GET parameter value.
    IpLocation WafRateLimitIpLocationArgs
    Rate limit based on IP location.
    LimitHeaderName WafRateLimitLimitHeaderNameArgs
    Rate limit based on header parameter name.
    LimitHeaders []WafRateLimitLimitHeaderArgs
    Rate limit headers configuration.
    LimitMethod WafRateLimitLimitMethodArgs
    Rate limit method configuration.
    LimitObject string
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    LimitPaths WafRateLimitLimitPathsArgs
    Rate limit path configuration.
    LimitRuleId float64
    Rate limit rule ID.
    LimitStrategy float64
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    LimitWindow WafRateLimitLimitWindowArgs
    Rate limit window configuration.
    Name string
    Rule name.
    ObjectSrc float64
    Rate limit object source, 0: manual input, 1: API asset.
    Order float64
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    PathsOptions []WafRateLimitPathsOptionArgs
    Path options, can configure request method for each path.
    PostParamsName WafRateLimitPostParamsNameArgs
    Rate limit based on POST parameter name.
    PostParamsValue WafRateLimitPostParamsValueArgs
    Rate limit based on POST parameter value.
    Priority float64
    Rule priority.
    QuotaShare bool
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    RedirectInfo WafRateLimitRedirectInfoArgs
    Redirect information. Required when LimitStrategy is redirect.
    Status float64
    Rule switch, 0: off, 1: on.
    WafRateLimitId string
    ID of the resource.
    block_page number
    Block page, 0 means 429, otherwise fill in blockPageID.
    domain string
    Domain name.
    get_params_name object
    Rate limit based on GET parameter name.
    get_params_value object
    Rate limit based on GET parameter value.
    ip_location object
    Rate limit based on IP location.
    limit_header_name object
    Rate limit based on header parameter name.
    limit_headers list(object)
    Rate limit headers configuration.
    limit_method object
    Rate limit method configuration.
    limit_object string
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    limit_paths object
    Rate limit path configuration.
    limit_rule_id number
    Rate limit rule ID.
    limit_strategy number
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    limit_window object
    Rate limit window configuration.
    name string
    Rule name.
    object_src number
    Rate limit object source, 0: manual input, 1: API asset.
    order number
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    paths_options list(object)
    Path options, can configure request method for each path.
    post_params_name object
    Rate limit based on POST parameter name.
    post_params_value object
    Rate limit based on POST parameter value.
    priority number
    Rule priority.
    quota_share bool
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    redirect_info object
    Redirect information. Required when LimitStrategy is redirect.
    status number
    Rule switch, 0: off, 1: on.
    waf_rate_limit_id string
    ID of the resource.
    blockPage Double
    Block page, 0 means 429, otherwise fill in blockPageID.
    domain String
    Domain name.
    getParamsName WafRateLimitGetParamsName
    Rate limit based on GET parameter name.
    getParamsValue WafRateLimitGetParamsValue
    Rate limit based on GET parameter value.
    ipLocation WafRateLimitIpLocation
    Rate limit based on IP location.
    limitHeaderName WafRateLimitLimitHeaderName
    Rate limit based on header parameter name.
    limitHeaders List<WafRateLimitLimitHeader>
    Rate limit headers configuration.
    limitMethod WafRateLimitLimitMethod
    Rate limit method configuration.
    limitObject String
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    limitPaths WafRateLimitLimitPaths
    Rate limit path configuration.
    limitRuleId Double
    Rate limit rule ID.
    limitStrategy Double
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    limitWindow WafRateLimitLimitWindow
    Rate limit window configuration.
    name String
    Rule name.
    objectSrc Double
    Rate limit object source, 0: manual input, 1: API asset.
    order Double
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    pathsOptions List<WafRateLimitPathsOption>
    Path options, can configure request method for each path.
    postParamsName WafRateLimitPostParamsName
    Rate limit based on POST parameter name.
    postParamsValue WafRateLimitPostParamsValue
    Rate limit based on POST parameter value.
    priority Double
    Rule priority.
    quotaShare Boolean
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    redirectInfo WafRateLimitRedirectInfo
    Redirect information. Required when LimitStrategy is redirect.
    status Double
    Rule switch, 0: off, 1: on.
    wafRateLimitId String
    ID of the resource.
    blockPage number
    Block page, 0 means 429, otherwise fill in blockPageID.
    domain string
    Domain name.
    getParamsName WafRateLimitGetParamsName
    Rate limit based on GET parameter name.
    getParamsValue WafRateLimitGetParamsValue
    Rate limit based on GET parameter value.
    ipLocation WafRateLimitIpLocation
    Rate limit based on IP location.
    limitHeaderName WafRateLimitLimitHeaderName
    Rate limit based on header parameter name.
    limitHeaders WafRateLimitLimitHeader[]
    Rate limit headers configuration.
    limitMethod WafRateLimitLimitMethod
    Rate limit method configuration.
    limitObject string
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    limitPaths WafRateLimitLimitPaths
    Rate limit path configuration.
    limitRuleId number
    Rate limit rule ID.
    limitStrategy number
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    limitWindow WafRateLimitLimitWindow
    Rate limit window configuration.
    name string
    Rule name.
    objectSrc number
    Rate limit object source, 0: manual input, 1: API asset.
    order number
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    pathsOptions WafRateLimitPathsOption[]
    Path options, can configure request method for each path.
    postParamsName WafRateLimitPostParamsName
    Rate limit based on POST parameter name.
    postParamsValue WafRateLimitPostParamsValue
    Rate limit based on POST parameter value.
    priority number
    Rule priority.
    quotaShare boolean
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    redirectInfo WafRateLimitRedirectInfo
    Redirect information. Required when LimitStrategy is redirect.
    status number
    Rule switch, 0: off, 1: on.
    wafRateLimitId string
    ID of the resource.
    block_page float
    Block page, 0 means 429, otherwise fill in blockPageID.
    domain str
    Domain name.
    get_params_name WafRateLimitGetParamsNameArgs
    Rate limit based on GET parameter name.
    get_params_value WafRateLimitGetParamsValueArgs
    Rate limit based on GET parameter value.
    ip_location WafRateLimitIpLocationArgs
    Rate limit based on IP location.
    limit_header_name WafRateLimitLimitHeaderNameArgs
    Rate limit based on header parameter name.
    limit_headers Sequence[WafRateLimitLimitHeaderArgs]
    Rate limit headers configuration.
    limit_method WafRateLimitLimitMethodArgs
    Rate limit method configuration.
    limit_object str
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    limit_paths WafRateLimitLimitPathsArgs
    Rate limit path configuration.
    limit_rule_id float
    Rate limit rule ID.
    limit_strategy float
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    limit_window WafRateLimitLimitWindowArgs
    Rate limit window configuration.
    name str
    Rule name.
    object_src float
    Rate limit object source, 0: manual input, 1: API asset.
    order float
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    paths_options Sequence[WafRateLimitPathsOptionArgs]
    Path options, can configure request method for each path.
    post_params_name WafRateLimitPostParamsNameArgs
    Rate limit based on POST parameter name.
    post_params_value WafRateLimitPostParamsValueArgs
    Rate limit based on POST parameter value.
    priority float
    Rule priority.
    quota_share bool
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    redirect_info WafRateLimitRedirectInfoArgs
    Redirect information. Required when LimitStrategy is redirect.
    status float
    Rule switch, 0: off, 1: on.
    waf_rate_limit_id str
    ID of the resource.
    blockPage Number
    Block page, 0 means 429, otherwise fill in blockPageID.
    domain String
    Domain name.
    getParamsName Property Map
    Rate limit based on GET parameter name.
    getParamsValue Property Map
    Rate limit based on GET parameter value.
    ipLocation Property Map
    Rate limit based on IP location.
    limitHeaderName Property Map
    Rate limit based on header parameter name.
    limitHeaders List<Property Map>
    Rate limit headers configuration.
    limitMethod Property Map
    Rate limit method configuration.
    limitObject String
    Rate limit object, supports API or Domain. If based on API, LimitPaths cannot be empty.
    limitPaths Property Map
    Rate limit path configuration.
    limitRuleId Number
    Rate limit rule ID.
    limitStrategy Number
    Rate limit strategy, 0: observe, 1: block, 2: CAPTCHA.
    limitWindow Property Map
    Rate limit window configuration.
    name String
    Rule name.
    objectSrc Number
    Rate limit object source, 0: manual input, 1: API asset.
    order Number
    Rate limit execution order, 0: default, rate limit first, 1: security protection first.
    pathsOptions List<Property Map>
    Path options, can configure request method for each path.
    postParamsName Property Map
    Rate limit based on POST parameter name.
    postParamsValue Property Map
    Rate limit based on POST parameter value.
    priority Number
    Rule priority.
    quotaShare Boolean
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    redirectInfo Property Map
    Redirect information. Required when LimitStrategy is redirect.
    status Number
    Rule switch, 0: off, 1: on.
    wafRateLimitId String
    ID of the resource.

    Supporting Types

    WafRateLimitGetParamsName, WafRateLimitGetParamsNameArgs

    Content string
    Match content.
    Func string
    Logic operator.
    Params string
    Match parameter.
    Content string
    Match content.
    Func string
    Logic operator.
    Params string
    Match parameter.
    content string
    Match content.
    func string
    Logic operator.
    params string
    Match parameter.
    content String
    Match content.
    func String
    Logic operator.
    params String
    Match parameter.
    content string
    Match content.
    func string
    Logic operator.
    params string
    Match parameter.
    content str
    Match content.
    func str
    Logic operator.
    params str
    Match parameter.
    content String
    Match content.
    func String
    Logic operator.
    params String
    Match parameter.

    WafRateLimitGetParamsValue, WafRateLimitGetParamsValueArgs

    Content string
    Match content.
    Func string
    Logic operator.
    Params string
    Match parameter.
    Content string
    Match content.
    Func string
    Logic operator.
    Params string
    Match parameter.
    content string
    Match content.
    func string
    Logic operator.
    params string
    Match parameter.
    content String
    Match content.
    func String
    Logic operator.
    params String
    Match parameter.
    content string
    Match content.
    func string
    Logic operator.
    params string
    Match parameter.
    content str
    Match content.
    func str
    Logic operator.
    params str
    Match parameter.
    content String
    Match content.
    func String
    Logic operator.
    params String
    Match parameter.

    WafRateLimitIpLocation, WafRateLimitIpLocationArgs

    Content string
    Match content.
    Func string
    Logic operator.
    Params string
    Match parameter.
    Content string
    Match content.
    Func string
    Logic operator.
    Params string
    Match parameter.
    content string
    Match content.
    func string
    Logic operator.
    params string
    Match parameter.
    content String
    Match content.
    func String
    Logic operator.
    params String
    Match parameter.
    content string
    Match content.
    func string
    Logic operator.
    params string
    Match parameter.
    content str
    Match content.
    func str
    Logic operator.
    params str
    Match parameter.
    content String
    Match content.
    func String
    Logic operator.
    params String
    Match parameter.

    WafRateLimitLimitHeader, WafRateLimitLimitHeaderArgs

    Key string
    Header key.
    Type string
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.
    Value string
    Header value.
    Key string
    Header key.
    Type string
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.
    Value string
    Header value.
    key string
    Header key.
    type string
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.
    value string
    Header value.
    key String
    Header key.
    type String
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.
    value String
    Header value.
    key string
    Header key.
    type string
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.
    value string
    Header value.
    key str
    Header key.
    type str
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.
    value str
    Header value.
    key String
    Header key.
    type String
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.
    value String
    Header value.

    WafRateLimitLimitHeaderName, WafRateLimitLimitHeaderNameArgs

    ParamsName string
    Parameter name.
    Type string
    Operator, supports REGEX, IN, NOT_IN, EACH.
    ParamsName string
    Parameter name.
    Type string
    Operator, supports REGEX, IN, NOT_IN, EACH.
    params_name string
    Parameter name.
    type string
    Operator, supports REGEX, IN, NOT_IN, EACH.
    paramsName String
    Parameter name.
    type String
    Operator, supports REGEX, IN, NOT_IN, EACH.
    paramsName string
    Parameter name.
    type string
    Operator, supports REGEX, IN, NOT_IN, EACH.
    params_name str
    Parameter name.
    type str
    Operator, supports REGEX, IN, NOT_IN, EACH.
    paramsName String
    Parameter name.
    type String
    Operator, supports REGEX, IN, NOT_IN, EACH.

    WafRateLimitLimitMethod, WafRateLimitLimitMethodArgs

    Method string
    Request method to rate limit.
    Type string
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.
    Method string
    Request method to rate limit.
    Type string
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.
    method string
    Request method to rate limit.
    type string
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.
    method String
    Request method to rate limit.
    type String
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.
    method string
    Request method to rate limit.
    type string
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.
    method str
    Request method to rate limit.
    type str
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.
    method String
    Request method to rate limit.
    type String
    Match type, supports EXACT, REGEX, IN, NOT_IN, CONTAINS, NOT_CONTAINS.

    WafRateLimitLimitPaths, WafRateLimitLimitPathsArgs

    Path string
    Rate limit path.
    Type string
    Match type.
    Path string
    Rate limit path.
    Type string
    Match type.
    path string
    Rate limit path.
    type string
    Match type.
    path String
    Rate limit path.
    type String
    Match type.
    path string
    Rate limit path.
    type string
    Match type.
    path str
    Rate limit path.
    type str
    Match type.
    path String
    Rate limit path.
    type String
    Match type.

    WafRateLimitLimitWindow, WafRateLimitLimitWindowArgs

    Hour double
    Maximum requests allowed per hour.
    Minute double
    Maximum requests allowed per minute.
    QuotaShare bool
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    Second double
    Maximum requests allowed per second.
    Hour float64
    Maximum requests allowed per hour.
    Minute float64
    Maximum requests allowed per minute.
    QuotaShare bool
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    Second float64
    Maximum requests allowed per second.
    hour number
    Maximum requests allowed per hour.
    minute number
    Maximum requests allowed per minute.
    quota_share bool
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    second number
    Maximum requests allowed per second.
    hour Double
    Maximum requests allowed per hour.
    minute Double
    Maximum requests allowed per minute.
    quotaShare Boolean
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    second Double
    Maximum requests allowed per second.
    hour number
    Maximum requests allowed per hour.
    minute number
    Maximum requests allowed per minute.
    quotaShare boolean
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    second number
    Maximum requests allowed per second.
    hour float
    Maximum requests allowed per hour.
    minute float
    Maximum requests allowed per minute.
    quota_share bool
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    second float
    Maximum requests allowed per second.
    hour Number
    Maximum requests allowed per hour.
    minute Number
    Maximum requests allowed per minute.
    quotaShare Boolean
    Whether to share quota. Only valid when object is URL. false: URL exclusive quota, true: all URLs share quota.
    second Number
    Maximum requests allowed per second.

    WafRateLimitPathsOption, WafRateLimitPathsOptionArgs

    Method string
    Request method.
    Path string
    Request path.
    Method string
    Request method.
    Path string
    Request path.
    method string
    Request method.
    path string
    Request path.
    method String
    Request method.
    path String
    Request path.
    method string
    Request method.
    path string
    Request path.
    method str
    Request method.
    path str
    Request path.
    method String
    Request method.
    path String
    Request path.

    WafRateLimitPostParamsName, WafRateLimitPostParamsNameArgs

    Content string
    Match content.
    Func string
    Logic operator.
    Params string
    Match parameter.
    Content string
    Match content.
    Func string
    Logic operator.
    Params string
    Match parameter.
    content string
    Match content.
    func string
    Logic operator.
    params string
    Match parameter.
    content String
    Match content.
    func String
    Logic operator.
    params String
    Match parameter.
    content string
    Match content.
    func string
    Logic operator.
    params string
    Match parameter.
    content str
    Match content.
    func str
    Logic operator.
    params str
    Match parameter.
    content String
    Match content.
    func String
    Logic operator.
    params String
    Match parameter.

    WafRateLimitPostParamsValue, WafRateLimitPostParamsValueArgs

    Content string
    Match content.
    Func string
    Logic operator.
    Params string
    Match parameter.
    Content string
    Match content.
    Func string
    Logic operator.
    Params string
    Match parameter.
    content string
    Match content.
    func string
    Logic operator.
    params string
    Match parameter.
    content String
    Match content.
    func String
    Logic operator.
    params String
    Match parameter.
    content string
    Match content.
    func string
    Logic operator.
    params string
    Match parameter.
    content str
    Match content.
    func str
    Logic operator.
    params str
    Match parameter.
    content String
    Match content.
    func String
    Logic operator.
    params String
    Match parameter.

    WafRateLimitRedirectInfo, WafRateLimitRedirectInfoArgs

    Domain string
    Domain.
    Protocol string
    Protocol.
    Url string
    URL path.
    Domain string
    Domain.
    Protocol string
    Protocol.
    Url string
    URL path.
    domain string
    Domain.
    protocol string
    Protocol.
    url string
    URL path.
    domain String
    Domain.
    protocol String
    Protocol.
    url String
    URL path.
    domain string
    Domain.
    protocol string
    Protocol.
    url string
    URL path.
    domain str
    Domain.
    protocol str
    Protocol.
    url str
    URL path.
    domain String
    Domain.
    protocol String
    Protocol.
    url String
    URL path.

    Import

    WAF rate limit rule can be imported using the composite id domain#limit_rule_id, e.g.

    $ pulumi import tencentcloud:index/wafRateLimit:WafRateLimit example example.com#4000077639
    

    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.
    Viewing docs for tencentcloud 1.83.3
    published on Friday, Jun 19, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial