1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. DayuCcPolicyV2
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.DayuCcPolicyV2

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this resource to create a dayu CC policy

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const demo = new tencentcloud.DayuCcPolicyV2("demo", {
        business: "bgpip",
        ccBlackWhiteIps: [{
            blackWhiteIp: "1.2.3.4",
            domain: "12.com",
            protocol: "http",
            type: "black",
        }],
        ccGeoIpPolicys: [{
            action: "drop",
            domain: "12.com",
            protocol: "http",
            regionType: "china",
        }],
        ccPrecisionPolicys: [{
            domain: "1.com",
            ip: "162.62.163.34",
            policyAction: "drop",
            policys: [{
                fieldName: "cgi",
                fieldType: "value",
                value: "12123.com",
                valueOperator: "equal",
            }],
            protocol: "http",
        }],
        ccPrecisionReqLimits: [{
            domain: "11.com",
            level: "loose",
            policys: [{
                action: "alg",
                executeDuration: 2,
                mode: "equal",
                period: 5,
                requestNum: 12,
                uri: "15.com",
            }],
            protocol: "http",
        }],
        resourceId: "bgpip-000004xf",
        thresholds: [{
            domain: "12.com",
            threshold: 0,
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    demo = tencentcloud.DayuCcPolicyV2("demo",
        business="bgpip",
        cc_black_white_ips=[{
            "black_white_ip": "1.2.3.4",
            "domain": "12.com",
            "protocol": "http",
            "type": "black",
        }],
        cc_geo_ip_policys=[{
            "action": "drop",
            "domain": "12.com",
            "protocol": "http",
            "region_type": "china",
        }],
        cc_precision_policys=[{
            "domain": "1.com",
            "ip": "162.62.163.34",
            "policy_action": "drop",
            "policys": [{
                "field_name": "cgi",
                "field_type": "value",
                "value": "12123.com",
                "value_operator": "equal",
            }],
            "protocol": "http",
        }],
        cc_precision_req_limits=[{
            "domain": "11.com",
            "level": "loose",
            "policys": [{
                "action": "alg",
                "execute_duration": 2,
                "mode": "equal",
                "period": 5,
                "request_num": 12,
                "uri": "15.com",
            }],
            "protocol": "http",
        }],
        resource_id="bgpip-000004xf",
        thresholds=[{
            "domain": "12.com",
            "threshold": 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.NewDayuCcPolicyV2(ctx, "demo", &tencentcloud.DayuCcPolicyV2Args{
    			Business: pulumi.String("bgpip"),
    			CcBlackWhiteIps: tencentcloud.DayuCcPolicyV2CcBlackWhiteIpArray{
    				&tencentcloud.DayuCcPolicyV2CcBlackWhiteIpArgs{
    					BlackWhiteIp: pulumi.String("1.2.3.4"),
    					Domain:       pulumi.String("12.com"),
    					Protocol:     pulumi.String("http"),
    					Type:         pulumi.String("black"),
    				},
    			},
    			CcGeoIpPolicys: tencentcloud.DayuCcPolicyV2CcGeoIpPolicyArray{
    				&tencentcloud.DayuCcPolicyV2CcGeoIpPolicyArgs{
    					Action:     pulumi.String("drop"),
    					Domain:     pulumi.String("12.com"),
    					Protocol:   pulumi.String("http"),
    					RegionType: pulumi.String("china"),
    				},
    			},
    			CcPrecisionPolicys: tencentcloud.DayuCcPolicyV2CcPrecisionPolicyArray{
    				&tencentcloud.DayuCcPolicyV2CcPrecisionPolicyArgs{
    					Domain:       pulumi.String("1.com"),
    					Ip:           pulumi.String("162.62.163.34"),
    					PolicyAction: pulumi.String("drop"),
    					Policys: tencentcloud.DayuCcPolicyV2CcPrecisionPolicyPolicyArray{
    						&tencentcloud.DayuCcPolicyV2CcPrecisionPolicyPolicyArgs{
    							FieldName:     pulumi.String("cgi"),
    							FieldType:     pulumi.String("value"),
    							Value:         pulumi.String("12123.com"),
    							ValueOperator: pulumi.String("equal"),
    						},
    					},
    					Protocol: pulumi.String("http"),
    				},
    			},
    			CcPrecisionReqLimits: tencentcloud.DayuCcPolicyV2CcPrecisionReqLimitArray{
    				&tencentcloud.DayuCcPolicyV2CcPrecisionReqLimitArgs{
    					Domain: pulumi.String("11.com"),
    					Level:  pulumi.String("loose"),
    					Policys: tencentcloud.DayuCcPolicyV2CcPrecisionReqLimitPolicyArray{
    						&tencentcloud.DayuCcPolicyV2CcPrecisionReqLimitPolicyArgs{
    							Action:          pulumi.String("alg"),
    							ExecuteDuration: pulumi.Float64(2),
    							Mode:            pulumi.String("equal"),
    							Period:          pulumi.Float64(5),
    							RequestNum:      pulumi.Float64(12),
    							Uri:             pulumi.String("15.com"),
    						},
    					},
    					Protocol: pulumi.String("http"),
    				},
    			},
    			ResourceId: pulumi.String("bgpip-000004xf"),
    			Thresholds: tencentcloud.DayuCcPolicyV2ThresholdArray{
    				&tencentcloud.DayuCcPolicyV2ThresholdArgs{
    					Domain:    pulumi.String("12.com"),
    					Threshold: 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 demo = new Tencentcloud.DayuCcPolicyV2("demo", new()
        {
            Business = "bgpip",
            CcBlackWhiteIps = new[]
            {
                new Tencentcloud.Inputs.DayuCcPolicyV2CcBlackWhiteIpArgs
                {
                    BlackWhiteIp = "1.2.3.4",
                    Domain = "12.com",
                    Protocol = "http",
                    Type = "black",
                },
            },
            CcGeoIpPolicys = new[]
            {
                new Tencentcloud.Inputs.DayuCcPolicyV2CcGeoIpPolicyArgs
                {
                    Action = "drop",
                    Domain = "12.com",
                    Protocol = "http",
                    RegionType = "china",
                },
            },
            CcPrecisionPolicys = new[]
            {
                new Tencentcloud.Inputs.DayuCcPolicyV2CcPrecisionPolicyArgs
                {
                    Domain = "1.com",
                    Ip = "162.62.163.34",
                    PolicyAction = "drop",
                    Policys = new[]
                    {
                        new Tencentcloud.Inputs.DayuCcPolicyV2CcPrecisionPolicyPolicyArgs
                        {
                            FieldName = "cgi",
                            FieldType = "value",
                            Value = "12123.com",
                            ValueOperator = "equal",
                        },
                    },
                    Protocol = "http",
                },
            },
            CcPrecisionReqLimits = new[]
            {
                new Tencentcloud.Inputs.DayuCcPolicyV2CcPrecisionReqLimitArgs
                {
                    Domain = "11.com",
                    Level = "loose",
                    Policys = new[]
                    {
                        new Tencentcloud.Inputs.DayuCcPolicyV2CcPrecisionReqLimitPolicyArgs
                        {
                            Action = "alg",
                            ExecuteDuration = 2,
                            Mode = "equal",
                            Period = 5,
                            RequestNum = 12,
                            Uri = "15.com",
                        },
                    },
                    Protocol = "http",
                },
            },
            ResourceId = "bgpip-000004xf",
            Thresholds = new[]
            {
                new Tencentcloud.Inputs.DayuCcPolicyV2ThresholdArgs
                {
                    Domain = "12.com",
                    Threshold = 0,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.DayuCcPolicyV2;
    import com.pulumi.tencentcloud.DayuCcPolicyV2Args;
    import com.pulumi.tencentcloud.inputs.DayuCcPolicyV2CcBlackWhiteIpArgs;
    import com.pulumi.tencentcloud.inputs.DayuCcPolicyV2CcGeoIpPolicyArgs;
    import com.pulumi.tencentcloud.inputs.DayuCcPolicyV2CcPrecisionPolicyArgs;
    import com.pulumi.tencentcloud.inputs.DayuCcPolicyV2CcPrecisionReqLimitArgs;
    import com.pulumi.tencentcloud.inputs.DayuCcPolicyV2ThresholdArgs;
    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 demo = new DayuCcPolicyV2("demo", DayuCcPolicyV2Args.builder()
                .business("bgpip")
                .ccBlackWhiteIps(DayuCcPolicyV2CcBlackWhiteIpArgs.builder()
                    .blackWhiteIp("1.2.3.4")
                    .domain("12.com")
                    .protocol("http")
                    .type("black")
                    .build())
                .ccGeoIpPolicys(DayuCcPolicyV2CcGeoIpPolicyArgs.builder()
                    .action("drop")
                    .domain("12.com")
                    .protocol("http")
                    .regionType("china")
                    .build())
                .ccPrecisionPolicys(DayuCcPolicyV2CcPrecisionPolicyArgs.builder()
                    .domain("1.com")
                    .ip("162.62.163.34")
                    .policyAction("drop")
                    .policys(DayuCcPolicyV2CcPrecisionPolicyPolicyArgs.builder()
                        .fieldName("cgi")
                        .fieldType("value")
                        .value("12123.com")
                        .valueOperator("equal")
                        .build())
                    .protocol("http")
                    .build())
                .ccPrecisionReqLimits(DayuCcPolicyV2CcPrecisionReqLimitArgs.builder()
                    .domain("11.com")
                    .level("loose")
                    .policys(DayuCcPolicyV2CcPrecisionReqLimitPolicyArgs.builder()
                        .action("alg")
                        .executeDuration(2)
                        .mode("equal")
                        .period(5)
                        .requestNum(12)
                        .uri("15.com")
                        .build())
                    .protocol("http")
                    .build())
                .resourceId("bgpip-000004xf")
                .thresholds(DayuCcPolicyV2ThresholdArgs.builder()
                    .domain("12.com")
                    .threshold(0)
                    .build())
                .build());
    
        }
    }
    
    resources:
      demo:
        type: tencentcloud:DayuCcPolicyV2
        properties:
          business: bgpip
          ccBlackWhiteIps:
            - blackWhiteIp: 1.2.3.4
              domain: 12.com
              protocol: http
              type: black
          ccGeoIpPolicys:
            - action: drop
              domain: 12.com
              protocol: http
              regionType: china
          ccPrecisionPolicys:
            - domain: 1.com
              ip: 162.62.163.34
              policyAction: drop
              policys:
                - fieldName: cgi
                  fieldType: value
                  value: 12123.com
                  valueOperator: equal
              protocol: http
          ccPrecisionReqLimits:
            - domain: 11.com
              level: loose
              policys:
                - action: alg
                  executeDuration: 2
                  mode: equal
                  period: 5
                  requestNum: 12
                  uri: 15.com
              protocol: http
          resourceId: bgpip-000004xf
          thresholds:
            - domain: 12.com
              threshold: 0
    

    Create DayuCcPolicyV2 Resource

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

    Constructor syntax

    new DayuCcPolicyV2(name: string, args: DayuCcPolicyV2Args, opts?: CustomResourceOptions);
    @overload
    def DayuCcPolicyV2(resource_name: str,
                       args: DayuCcPolicyV2Args,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def DayuCcPolicyV2(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       business: Optional[str] = None,
                       resource_id: Optional[str] = None,
                       cc_black_white_ips: Optional[Sequence[DayuCcPolicyV2CcBlackWhiteIpArgs]] = None,
                       cc_geo_ip_policys: Optional[Sequence[DayuCcPolicyV2CcGeoIpPolicyArgs]] = None,
                       cc_precision_policys: Optional[Sequence[DayuCcPolicyV2CcPrecisionPolicyArgs]] = None,
                       cc_precision_req_limits: Optional[Sequence[DayuCcPolicyV2CcPrecisionReqLimitArgs]] = None,
                       dayu_cc_policy_v2_id: Optional[str] = None,
                       thresholds: Optional[Sequence[DayuCcPolicyV2ThresholdArgs]] = None)
    func NewDayuCcPolicyV2(ctx *Context, name string, args DayuCcPolicyV2Args, opts ...ResourceOption) (*DayuCcPolicyV2, error)
    public DayuCcPolicyV2(string name, DayuCcPolicyV2Args args, CustomResourceOptions? opts = null)
    public DayuCcPolicyV2(String name, DayuCcPolicyV2Args args)
    public DayuCcPolicyV2(String name, DayuCcPolicyV2Args args, CustomResourceOptions options)
    
    type: tencentcloud:DayuCcPolicyV2
    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 DayuCcPolicyV2Args
    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 DayuCcPolicyV2Args
    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 DayuCcPolicyV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DayuCcPolicyV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DayuCcPolicyV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Business string
    Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
    ResourceId string
    The ID of the resource instance.
    CcBlackWhiteIps List<DayuCcPolicyV2CcBlackWhiteIp>
    Blacklist and whitelist.
    CcGeoIpPolicys List<DayuCcPolicyV2CcGeoIpPolicy>
    Details of the CC region blocking policy list.
    CcPrecisionPolicys List<DayuCcPolicyV2CcPrecisionPolicy>
    CC Precision Protection List.
    CcPrecisionReqLimits List<DayuCcPolicyV2CcPrecisionReqLimit>
    CC frequency throttling policy.
    DayuCcPolicyV2Id string
    ID of the resource.
    Thresholds List<DayuCcPolicyV2Threshold>
    List of protection threshold configurations.
    Business string
    Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
    ResourceId string
    The ID of the resource instance.
    CcBlackWhiteIps []DayuCcPolicyV2CcBlackWhiteIpArgs
    Blacklist and whitelist.
    CcGeoIpPolicys []DayuCcPolicyV2CcGeoIpPolicyArgs
    Details of the CC region blocking policy list.
    CcPrecisionPolicys []DayuCcPolicyV2CcPrecisionPolicyArgs
    CC Precision Protection List.
    CcPrecisionReqLimits []DayuCcPolicyV2CcPrecisionReqLimitArgs
    CC frequency throttling policy.
    DayuCcPolicyV2Id string
    ID of the resource.
    Thresholds []DayuCcPolicyV2ThresholdArgs
    List of protection threshold configurations.
    business String
    Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
    resourceId String
    The ID of the resource instance.
    ccBlackWhiteIps List<DayuCcPolicyV2CcBlackWhiteIp>
    Blacklist and whitelist.
    ccGeoIpPolicys List<DayuCcPolicyV2CcGeoIpPolicy>
    Details of the CC region blocking policy list.
    ccPrecisionPolicys List<DayuCcPolicyV2CcPrecisionPolicy>
    CC Precision Protection List.
    ccPrecisionReqLimits List<DayuCcPolicyV2CcPrecisionReqLimit>
    CC frequency throttling policy.
    dayuCcPolicyV2Id String
    ID of the resource.
    thresholds List<DayuCcPolicyV2Threshold>
    List of protection threshold configurations.
    business string
    Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
    resourceId string
    The ID of the resource instance.
    ccBlackWhiteIps DayuCcPolicyV2CcBlackWhiteIp[]
    Blacklist and whitelist.
    ccGeoIpPolicys DayuCcPolicyV2CcGeoIpPolicy[]
    Details of the CC region blocking policy list.
    ccPrecisionPolicys DayuCcPolicyV2CcPrecisionPolicy[]
    CC Precision Protection List.
    ccPrecisionReqLimits DayuCcPolicyV2CcPrecisionReqLimit[]
    CC frequency throttling policy.
    dayuCcPolicyV2Id string
    ID of the resource.
    thresholds DayuCcPolicyV2Threshold[]
    List of protection threshold configurations.
    business str
    Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
    resource_id str
    The ID of the resource instance.
    cc_black_white_ips Sequence[DayuCcPolicyV2CcBlackWhiteIpArgs]
    Blacklist and whitelist.
    cc_geo_ip_policys Sequence[DayuCcPolicyV2CcGeoIpPolicyArgs]
    Details of the CC region blocking policy list.
    cc_precision_policys Sequence[DayuCcPolicyV2CcPrecisionPolicyArgs]
    CC Precision Protection List.
    cc_precision_req_limits Sequence[DayuCcPolicyV2CcPrecisionReqLimitArgs]
    CC frequency throttling policy.
    dayu_cc_policy_v2_id str
    ID of the resource.
    thresholds Sequence[DayuCcPolicyV2ThresholdArgs]
    List of protection threshold configurations.
    business String
    Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
    resourceId String
    The ID of the resource instance.
    ccBlackWhiteIps List<Property Map>
    Blacklist and whitelist.
    ccGeoIpPolicys List<Property Map>
    Details of the CC region blocking policy list.
    ccPrecisionPolicys List<Property Map>
    CC Precision Protection List.
    ccPrecisionReqLimits List<Property Map>
    CC frequency throttling policy.
    dayuCcPolicyV2Id String
    ID of the resource.
    thresholds List<Property Map>
    List of protection threshold configurations.

    Outputs

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

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

    Look up Existing DayuCcPolicyV2 Resource

    Get an existing DayuCcPolicyV2 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?: DayuCcPolicyV2State, opts?: CustomResourceOptions): DayuCcPolicyV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            business: Optional[str] = None,
            cc_black_white_ips: Optional[Sequence[DayuCcPolicyV2CcBlackWhiteIpArgs]] = None,
            cc_geo_ip_policys: Optional[Sequence[DayuCcPolicyV2CcGeoIpPolicyArgs]] = None,
            cc_precision_policys: Optional[Sequence[DayuCcPolicyV2CcPrecisionPolicyArgs]] = None,
            cc_precision_req_limits: Optional[Sequence[DayuCcPolicyV2CcPrecisionReqLimitArgs]] = None,
            dayu_cc_policy_v2_id: Optional[str] = None,
            resource_id: Optional[str] = None,
            thresholds: Optional[Sequence[DayuCcPolicyV2ThresholdArgs]] = None) -> DayuCcPolicyV2
    func GetDayuCcPolicyV2(ctx *Context, name string, id IDInput, state *DayuCcPolicyV2State, opts ...ResourceOption) (*DayuCcPolicyV2, error)
    public static DayuCcPolicyV2 Get(string name, Input<string> id, DayuCcPolicyV2State? state, CustomResourceOptions? opts = null)
    public static DayuCcPolicyV2 get(String name, Output<String> id, DayuCcPolicyV2State state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:DayuCcPolicyV2    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Business string
    Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
    CcBlackWhiteIps List<DayuCcPolicyV2CcBlackWhiteIp>
    Blacklist and whitelist.
    CcGeoIpPolicys List<DayuCcPolicyV2CcGeoIpPolicy>
    Details of the CC region blocking policy list.
    CcPrecisionPolicys List<DayuCcPolicyV2CcPrecisionPolicy>
    CC Precision Protection List.
    CcPrecisionReqLimits List<DayuCcPolicyV2CcPrecisionReqLimit>
    CC frequency throttling policy.
    DayuCcPolicyV2Id string
    ID of the resource.
    ResourceId string
    The ID of the resource instance.
    Thresholds List<DayuCcPolicyV2Threshold>
    List of protection threshold configurations.
    Business string
    Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
    CcBlackWhiteIps []DayuCcPolicyV2CcBlackWhiteIpArgs
    Blacklist and whitelist.
    CcGeoIpPolicys []DayuCcPolicyV2CcGeoIpPolicyArgs
    Details of the CC region blocking policy list.
    CcPrecisionPolicys []DayuCcPolicyV2CcPrecisionPolicyArgs
    CC Precision Protection List.
    CcPrecisionReqLimits []DayuCcPolicyV2CcPrecisionReqLimitArgs
    CC frequency throttling policy.
    DayuCcPolicyV2Id string
    ID of the resource.
    ResourceId string
    The ID of the resource instance.
    Thresholds []DayuCcPolicyV2ThresholdArgs
    List of protection threshold configurations.
    business String
    Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
    ccBlackWhiteIps List<DayuCcPolicyV2CcBlackWhiteIp>
    Blacklist and whitelist.
    ccGeoIpPolicys List<DayuCcPolicyV2CcGeoIpPolicy>
    Details of the CC region blocking policy list.
    ccPrecisionPolicys List<DayuCcPolicyV2CcPrecisionPolicy>
    CC Precision Protection List.
    ccPrecisionReqLimits List<DayuCcPolicyV2CcPrecisionReqLimit>
    CC frequency throttling policy.
    dayuCcPolicyV2Id String
    ID of the resource.
    resourceId String
    The ID of the resource instance.
    thresholds List<DayuCcPolicyV2Threshold>
    List of protection threshold configurations.
    business string
    Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
    ccBlackWhiteIps DayuCcPolicyV2CcBlackWhiteIp[]
    Blacklist and whitelist.
    ccGeoIpPolicys DayuCcPolicyV2CcGeoIpPolicy[]
    Details of the CC region blocking policy list.
    ccPrecisionPolicys DayuCcPolicyV2CcPrecisionPolicy[]
    CC Precision Protection List.
    ccPrecisionReqLimits DayuCcPolicyV2CcPrecisionReqLimit[]
    CC frequency throttling policy.
    dayuCcPolicyV2Id string
    ID of the resource.
    resourceId string
    The ID of the resource instance.
    thresholds DayuCcPolicyV2Threshold[]
    List of protection threshold configurations.
    business str
    Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
    cc_black_white_ips Sequence[DayuCcPolicyV2CcBlackWhiteIpArgs]
    Blacklist and whitelist.
    cc_geo_ip_policys Sequence[DayuCcPolicyV2CcGeoIpPolicyArgs]
    Details of the CC region blocking policy list.
    cc_precision_policys Sequence[DayuCcPolicyV2CcPrecisionPolicyArgs]
    CC Precision Protection List.
    cc_precision_req_limits Sequence[DayuCcPolicyV2CcPrecisionReqLimitArgs]
    CC frequency throttling policy.
    dayu_cc_policy_v2_id str
    ID of the resource.
    resource_id str
    The ID of the resource instance.
    thresholds Sequence[DayuCcPolicyV2ThresholdArgs]
    List of protection threshold configurations.
    business String
    Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
    ccBlackWhiteIps List<Property Map>
    Blacklist and whitelist.
    ccGeoIpPolicys List<Property Map>
    Details of the CC region blocking policy list.
    ccPrecisionPolicys List<Property Map>
    CC Precision Protection List.
    ccPrecisionReqLimits List<Property Map>
    CC frequency throttling policy.
    dayuCcPolicyV2Id String
    ID of the resource.
    resourceId String
    The ID of the resource instance.
    thresholds List<Property Map>
    List of protection threshold configurations.

    Supporting Types

    DayuCcPolicyV2CcBlackWhiteIp, DayuCcPolicyV2CcBlackWhiteIpArgs

    BlackWhiteIp string
    Blacklist and whitelist IP addresses.
    Domain string
    Domain.
    Protocol string
    Protocol.
    Type string
    IP type, value [black(blacklist IP), white (whitelist IP)].
    CreateTime string
    Create time.
    ModifyTime string
    Modify time.
    BlackWhiteIp string
    Blacklist and whitelist IP addresses.
    Domain string
    Domain.
    Protocol string
    Protocol.
    Type string
    IP type, value [black(blacklist IP), white (whitelist IP)].
    CreateTime string
    Create time.
    ModifyTime string
    Modify time.
    blackWhiteIp String
    Blacklist and whitelist IP addresses.
    domain String
    Domain.
    protocol String
    Protocol.
    type String
    IP type, value [black(blacklist IP), white (whitelist IP)].
    createTime String
    Create time.
    modifyTime String
    Modify time.
    blackWhiteIp string
    Blacklist and whitelist IP addresses.
    domain string
    Domain.
    protocol string
    Protocol.
    type string
    IP type, value [black(blacklist IP), white (whitelist IP)].
    createTime string
    Create time.
    modifyTime string
    Modify time.
    black_white_ip str
    Blacklist and whitelist IP addresses.
    domain str
    Domain.
    protocol str
    Protocol.
    type str
    IP type, value [black(blacklist IP), white (whitelist IP)].
    create_time str
    Create time.
    modify_time str
    Modify time.
    blackWhiteIp String
    Blacklist and whitelist IP addresses.
    domain String
    Domain.
    protocol String
    Protocol.
    type String
    IP type, value [black(blacklist IP), white (whitelist IP)].
    createTime String
    Create time.
    modifyTime String
    Modify time.

    DayuCcPolicyV2CcGeoIpPolicy, DayuCcPolicyV2CcGeoIpPolicyArgs

    Action string
    User action, drop or arg.
    Domain string
    domain.
    Protocol string
    Protocol, preferably HTTP, HTTPS.
    RegionType string
    Regional types, divided into china, oversea and customized.
    AreaLists List<double>
    The list of region IDs that the user selects to block.
    CreateTime string
    Create time.
    ModifyTime string
    Modify time.
    Action string
    User action, drop or arg.
    Domain string
    domain.
    Protocol string
    Protocol, preferably HTTP, HTTPS.
    RegionType string
    Regional types, divided into china, oversea and customized.
    AreaLists []float64
    The list of region IDs that the user selects to block.
    CreateTime string
    Create time.
    ModifyTime string
    Modify time.
    action String
    User action, drop or arg.
    domain String
    domain.
    protocol String
    Protocol, preferably HTTP, HTTPS.
    regionType String
    Regional types, divided into china, oversea and customized.
    areaLists List<Double>
    The list of region IDs that the user selects to block.
    createTime String
    Create time.
    modifyTime String
    Modify time.
    action string
    User action, drop or arg.
    domain string
    domain.
    protocol string
    Protocol, preferably HTTP, HTTPS.
    regionType string
    Regional types, divided into china, oversea and customized.
    areaLists number[]
    The list of region IDs that the user selects to block.
    createTime string
    Create time.
    modifyTime string
    Modify time.
    action str
    User action, drop or arg.
    domain str
    domain.
    protocol str
    Protocol, preferably HTTP, HTTPS.
    region_type str
    Regional types, divided into china, oversea and customized.
    area_lists Sequence[float]
    The list of region IDs that the user selects to block.
    create_time str
    Create time.
    modify_time str
    Modify time.
    action String
    User action, drop or arg.
    domain String
    domain.
    protocol String
    Protocol, preferably HTTP, HTTPS.
    regionType String
    Regional types, divided into china, oversea and customized.
    areaLists List<Number>
    The list of region IDs that the user selects to block.
    createTime String
    Create time.
    modifyTime String
    Modify time.

    DayuCcPolicyV2CcPrecisionPolicy, DayuCcPolicyV2CcPrecisionPolicyArgs

    Domain string
    Domain.
    Ip string
    Ip address.
    PolicyAction string
    Policy mode (discard or captcha).
    Policys List<DayuCcPolicyV2CcPrecisionPolicyPolicy>
    A list of policies.
    Protocol string
    Protocol.
    PolicyId string
    Policy Id.
    Domain string
    Domain.
    Ip string
    Ip address.
    PolicyAction string
    Policy mode (discard or captcha).
    Policys []DayuCcPolicyV2CcPrecisionPolicyPolicy
    A list of policies.
    Protocol string
    Protocol.
    PolicyId string
    Policy Id.
    domain String
    Domain.
    ip String
    Ip address.
    policyAction String
    Policy mode (discard or captcha).
    policys List<DayuCcPolicyV2CcPrecisionPolicyPolicy>
    A list of policies.
    protocol String
    Protocol.
    policyId String
    Policy Id.
    domain string
    Domain.
    ip string
    Ip address.
    policyAction string
    Policy mode (discard or captcha).
    policys DayuCcPolicyV2CcPrecisionPolicyPolicy[]
    A list of policies.
    protocol string
    Protocol.
    policyId string
    Policy Id.
    domain str
    Domain.
    ip str
    Ip address.
    policy_action str
    Policy mode (discard or captcha).
    policys Sequence[DayuCcPolicyV2CcPrecisionPolicyPolicy]
    A list of policies.
    protocol str
    Protocol.
    policy_id str
    Policy Id.
    domain String
    Domain.
    ip String
    Ip address.
    policyAction String
    Policy mode (discard or captcha).
    policys List<Property Map>
    A list of policies.
    protocol String
    Protocol.
    policyId String
    Policy Id.

    DayuCcPolicyV2CcPrecisionPolicyPolicy, DayuCcPolicyV2CcPrecisionPolicyPolicyArgs

    FieldName string
    Configuration item types, currently only support value.
    FieldType string
    Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
    Value string
    Configure the value.
    ValueOperator string
    Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
    FieldName string
    Configuration item types, currently only support value.
    FieldType string
    Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
    Value string
    Configure the value.
    ValueOperator string
    Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
    fieldName String
    Configuration item types, currently only support value.
    fieldType String
    Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
    value String
    Configure the value.
    valueOperator String
    Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
    fieldName string
    Configuration item types, currently only support value.
    fieldType string
    Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
    value string
    Configure the value.
    valueOperator string
    Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
    field_name str
    Configuration item types, currently only support value.
    field_type str
    Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
    value str
    Configure the value.
    value_operator str
    Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
    fieldName String
    Configuration item types, currently only support value.
    fieldType String
    Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
    value String
    Configure the value.
    valueOperator String
    Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.

    DayuCcPolicyV2CcPrecisionReqLimit, DayuCcPolicyV2CcPrecisionReqLimitArgs

    Domain string
    Domain.
    Level string
    Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
    Policys List<DayuCcPolicyV2CcPrecisionReqLimitPolicy>
    The CC Frequency Limit Policy Item field.
    Protocol string
    Protocol, preferably HTTP, HTTPS.
    InstanceId string
    Instance id.
    Ip string
    IP address.
    Domain string
    Domain.
    Level string
    Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
    Policys []DayuCcPolicyV2CcPrecisionReqLimitPolicy
    The CC Frequency Limit Policy Item field.
    Protocol string
    Protocol, preferably HTTP, HTTPS.
    InstanceId string
    Instance id.
    Ip string
    IP address.
    domain String
    Domain.
    level String
    Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
    policys List<DayuCcPolicyV2CcPrecisionReqLimitPolicy>
    The CC Frequency Limit Policy Item field.
    protocol String
    Protocol, preferably HTTP, HTTPS.
    instanceId String
    Instance id.
    ip String
    IP address.
    domain string
    Domain.
    level string
    Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
    policys DayuCcPolicyV2CcPrecisionReqLimitPolicy[]
    The CC Frequency Limit Policy Item field.
    protocol string
    Protocol, preferably HTTP, HTTPS.
    instanceId string
    Instance id.
    ip string
    IP address.
    domain str
    Domain.
    level str
    Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
    policys Sequence[DayuCcPolicyV2CcPrecisionReqLimitPolicy]
    The CC Frequency Limit Policy Item field.
    protocol str
    Protocol, preferably HTTP, HTTPS.
    instance_id str
    Instance id.
    ip str
    IP address.
    domain String
    Domain.
    level String
    Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
    policys List<Property Map>
    The CC Frequency Limit Policy Item field.
    protocol String
    Protocol, preferably HTTP, HTTPS.
    instanceId String
    Instance id.
    ip String
    IP address.

    DayuCcPolicyV2CcPrecisionReqLimitPolicy, DayuCcPolicyV2CcPrecisionReqLimitPolicyArgs

    Action string
    The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
    ExecuteDuration double
    The duration of the frequency limit policy can be taken from 1 to 86400 per second.
    Mode string
    The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
    Period double
    Statistical period, take values 1, 10, 30, 60, in seconds.
    RequestNum double
    The number of requests, the value is 1 to 20000.
    Cookie string
    Cookies, one of the three policy entries can only be filled in.
    Uri string
    Uri, one of the three policy entries can only be filled in.
    UserAgent string
    User-Agent, only one of the three policy entries can be filled in.
    Action string
    The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
    ExecuteDuration float64
    The duration of the frequency limit policy can be taken from 1 to 86400 per second.
    Mode string
    The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
    Period float64
    Statistical period, take values 1, 10, 30, 60, in seconds.
    RequestNum float64
    The number of requests, the value is 1 to 20000.
    Cookie string
    Cookies, one of the three policy entries can only be filled in.
    Uri string
    Uri, one of the three policy entries can only be filled in.
    UserAgent string
    User-Agent, only one of the three policy entries can be filled in.
    action String
    The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
    executeDuration Double
    The duration of the frequency limit policy can be taken from 1 to 86400 per second.
    mode String
    The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
    period Double
    Statistical period, take values 1, 10, 30, 60, in seconds.
    requestNum Double
    The number of requests, the value is 1 to 20000.
    cookie String
    Cookies, one of the three policy entries can only be filled in.
    uri String
    Uri, one of the three policy entries can only be filled in.
    userAgent String
    User-Agent, only one of the three policy entries can be filled in.
    action string
    The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
    executeDuration number
    The duration of the frequency limit policy can be taken from 1 to 86400 per second.
    mode string
    The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
    period number
    Statistical period, take values 1, 10, 30, 60, in seconds.
    requestNum number
    The number of requests, the value is 1 to 20000.
    cookie string
    Cookies, one of the three policy entries can only be filled in.
    uri string
    Uri, one of the three policy entries can only be filled in.
    userAgent string
    User-Agent, only one of the three policy entries can be filled in.
    action str
    The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
    execute_duration float
    The duration of the frequency limit policy can be taken from 1 to 86400 per second.
    mode str
    The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
    period float
    Statistical period, take values 1, 10, 30, 60, in seconds.
    request_num float
    The number of requests, the value is 1 to 20000.
    cookie str
    Cookies, one of the three policy entries can only be filled in.
    uri str
    Uri, one of the three policy entries can only be filled in.
    user_agent str
    User-Agent, only one of the three policy entries can be filled in.
    action String
    The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
    executeDuration Number
    The duration of the frequency limit policy can be taken from 1 to 86400 per second.
    mode String
    The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
    period Number
    Statistical period, take values 1, 10, 30, 60, in seconds.
    requestNum Number
    The number of requests, the value is 1 to 20000.
    cookie String
    Cookies, one of the three policy entries can only be filled in.
    uri String
    Uri, one of the three policy entries can only be filled in.
    userAgent String
    User-Agent, only one of the three policy entries can be filled in.

    DayuCcPolicyV2Threshold, DayuCcPolicyV2ThresholdArgs

    Domain string
    domain.
    Threshold double
    Cleaning threshold, -1 indicates that the default mode is turned on.
    Domain string
    domain.
    Threshold float64
    Cleaning threshold, -1 indicates that the default mode is turned on.
    domain String
    domain.
    threshold Double
    Cleaning threshold, -1 indicates that the default mode is turned on.
    domain string
    domain.
    threshold number
    Cleaning threshold, -1 indicates that the default mode is turned on.
    domain str
    domain.
    threshold float
    Cleaning threshold, -1 indicates that the default mode is turned on.
    domain String
    domain.
    threshold Number
    Cleaning threshold, -1 indicates that the default mode is turned on.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack