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

tencentcloud.DayuDdosPolicyV2

Explore with Pulumi AI

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

    Use this resource to create dayu DDoS policy v2

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const ddosV2 = new tencentcloud.DayuDdosPolicyV2("ddosV2", {
        acls: [{
            action: "transmit",
            dPortEnd: 10,
            dPortStart: 1,
            forwardProtocol: "all",
            priority: 9,
            sPortEnd: 20,
            sPortStart: 10,
        }],
        blackWhiteIps: [{
            ip: "1.2.3.4",
            ipType: "black",
        }],
        business: "bgpip",
        ddosAi: "on",
        ddosConnectLimit: {
            badConnThreshold: 30,
            connTimeout: 30,
            dstConnLimit: 21,
            dstNewLimit: 20,
            nullConnEnable: 1,
            sdConnLimit: 11,
            sdNewLimit: 10,
            synLimit: 20,
            synRate: 10,
        },
        ddosGeoIpBlockConfigs: [{
            action: "drop",
            areaLists: [100001],
            regionType: "customized",
        }],
        ddosLevel: "low",
        ddosSpeedLimitConfigs: [{
            bandwidth: 20,
            dstPortList: "10",
            mode: 1,
            packetRate: 10,
            protocolList: "TCP",
        }],
        ddosThreshold: 100,
        packetFilters: [{
            action: "drop",
            dPortEnd: 20,
            dPortStart: 20,
            depth: 2,
            depth2: 3,
            isNot: 0,
            isNot2: 0,
            matchBegin: "begin_l3",
            matchBegin2: "begin_l3",
            matchLogic: "and",
            matchType: "pcre",
            matchType2: "pcre",
            offset: 1,
            offset2: 2,
            pktlenMax: 30,
            pktlenMin: 30,
            protocol: "all",
            sPortEnd: 10,
            sPortStart: 10,
            str: "12",
            str2: "30",
        }],
        protocolBlockConfigs: [{
            dropIcmp: 1,
            dropOther: 0,
            dropTcp: 0,
            dropUdp: 0,
        }],
        resourceId: "bgpip-000004xf",
        waterPrintConfigs: [{
            listeners: [{
                forwardProtocol: "TCP",
                frontendPort: 90,
                frontendPortEnd: 90,
            }],
            offset: 1,
            openStatus: 1,
            verify: "checkall",
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    ddos_v2 = tencentcloud.DayuDdosPolicyV2("ddosV2",
        acls=[{
            "action": "transmit",
            "d_port_end": 10,
            "d_port_start": 1,
            "forward_protocol": "all",
            "priority": 9,
            "s_port_end": 20,
            "s_port_start": 10,
        }],
        black_white_ips=[{
            "ip": "1.2.3.4",
            "ip_type": "black",
        }],
        business="bgpip",
        ddos_ai="on",
        ddos_connect_limit={
            "bad_conn_threshold": 30,
            "conn_timeout": 30,
            "dst_conn_limit": 21,
            "dst_new_limit": 20,
            "null_conn_enable": 1,
            "sd_conn_limit": 11,
            "sd_new_limit": 10,
            "syn_limit": 20,
            "syn_rate": 10,
        },
        ddos_geo_ip_block_configs=[{
            "action": "drop",
            "area_lists": [100001],
            "region_type": "customized",
        }],
        ddos_level="low",
        ddos_speed_limit_configs=[{
            "bandwidth": 20,
            "dst_port_list": "10",
            "mode": 1,
            "packet_rate": 10,
            "protocol_list": "TCP",
        }],
        ddos_threshold=100,
        packet_filters=[{
            "action": "drop",
            "d_port_end": 20,
            "d_port_start": 20,
            "depth": 2,
            "depth2": 3,
            "is_not": 0,
            "is_not2": 0,
            "match_begin": "begin_l3",
            "match_begin2": "begin_l3",
            "match_logic": "and",
            "match_type": "pcre",
            "match_type2": "pcre",
            "offset": 1,
            "offset2": 2,
            "pktlen_max": 30,
            "pktlen_min": 30,
            "protocol": "all",
            "s_port_end": 10,
            "s_port_start": 10,
            "str": "12",
            "str2": "30",
        }],
        protocol_block_configs=[{
            "drop_icmp": 1,
            "drop_other": 0,
            "drop_tcp": 0,
            "drop_udp": 0,
        }],
        resource_id="bgpip-000004xf",
        water_print_configs=[{
            "listeners": [{
                "forward_protocol": "TCP",
                "frontend_port": 90,
                "frontend_port_end": 90,
            }],
            "offset": 1,
            "open_status": 1,
            "verify": "checkall",
        }])
    
    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.NewDayuDdosPolicyV2(ctx, "ddosV2", &tencentcloud.DayuDdosPolicyV2Args{
    			Acls: tencentcloud.DayuDdosPolicyV2AclArray{
    				&tencentcloud.DayuDdosPolicyV2AclArgs{
    					Action:          pulumi.String("transmit"),
    					DPortEnd:        pulumi.Float64(10),
    					DPortStart:      pulumi.Float64(1),
    					ForwardProtocol: pulumi.String("all"),
    					Priority:        pulumi.Float64(9),
    					SPortEnd:        pulumi.Float64(20),
    					SPortStart:      pulumi.Float64(10),
    				},
    			},
    			BlackWhiteIps: tencentcloud.DayuDdosPolicyV2BlackWhiteIpArray{
    				&tencentcloud.DayuDdosPolicyV2BlackWhiteIpArgs{
    					Ip:     pulumi.String("1.2.3.4"),
    					IpType: pulumi.String("black"),
    				},
    			},
    			Business: pulumi.String("bgpip"),
    			DdosAi:   pulumi.String("on"),
    			DdosConnectLimit: &tencentcloud.DayuDdosPolicyV2DdosConnectLimitArgs{
    				BadConnThreshold: pulumi.Float64(30),
    				ConnTimeout:      pulumi.Float64(30),
    				DstConnLimit:     pulumi.Float64(21),
    				DstNewLimit:      pulumi.Float64(20),
    				NullConnEnable:   pulumi.Float64(1),
    				SdConnLimit:      pulumi.Float64(11),
    				SdNewLimit:       pulumi.Float64(10),
    				SynLimit:         pulumi.Float64(20),
    				SynRate:          pulumi.Float64(10),
    			},
    			DdosGeoIpBlockConfigs: tencentcloud.DayuDdosPolicyV2DdosGeoIpBlockConfigArray{
    				&tencentcloud.DayuDdosPolicyV2DdosGeoIpBlockConfigArgs{
    					Action: pulumi.String("drop"),
    					AreaLists: pulumi.Float64Array{
    						pulumi.Float64(100001),
    					},
    					RegionType: pulumi.String("customized"),
    				},
    			},
    			DdosLevel: pulumi.String("low"),
    			DdosSpeedLimitConfigs: tencentcloud.DayuDdosPolicyV2DdosSpeedLimitConfigArray{
    				&tencentcloud.DayuDdosPolicyV2DdosSpeedLimitConfigArgs{
    					Bandwidth:    pulumi.Float64(20),
    					DstPortList:  pulumi.String("10"),
    					Mode:         pulumi.Float64(1),
    					PacketRate:   pulumi.Float64(10),
    					ProtocolList: pulumi.String("TCP"),
    				},
    			},
    			DdosThreshold: pulumi.Float64(100),
    			PacketFilters: tencentcloud.DayuDdosPolicyV2PacketFilterArray{
    				&tencentcloud.DayuDdosPolicyV2PacketFilterArgs{
    					Action:      pulumi.String("drop"),
    					DPortEnd:    pulumi.Float64(20),
    					DPortStart:  pulumi.Float64(20),
    					Depth:       pulumi.Float64(2),
    					Depth2:      pulumi.Float64(3),
    					IsNot:       pulumi.Float64(0),
    					IsNot2:      pulumi.Float64(0),
    					MatchBegin:  pulumi.String("begin_l3"),
    					MatchBegin2: pulumi.String("begin_l3"),
    					MatchLogic:  pulumi.String("and"),
    					MatchType:   pulumi.String("pcre"),
    					MatchType2:  pulumi.String("pcre"),
    					Offset:      pulumi.Float64(1),
    					Offset2:     pulumi.Float64(2),
    					PktlenMax:   pulumi.Float64(30),
    					PktlenMin:   pulumi.Float64(30),
    					Protocol:    pulumi.String("all"),
    					SPortEnd:    pulumi.Float64(10),
    					SPortStart:  pulumi.Float64(10),
    					Str:         pulumi.String("12"),
    					Str2:        pulumi.String("30"),
    				},
    			},
    			ProtocolBlockConfigs: tencentcloud.DayuDdosPolicyV2ProtocolBlockConfigArray{
    				&tencentcloud.DayuDdosPolicyV2ProtocolBlockConfigArgs{
    					DropIcmp:  pulumi.Float64(1),
    					DropOther: pulumi.Float64(0),
    					DropTcp:   pulumi.Float64(0),
    					DropUdp:   pulumi.Float64(0),
    				},
    			},
    			ResourceId: pulumi.String("bgpip-000004xf"),
    			WaterPrintConfigs: tencentcloud.DayuDdosPolicyV2WaterPrintConfigArray{
    				&tencentcloud.DayuDdosPolicyV2WaterPrintConfigArgs{
    					Listeners: tencentcloud.DayuDdosPolicyV2WaterPrintConfigListenerArray{
    						&tencentcloud.DayuDdosPolicyV2WaterPrintConfigListenerArgs{
    							ForwardProtocol: pulumi.String("TCP"),
    							FrontendPort:    pulumi.Float64(90),
    							FrontendPortEnd: pulumi.Float64(90),
    						},
    					},
    					Offset:     pulumi.Float64(1),
    					OpenStatus: pulumi.Float64(1),
    					Verify:     pulumi.String("checkall"),
    				},
    			},
    		})
    		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 ddosV2 = new Tencentcloud.DayuDdosPolicyV2("ddosV2", new()
        {
            Acls = new[]
            {
                new Tencentcloud.Inputs.DayuDdosPolicyV2AclArgs
                {
                    Action = "transmit",
                    DPortEnd = 10,
                    DPortStart = 1,
                    ForwardProtocol = "all",
                    Priority = 9,
                    SPortEnd = 20,
                    SPortStart = 10,
                },
            },
            BlackWhiteIps = new[]
            {
                new Tencentcloud.Inputs.DayuDdosPolicyV2BlackWhiteIpArgs
                {
                    Ip = "1.2.3.4",
                    IpType = "black",
                },
            },
            Business = "bgpip",
            DdosAi = "on",
            DdosConnectLimit = new Tencentcloud.Inputs.DayuDdosPolicyV2DdosConnectLimitArgs
            {
                BadConnThreshold = 30,
                ConnTimeout = 30,
                DstConnLimit = 21,
                DstNewLimit = 20,
                NullConnEnable = 1,
                SdConnLimit = 11,
                SdNewLimit = 10,
                SynLimit = 20,
                SynRate = 10,
            },
            DdosGeoIpBlockConfigs = new[]
            {
                new Tencentcloud.Inputs.DayuDdosPolicyV2DdosGeoIpBlockConfigArgs
                {
                    Action = "drop",
                    AreaLists = new[]
                    {
                        100001,
                    },
                    RegionType = "customized",
                },
            },
            DdosLevel = "low",
            DdosSpeedLimitConfigs = new[]
            {
                new Tencentcloud.Inputs.DayuDdosPolicyV2DdosSpeedLimitConfigArgs
                {
                    Bandwidth = 20,
                    DstPortList = "10",
                    Mode = 1,
                    PacketRate = 10,
                    ProtocolList = "TCP",
                },
            },
            DdosThreshold = 100,
            PacketFilters = new[]
            {
                new Tencentcloud.Inputs.DayuDdosPolicyV2PacketFilterArgs
                {
                    Action = "drop",
                    DPortEnd = 20,
                    DPortStart = 20,
                    Depth = 2,
                    Depth2 = 3,
                    IsNot = 0,
                    IsNot2 = 0,
                    MatchBegin = "begin_l3",
                    MatchBegin2 = "begin_l3",
                    MatchLogic = "and",
                    MatchType = "pcre",
                    MatchType2 = "pcre",
                    Offset = 1,
                    Offset2 = 2,
                    PktlenMax = 30,
                    PktlenMin = 30,
                    Protocol = "all",
                    SPortEnd = 10,
                    SPortStart = 10,
                    Str = "12",
                    Str2 = "30",
                },
            },
            ProtocolBlockConfigs = new[]
            {
                new Tencentcloud.Inputs.DayuDdosPolicyV2ProtocolBlockConfigArgs
                {
                    DropIcmp = 1,
                    DropOther = 0,
                    DropTcp = 0,
                    DropUdp = 0,
                },
            },
            ResourceId = "bgpip-000004xf",
            WaterPrintConfigs = new[]
            {
                new Tencentcloud.Inputs.DayuDdosPolicyV2WaterPrintConfigArgs
                {
                    Listeners = new[]
                    {
                        new Tencentcloud.Inputs.DayuDdosPolicyV2WaterPrintConfigListenerArgs
                        {
                            ForwardProtocol = "TCP",
                            FrontendPort = 90,
                            FrontendPortEnd = 90,
                        },
                    },
                    Offset = 1,
                    OpenStatus = 1,
                    Verify = "checkall",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.DayuDdosPolicyV2;
    import com.pulumi.tencentcloud.DayuDdosPolicyV2Args;
    import com.pulumi.tencentcloud.inputs.DayuDdosPolicyV2AclArgs;
    import com.pulumi.tencentcloud.inputs.DayuDdosPolicyV2BlackWhiteIpArgs;
    import com.pulumi.tencentcloud.inputs.DayuDdosPolicyV2DdosConnectLimitArgs;
    import com.pulumi.tencentcloud.inputs.DayuDdosPolicyV2DdosGeoIpBlockConfigArgs;
    import com.pulumi.tencentcloud.inputs.DayuDdosPolicyV2DdosSpeedLimitConfigArgs;
    import com.pulumi.tencentcloud.inputs.DayuDdosPolicyV2PacketFilterArgs;
    import com.pulumi.tencentcloud.inputs.DayuDdosPolicyV2ProtocolBlockConfigArgs;
    import com.pulumi.tencentcloud.inputs.DayuDdosPolicyV2WaterPrintConfigArgs;
    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 ddosV2 = new DayuDdosPolicyV2("ddosV2", DayuDdosPolicyV2Args.builder()
                .acls(DayuDdosPolicyV2AclArgs.builder()
                    .action("transmit")
                    .dPortEnd(10)
                    .dPortStart(1)
                    .forwardProtocol("all")
                    .priority(9)
                    .sPortEnd(20)
                    .sPortStart(10)
                    .build())
                .blackWhiteIps(DayuDdosPolicyV2BlackWhiteIpArgs.builder()
                    .ip("1.2.3.4")
                    .ipType("black")
                    .build())
                .business("bgpip")
                .ddosAi("on")
                .ddosConnectLimit(DayuDdosPolicyV2DdosConnectLimitArgs.builder()
                    .badConnThreshold(30)
                    .connTimeout(30)
                    .dstConnLimit(21)
                    .dstNewLimit(20)
                    .nullConnEnable(1)
                    .sdConnLimit(11)
                    .sdNewLimit(10)
                    .synLimit(20)
                    .synRate(10)
                    .build())
                .ddosGeoIpBlockConfigs(DayuDdosPolicyV2DdosGeoIpBlockConfigArgs.builder()
                    .action("drop")
                    .areaLists("100001")
                    .regionType("customized")
                    .build())
                .ddosLevel("low")
                .ddosSpeedLimitConfigs(DayuDdosPolicyV2DdosSpeedLimitConfigArgs.builder()
                    .bandwidth(20)
                    .dstPortList("10")
                    .mode(1)
                    .packetRate(10)
                    .protocolList("TCP")
                    .build())
                .ddosThreshold("100")
                .packetFilters(DayuDdosPolicyV2PacketFilterArgs.builder()
                    .action("drop")
                    .dPortEnd(20)
                    .dPortStart(20)
                    .depth(2)
                    .depth2(3)
                    .isNot(0)
                    .isNot2(0)
                    .matchBegin("begin_l3")
                    .matchBegin2("begin_l3")
                    .matchLogic("and")
                    .matchType("pcre")
                    .matchType2("pcre")
                    .offset(1)
                    .offset2(2)
                    .pktlenMax(30)
                    .pktlenMin(30)
                    .protocol("all")
                    .sPortEnd(10)
                    .sPortStart(10)
                    .str("12")
                    .str2("30")
                    .build())
                .protocolBlockConfigs(DayuDdosPolicyV2ProtocolBlockConfigArgs.builder()
                    .dropIcmp(1)
                    .dropOther(0)
                    .dropTcp(0)
                    .dropUdp(0)
                    .build())
                .resourceId("bgpip-000004xf")
                .waterPrintConfigs(DayuDdosPolicyV2WaterPrintConfigArgs.builder()
                    .listeners(DayuDdosPolicyV2WaterPrintConfigListenerArgs.builder()
                        .forwardProtocol("TCP")
                        .frontendPort(90)
                        .frontendPortEnd(90)
                        .build())
                    .offset(1)
                    .openStatus(1)
                    .verify("checkall")
                    .build())
                .build());
    
        }
    }
    
    resources:
      ddosV2:
        type: tencentcloud:DayuDdosPolicyV2
        properties:
          acls:
            - action: transmit
              dPortEnd: 10
              dPortStart: 1
              forwardProtocol: all
              priority: 9
              sPortEnd: 20
              sPortStart: 10
          blackWhiteIps:
            - ip: 1.2.3.4
              ipType: black
          business: bgpip
          ddosAi: on
          ddosConnectLimit:
            badConnThreshold: 30
            connTimeout: 30
            dstConnLimit: 21
            dstNewLimit: 20
            nullConnEnable: 1
            sdConnLimit: 11
            sdNewLimit: 10
            synLimit: 20
            synRate: 10
          ddosGeoIpBlockConfigs:
            - action: drop
              areaLists:
                - '100001'
              regionType: customized
          ddosLevel: low
          ddosSpeedLimitConfigs:
            - bandwidth: 20
              dstPortList: '10'
              mode: 1
              packetRate: 10
              protocolList: TCP
          ddosThreshold: '100'
          packetFilters:
            - action: drop
              dPortEnd: 20
              dPortStart: 20
              depth: 2
              depth2: 3
              isNot: 0
              isNot2: 0
              matchBegin: begin_l3
              matchBegin2: begin_l3
              matchLogic: and
              matchType: pcre
              matchType2: pcre
              offset: 1
              offset2: 2
              pktlenMax: 30
              pktlenMin: 30
              protocol: all
              sPortEnd: 10
              sPortStart: 10
              str: '12'
              str2: '30'
          protocolBlockConfigs:
            - dropIcmp: 1
              dropOther: 0
              dropTcp: 0
              dropUdp: 0
          resourceId: bgpip-000004xf
          waterPrintConfigs:
            - listeners:
                - forwardProtocol: TCP
                  frontendPort: 90
                  frontendPortEnd: 90
              offset: 1
              openStatus: 1
              verify: checkall
    

    Create DayuDdosPolicyV2 Resource

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

    Constructor syntax

    new DayuDdosPolicyV2(name: string, args: DayuDdosPolicyV2Args, opts?: CustomResourceOptions);
    @overload
    def DayuDdosPolicyV2(resource_name: str,
                         args: DayuDdosPolicyV2Args,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def DayuDdosPolicyV2(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         resource_id: Optional[str] = None,
                         ddos_geo_ip_block_configs: Optional[Sequence[DayuDdosPolicyV2DdosGeoIpBlockConfigArgs]] = None,
                         business: Optional[str] = None,
                         dayu_ddos_policy_v2_id: Optional[str] = None,
                         ddos_ai: Optional[str] = None,
                         ddos_connect_limit: Optional[DayuDdosPolicyV2DdosConnectLimitArgs] = None,
                         acls: Optional[Sequence[DayuDdosPolicyV2AclArgs]] = None,
                         ddos_level: Optional[str] = None,
                         ddos_speed_limit_configs: Optional[Sequence[DayuDdosPolicyV2DdosSpeedLimitConfigArgs]] = None,
                         ddos_threshold: Optional[float] = None,
                         packet_filters: Optional[Sequence[DayuDdosPolicyV2PacketFilterArgs]] = None,
                         protocol_block_configs: Optional[Sequence[DayuDdosPolicyV2ProtocolBlockConfigArgs]] = None,
                         black_white_ips: Optional[Sequence[DayuDdosPolicyV2BlackWhiteIpArgs]] = None,
                         water_print_configs: Optional[Sequence[DayuDdosPolicyV2WaterPrintConfigArgs]] = None)
    func NewDayuDdosPolicyV2(ctx *Context, name string, args DayuDdosPolicyV2Args, opts ...ResourceOption) (*DayuDdosPolicyV2, error)
    public DayuDdosPolicyV2(string name, DayuDdosPolicyV2Args args, CustomResourceOptions? opts = null)
    public DayuDdosPolicyV2(String name, DayuDdosPolicyV2Args args)
    public DayuDdosPolicyV2(String name, DayuDdosPolicyV2Args args, CustomResourceOptions options)
    
    type: tencentcloud:DayuDdosPolicyV2
    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 DayuDdosPolicyV2Args
    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 DayuDdosPolicyV2Args
    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 DayuDdosPolicyV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DayuDdosPolicyV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DayuDdosPolicyV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    ResourceId string
    The ID of the resource instance.
    Acls List<DayuDdosPolicyV2Acl>
    Port ACL policy for DDoS protection.
    BlackWhiteIps List<DayuDdosPolicyV2BlackWhiteIp>
    DDoS-protected IP blacklist and whitelist.
    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.
    DayuDdosPolicyV2Id string
    ID of the resource.
    DdosAi string
    AI protection switch, take the value [on, off].
    DdosConnectLimit DayuDdosPolicyV2DdosConnectLimit
    DDoS connection suppression options.
    DdosGeoIpBlockConfigs List<DayuDdosPolicyV2DdosGeoIpBlockConfig>
    DDoS-protected area block configuration.
    DdosLevel string
    Protection class, value [low, middle, high].
    DdosSpeedLimitConfigs List<DayuDdosPolicyV2DdosSpeedLimitConfig>
    Access speed limit configuration for DDoS protection.
    DdosThreshold double
    DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
    PacketFilters List<DayuDdosPolicyV2PacketFilter>
    Feature filtering rules for DDoS protection.
    ProtocolBlockConfigs List<DayuDdosPolicyV2ProtocolBlockConfig>
    Protocol block configuration for DDoS protection.
    WaterPrintConfigs List<DayuDdosPolicyV2WaterPrintConfig>
    Water print config.
    ResourceId string
    The ID of the resource instance.
    Acls []DayuDdosPolicyV2AclArgs
    Port ACL policy for DDoS protection.
    BlackWhiteIps []DayuDdosPolicyV2BlackWhiteIpArgs
    DDoS-protected IP blacklist and whitelist.
    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.
    DayuDdosPolicyV2Id string
    ID of the resource.
    DdosAi string
    AI protection switch, take the value [on, off].
    DdosConnectLimit DayuDdosPolicyV2DdosConnectLimitArgs
    DDoS connection suppression options.
    DdosGeoIpBlockConfigs []DayuDdosPolicyV2DdosGeoIpBlockConfigArgs
    DDoS-protected area block configuration.
    DdosLevel string
    Protection class, value [low, middle, high].
    DdosSpeedLimitConfigs []DayuDdosPolicyV2DdosSpeedLimitConfigArgs
    Access speed limit configuration for DDoS protection.
    DdosThreshold float64
    DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
    PacketFilters []DayuDdosPolicyV2PacketFilterArgs
    Feature filtering rules for DDoS protection.
    ProtocolBlockConfigs []DayuDdosPolicyV2ProtocolBlockConfigArgs
    Protocol block configuration for DDoS protection.
    WaterPrintConfigs []DayuDdosPolicyV2WaterPrintConfigArgs
    Water print config.
    resourceId String
    The ID of the resource instance.
    acls List<DayuDdosPolicyV2Acl>
    Port ACL policy for DDoS protection.
    blackWhiteIps List<DayuDdosPolicyV2BlackWhiteIp>
    DDoS-protected IP blacklist and whitelist.
    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.
    dayuDdosPolicyV2Id String
    ID of the resource.
    ddosAi String
    AI protection switch, take the value [on, off].
    ddosConnectLimit DayuDdosPolicyV2DdosConnectLimit
    DDoS connection suppression options.
    ddosGeoIpBlockConfigs List<DayuDdosPolicyV2DdosGeoIpBlockConfig>
    DDoS-protected area block configuration.
    ddosLevel String
    Protection class, value [low, middle, high].
    ddosSpeedLimitConfigs List<DayuDdosPolicyV2DdosSpeedLimitConfig>
    Access speed limit configuration for DDoS protection.
    ddosThreshold Double
    DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
    packetFilters List<DayuDdosPolicyV2PacketFilter>
    Feature filtering rules for DDoS protection.
    protocolBlockConfigs List<DayuDdosPolicyV2ProtocolBlockConfig>
    Protocol block configuration for DDoS protection.
    waterPrintConfigs List<DayuDdosPolicyV2WaterPrintConfig>
    Water print config.
    resourceId string
    The ID of the resource instance.
    acls DayuDdosPolicyV2Acl[]
    Port ACL policy for DDoS protection.
    blackWhiteIps DayuDdosPolicyV2BlackWhiteIp[]
    DDoS-protected IP blacklist and whitelist.
    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.
    dayuDdosPolicyV2Id string
    ID of the resource.
    ddosAi string
    AI protection switch, take the value [on, off].
    ddosConnectLimit DayuDdosPolicyV2DdosConnectLimit
    DDoS connection suppression options.
    ddosGeoIpBlockConfigs DayuDdosPolicyV2DdosGeoIpBlockConfig[]
    DDoS-protected area block configuration.
    ddosLevel string
    Protection class, value [low, middle, high].
    ddosSpeedLimitConfigs DayuDdosPolicyV2DdosSpeedLimitConfig[]
    Access speed limit configuration for DDoS protection.
    ddosThreshold number
    DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
    packetFilters DayuDdosPolicyV2PacketFilter[]
    Feature filtering rules for DDoS protection.
    protocolBlockConfigs DayuDdosPolicyV2ProtocolBlockConfig[]
    Protocol block configuration for DDoS protection.
    waterPrintConfigs DayuDdosPolicyV2WaterPrintConfig[]
    Water print config.
    resource_id str
    The ID of the resource instance.
    acls Sequence[DayuDdosPolicyV2AclArgs]
    Port ACL policy for DDoS protection.
    black_white_ips Sequence[DayuDdosPolicyV2BlackWhiteIpArgs]
    DDoS-protected IP blacklist and whitelist.
    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.
    dayu_ddos_policy_v2_id str
    ID of the resource.
    ddos_ai str
    AI protection switch, take the value [on, off].
    ddos_connect_limit DayuDdosPolicyV2DdosConnectLimitArgs
    DDoS connection suppression options.
    ddos_geo_ip_block_configs Sequence[DayuDdosPolicyV2DdosGeoIpBlockConfigArgs]
    DDoS-protected area block configuration.
    ddos_level str
    Protection class, value [low, middle, high].
    ddos_speed_limit_configs Sequence[DayuDdosPolicyV2DdosSpeedLimitConfigArgs]
    Access speed limit configuration for DDoS protection.
    ddos_threshold float
    DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
    packet_filters Sequence[DayuDdosPolicyV2PacketFilterArgs]
    Feature filtering rules for DDoS protection.
    protocol_block_configs Sequence[DayuDdosPolicyV2ProtocolBlockConfigArgs]
    Protocol block configuration for DDoS protection.
    water_print_configs Sequence[DayuDdosPolicyV2WaterPrintConfigArgs]
    Water print config.
    resourceId String
    The ID of the resource instance.
    acls List<Property Map>
    Port ACL policy for DDoS protection.
    blackWhiteIps List<Property Map>
    DDoS-protected IP blacklist and whitelist.
    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.
    dayuDdosPolicyV2Id String
    ID of the resource.
    ddosAi String
    AI protection switch, take the value [on, off].
    ddosConnectLimit Property Map
    DDoS connection suppression options.
    ddosGeoIpBlockConfigs List<Property Map>
    DDoS-protected area block configuration.
    ddosLevel String
    Protection class, value [low, middle, high].
    ddosSpeedLimitConfigs List<Property Map>
    Access speed limit configuration for DDoS protection.
    ddosThreshold Number
    DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
    packetFilters List<Property Map>
    Feature filtering rules for DDoS protection.
    protocolBlockConfigs List<Property Map>
    Protocol block configuration for DDoS protection.
    waterPrintConfigs List<Property Map>
    Water print config.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DayuDdosPolicyV2 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 DayuDdosPolicyV2 Resource

    Get an existing DayuDdosPolicyV2 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?: DayuDdosPolicyV2State, opts?: CustomResourceOptions): DayuDdosPolicyV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            acls: Optional[Sequence[DayuDdosPolicyV2AclArgs]] = None,
            black_white_ips: Optional[Sequence[DayuDdosPolicyV2BlackWhiteIpArgs]] = None,
            business: Optional[str] = None,
            dayu_ddos_policy_v2_id: Optional[str] = None,
            ddos_ai: Optional[str] = None,
            ddos_connect_limit: Optional[DayuDdosPolicyV2DdosConnectLimitArgs] = None,
            ddos_geo_ip_block_configs: Optional[Sequence[DayuDdosPolicyV2DdosGeoIpBlockConfigArgs]] = None,
            ddos_level: Optional[str] = None,
            ddos_speed_limit_configs: Optional[Sequence[DayuDdosPolicyV2DdosSpeedLimitConfigArgs]] = None,
            ddos_threshold: Optional[float] = None,
            packet_filters: Optional[Sequence[DayuDdosPolicyV2PacketFilterArgs]] = None,
            protocol_block_configs: Optional[Sequence[DayuDdosPolicyV2ProtocolBlockConfigArgs]] = None,
            resource_id: Optional[str] = None,
            water_print_configs: Optional[Sequence[DayuDdosPolicyV2WaterPrintConfigArgs]] = None) -> DayuDdosPolicyV2
    func GetDayuDdosPolicyV2(ctx *Context, name string, id IDInput, state *DayuDdosPolicyV2State, opts ...ResourceOption) (*DayuDdosPolicyV2, error)
    public static DayuDdosPolicyV2 Get(string name, Input<string> id, DayuDdosPolicyV2State? state, CustomResourceOptions? opts = null)
    public static DayuDdosPolicyV2 get(String name, Output<String> id, DayuDdosPolicyV2State state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:DayuDdosPolicyV2    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:
    Acls List<DayuDdosPolicyV2Acl>
    Port ACL policy for DDoS protection.
    BlackWhiteIps List<DayuDdosPolicyV2BlackWhiteIp>
    DDoS-protected IP blacklist and whitelist.
    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.
    DayuDdosPolicyV2Id string
    ID of the resource.
    DdosAi string
    AI protection switch, take the value [on, off].
    DdosConnectLimit DayuDdosPolicyV2DdosConnectLimit
    DDoS connection suppression options.
    DdosGeoIpBlockConfigs List<DayuDdosPolicyV2DdosGeoIpBlockConfig>
    DDoS-protected area block configuration.
    DdosLevel string
    Protection class, value [low, middle, high].
    DdosSpeedLimitConfigs List<DayuDdosPolicyV2DdosSpeedLimitConfig>
    Access speed limit configuration for DDoS protection.
    DdosThreshold double
    DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
    PacketFilters List<DayuDdosPolicyV2PacketFilter>
    Feature filtering rules for DDoS protection.
    ProtocolBlockConfigs List<DayuDdosPolicyV2ProtocolBlockConfig>
    Protocol block configuration for DDoS protection.
    ResourceId string
    The ID of the resource instance.
    WaterPrintConfigs List<DayuDdosPolicyV2WaterPrintConfig>
    Water print config.
    Acls []DayuDdosPolicyV2AclArgs
    Port ACL policy for DDoS protection.
    BlackWhiteIps []DayuDdosPolicyV2BlackWhiteIpArgs
    DDoS-protected IP blacklist and whitelist.
    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.
    DayuDdosPolicyV2Id string
    ID of the resource.
    DdosAi string
    AI protection switch, take the value [on, off].
    DdosConnectLimit DayuDdosPolicyV2DdosConnectLimitArgs
    DDoS connection suppression options.
    DdosGeoIpBlockConfigs []DayuDdosPolicyV2DdosGeoIpBlockConfigArgs
    DDoS-protected area block configuration.
    DdosLevel string
    Protection class, value [low, middle, high].
    DdosSpeedLimitConfigs []DayuDdosPolicyV2DdosSpeedLimitConfigArgs
    Access speed limit configuration for DDoS protection.
    DdosThreshold float64
    DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
    PacketFilters []DayuDdosPolicyV2PacketFilterArgs
    Feature filtering rules for DDoS protection.
    ProtocolBlockConfigs []DayuDdosPolicyV2ProtocolBlockConfigArgs
    Protocol block configuration for DDoS protection.
    ResourceId string
    The ID of the resource instance.
    WaterPrintConfigs []DayuDdosPolicyV2WaterPrintConfigArgs
    Water print config.
    acls List<DayuDdosPolicyV2Acl>
    Port ACL policy for DDoS protection.
    blackWhiteIps List<DayuDdosPolicyV2BlackWhiteIp>
    DDoS-protected IP blacklist and whitelist.
    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.
    dayuDdosPolicyV2Id String
    ID of the resource.
    ddosAi String
    AI protection switch, take the value [on, off].
    ddosConnectLimit DayuDdosPolicyV2DdosConnectLimit
    DDoS connection suppression options.
    ddosGeoIpBlockConfigs List<DayuDdosPolicyV2DdosGeoIpBlockConfig>
    DDoS-protected area block configuration.
    ddosLevel String
    Protection class, value [low, middle, high].
    ddosSpeedLimitConfigs List<DayuDdosPolicyV2DdosSpeedLimitConfig>
    Access speed limit configuration for DDoS protection.
    ddosThreshold Double
    DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
    packetFilters List<DayuDdosPolicyV2PacketFilter>
    Feature filtering rules for DDoS protection.
    protocolBlockConfigs List<DayuDdosPolicyV2ProtocolBlockConfig>
    Protocol block configuration for DDoS protection.
    resourceId String
    The ID of the resource instance.
    waterPrintConfigs List<DayuDdosPolicyV2WaterPrintConfig>
    Water print config.
    acls DayuDdosPolicyV2Acl[]
    Port ACL policy for DDoS protection.
    blackWhiteIps DayuDdosPolicyV2BlackWhiteIp[]
    DDoS-protected IP blacklist and whitelist.
    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.
    dayuDdosPolicyV2Id string
    ID of the resource.
    ddosAi string
    AI protection switch, take the value [on, off].
    ddosConnectLimit DayuDdosPolicyV2DdosConnectLimit
    DDoS connection suppression options.
    ddosGeoIpBlockConfigs DayuDdosPolicyV2DdosGeoIpBlockConfig[]
    DDoS-protected area block configuration.
    ddosLevel string
    Protection class, value [low, middle, high].
    ddosSpeedLimitConfigs DayuDdosPolicyV2DdosSpeedLimitConfig[]
    Access speed limit configuration for DDoS protection.
    ddosThreshold number
    DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
    packetFilters DayuDdosPolicyV2PacketFilter[]
    Feature filtering rules for DDoS protection.
    protocolBlockConfigs DayuDdosPolicyV2ProtocolBlockConfig[]
    Protocol block configuration for DDoS protection.
    resourceId string
    The ID of the resource instance.
    waterPrintConfigs DayuDdosPolicyV2WaterPrintConfig[]
    Water print config.
    acls Sequence[DayuDdosPolicyV2AclArgs]
    Port ACL policy for DDoS protection.
    black_white_ips Sequence[DayuDdosPolicyV2BlackWhiteIpArgs]
    DDoS-protected IP blacklist and whitelist.
    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.
    dayu_ddos_policy_v2_id str
    ID of the resource.
    ddos_ai str
    AI protection switch, take the value [on, off].
    ddos_connect_limit DayuDdosPolicyV2DdosConnectLimitArgs
    DDoS connection suppression options.
    ddos_geo_ip_block_configs Sequence[DayuDdosPolicyV2DdosGeoIpBlockConfigArgs]
    DDoS-protected area block configuration.
    ddos_level str
    Protection class, value [low, middle, high].
    ddos_speed_limit_configs Sequence[DayuDdosPolicyV2DdosSpeedLimitConfigArgs]
    Access speed limit configuration for DDoS protection.
    ddos_threshold float
    DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
    packet_filters Sequence[DayuDdosPolicyV2PacketFilterArgs]
    Feature filtering rules for DDoS protection.
    protocol_block_configs Sequence[DayuDdosPolicyV2ProtocolBlockConfigArgs]
    Protocol block configuration for DDoS protection.
    resource_id str
    The ID of the resource instance.
    water_print_configs Sequence[DayuDdosPolicyV2WaterPrintConfigArgs]
    Water print config.
    acls List<Property Map>
    Port ACL policy for DDoS protection.
    blackWhiteIps List<Property Map>
    DDoS-protected IP blacklist and whitelist.
    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.
    dayuDdosPolicyV2Id String
    ID of the resource.
    ddosAi String
    AI protection switch, take the value [on, off].
    ddosConnectLimit Property Map
    DDoS connection suppression options.
    ddosGeoIpBlockConfigs List<Property Map>
    DDoS-protected area block configuration.
    ddosLevel String
    Protection class, value [low, middle, high].
    ddosSpeedLimitConfigs List<Property Map>
    Access speed limit configuration for DDoS protection.
    ddosThreshold Number
    DDoS cleaning threshold, value[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; When the value is set to 0, it means that the default value is adopted.
    packetFilters List<Property Map>
    Feature filtering rules for DDoS protection.
    protocolBlockConfigs List<Property Map>
    Protocol block configuration for DDoS protection.
    resourceId String
    The ID of the resource instance.
    waterPrintConfigs List<Property Map>
    Water print config.

    Supporting Types

    DayuDdosPolicyV2Acl, DayuDdosPolicyV2AclArgs

    Action string
    Action, optional values: drop, transmit, forward.
    DPortEnd double
    The destination port ends, and the value range is 0~65535.
    DPortStart double
    The destination port starts, and the value range is 0~65535.
    ForwardProtocol string
    Protocol type, desirable values tcp, udp, all.
    Priority double
    Policy priority, the lower the number, the higher the level, the higher the rule matches, taking a value of 1-1000.Note: This field may return null, indicating that a valid value could not be retrieved.
    SPortEnd double
    The source port ends, and the acceptable value ranges from 0 to 65535.
    SPortStart double
    The source port starts, and the value range is 0~65535.
    Action string
    Action, optional values: drop, transmit, forward.
    DPortEnd float64
    The destination port ends, and the value range is 0~65535.
    DPortStart float64
    The destination port starts, and the value range is 0~65535.
    ForwardProtocol string
    Protocol type, desirable values tcp, udp, all.
    Priority float64
    Policy priority, the lower the number, the higher the level, the higher the rule matches, taking a value of 1-1000.Note: This field may return null, indicating that a valid value could not be retrieved.
    SPortEnd float64
    The source port ends, and the acceptable value ranges from 0 to 65535.
    SPortStart float64
    The source port starts, and the value range is 0~65535.
    action String
    Action, optional values: drop, transmit, forward.
    dPortEnd Double
    The destination port ends, and the value range is 0~65535.
    dPortStart Double
    The destination port starts, and the value range is 0~65535.
    forwardProtocol String
    Protocol type, desirable values tcp, udp, all.
    priority Double
    Policy priority, the lower the number, the higher the level, the higher the rule matches, taking a value of 1-1000.Note: This field may return null, indicating that a valid value could not be retrieved.
    sPortEnd Double
    The source port ends, and the acceptable value ranges from 0 to 65535.
    sPortStart Double
    The source port starts, and the value range is 0~65535.
    action string
    Action, optional values: drop, transmit, forward.
    dPortEnd number
    The destination port ends, and the value range is 0~65535.
    dPortStart number
    The destination port starts, and the value range is 0~65535.
    forwardProtocol string
    Protocol type, desirable values tcp, udp, all.
    priority number
    Policy priority, the lower the number, the higher the level, the higher the rule matches, taking a value of 1-1000.Note: This field may return null, indicating that a valid value could not be retrieved.
    sPortEnd number
    The source port ends, and the acceptable value ranges from 0 to 65535.
    sPortStart number
    The source port starts, and the value range is 0~65535.
    action str
    Action, optional values: drop, transmit, forward.
    d_port_end float
    The destination port ends, and the value range is 0~65535.
    d_port_start float
    The destination port starts, and the value range is 0~65535.
    forward_protocol str
    Protocol type, desirable values tcp, udp, all.
    priority float
    Policy priority, the lower the number, the higher the level, the higher the rule matches, taking a value of 1-1000.Note: This field may return null, indicating that a valid value could not be retrieved.
    s_port_end float
    The source port ends, and the acceptable value ranges from 0 to 65535.
    s_port_start float
    The source port starts, and the value range is 0~65535.
    action String
    Action, optional values: drop, transmit, forward.
    dPortEnd Number
    The destination port ends, and the value range is 0~65535.
    dPortStart Number
    The destination port starts, and the value range is 0~65535.
    forwardProtocol String
    Protocol type, desirable values tcp, udp, all.
    priority Number
    Policy priority, the lower the number, the higher the level, the higher the rule matches, taking a value of 1-1000.Note: This field may return null, indicating that a valid value could not be retrieved.
    sPortEnd Number
    The source port ends, and the acceptable value ranges from 0 to 65535.
    sPortStart Number
    The source port starts, and the value range is 0~65535.

    DayuDdosPolicyV2BlackWhiteIp, DayuDdosPolicyV2BlackWhiteIpArgs

    Ip string
    Ip of resource instance.
    IpType string
    IP type, value [black(blacklist IP), white (whitelist IP)].
    Ip string
    Ip of resource instance.
    IpType string
    IP type, value [black(blacklist IP), white (whitelist IP)].
    ip String
    Ip of resource instance.
    ipType String
    IP type, value [black(blacklist IP), white (whitelist IP)].
    ip string
    Ip of resource instance.
    ipType string
    IP type, value [black(blacklist IP), white (whitelist IP)].
    ip str
    Ip of resource instance.
    ip_type str
    IP type, value [black(blacklist IP), white (whitelist IP)].
    ip String
    Ip of resource instance.
    ipType String
    IP type, value [black(blacklist IP), white (whitelist IP)].

    DayuDdosPolicyV2DdosConnectLimit, DayuDdosPolicyV2DdosConnectLimitArgs

    BadConnThreshold double
    Based on connection suppression trigger threshold, value range [0,4294967295].
    ConnTimeout double
    Abnormal connection detection condition, connection timeout, value range [0,65535].
    DstConnLimit double
    Concurrent connection control based on destination IP+ destination port.
    DstNewLimit double
    Limit on the number of news per second based on the destination IP.
    NullConnEnable double
    Abnormal connection detection conditions, empty connection guard switch, value range[0,1].
    SdConnLimit double
    Concurrent connection control based on source IP + destination IP.
    SdNewLimit double
    The limit on the number of news per second based on source IP + destination IP.
    SynLimit double
    Anomaly connection detection condition, syn threshold, value range [0,100].
    SynRate double
    Anomalous connection detection condition, percentage of syn ack, value range [0,100].
    BadConnThreshold float64
    Based on connection suppression trigger threshold, value range [0,4294967295].
    ConnTimeout float64
    Abnormal connection detection condition, connection timeout, value range [0,65535].
    DstConnLimit float64
    Concurrent connection control based on destination IP+ destination port.
    DstNewLimit float64
    Limit on the number of news per second based on the destination IP.
    NullConnEnable float64
    Abnormal connection detection conditions, empty connection guard switch, value range[0,1].
    SdConnLimit float64
    Concurrent connection control based on source IP + destination IP.
    SdNewLimit float64
    The limit on the number of news per second based on source IP + destination IP.
    SynLimit float64
    Anomaly connection detection condition, syn threshold, value range [0,100].
    SynRate float64
    Anomalous connection detection condition, percentage of syn ack, value range [0,100].
    badConnThreshold Double
    Based on connection suppression trigger threshold, value range [0,4294967295].
    connTimeout Double
    Abnormal connection detection condition, connection timeout, value range [0,65535].
    dstConnLimit Double
    Concurrent connection control based on destination IP+ destination port.
    dstNewLimit Double
    Limit on the number of news per second based on the destination IP.
    nullConnEnable Double
    Abnormal connection detection conditions, empty connection guard switch, value range[0,1].
    sdConnLimit Double
    Concurrent connection control based on source IP + destination IP.
    sdNewLimit Double
    The limit on the number of news per second based on source IP + destination IP.
    synLimit Double
    Anomaly connection detection condition, syn threshold, value range [0,100].
    synRate Double
    Anomalous connection detection condition, percentage of syn ack, value range [0,100].
    badConnThreshold number
    Based on connection suppression trigger threshold, value range [0,4294967295].
    connTimeout number
    Abnormal connection detection condition, connection timeout, value range [0,65535].
    dstConnLimit number
    Concurrent connection control based on destination IP+ destination port.
    dstNewLimit number
    Limit on the number of news per second based on the destination IP.
    nullConnEnable number
    Abnormal connection detection conditions, empty connection guard switch, value range[0,1].
    sdConnLimit number
    Concurrent connection control based on source IP + destination IP.
    sdNewLimit number
    The limit on the number of news per second based on source IP + destination IP.
    synLimit number
    Anomaly connection detection condition, syn threshold, value range [0,100].
    synRate number
    Anomalous connection detection condition, percentage of syn ack, value range [0,100].
    bad_conn_threshold float
    Based on connection suppression trigger threshold, value range [0,4294967295].
    conn_timeout float
    Abnormal connection detection condition, connection timeout, value range [0,65535].
    dst_conn_limit float
    Concurrent connection control based on destination IP+ destination port.
    dst_new_limit float
    Limit on the number of news per second based on the destination IP.
    null_conn_enable float
    Abnormal connection detection conditions, empty connection guard switch, value range[0,1].
    sd_conn_limit float
    Concurrent connection control based on source IP + destination IP.
    sd_new_limit float
    The limit on the number of news per second based on source IP + destination IP.
    syn_limit float
    Anomaly connection detection condition, syn threshold, value range [0,100].
    syn_rate float
    Anomalous connection detection condition, percentage of syn ack, value range [0,100].
    badConnThreshold Number
    Based on connection suppression trigger threshold, value range [0,4294967295].
    connTimeout Number
    Abnormal connection detection condition, connection timeout, value range [0,65535].
    dstConnLimit Number
    Concurrent connection control based on destination IP+ destination port.
    dstNewLimit Number
    Limit on the number of news per second based on the destination IP.
    nullConnEnable Number
    Abnormal connection detection conditions, empty connection guard switch, value range[0,1].
    sdConnLimit Number
    Concurrent connection control based on source IP + destination IP.
    sdNewLimit Number
    The limit on the number of news per second based on source IP + destination IP.
    synLimit Number
    Anomaly connection detection condition, syn threshold, value range [0,100].
    synRate Number
    Anomalous connection detection condition, percentage of syn ack, value range [0,100].

    DayuDdosPolicyV2DdosGeoIpBlockConfig, DayuDdosPolicyV2DdosGeoIpBlockConfigArgs

    Action string
    Block action, take the value [drop, trans].
    AreaLists List<double>
    When the RegionType is customized, the AreaList must be filled in, and a maximum of 128 must be filled in.
    RegionType string
    Zone type, value [oversea (overseas),china (domestic),customized (custom region)].
    Action string
    Block action, take the value [drop, trans].
    AreaLists []float64
    When the RegionType is customized, the AreaList must be filled in, and a maximum of 128 must be filled in.
    RegionType string
    Zone type, value [oversea (overseas),china (domestic),customized (custom region)].
    action String
    Block action, take the value [drop, trans].
    areaLists List<Double>
    When the RegionType is customized, the AreaList must be filled in, and a maximum of 128 must be filled in.
    regionType String
    Zone type, value [oversea (overseas),china (domestic),customized (custom region)].
    action string
    Block action, take the value [drop, trans].
    areaLists number[]
    When the RegionType is customized, the AreaList must be filled in, and a maximum of 128 must be filled in.
    regionType string
    Zone type, value [oversea (overseas),china (domestic),customized (custom region)].
    action str
    Block action, take the value [drop, trans].
    area_lists Sequence[float]
    When the RegionType is customized, the AreaList must be filled in, and a maximum of 128 must be filled in.
    region_type str
    Zone type, value [oversea (overseas),china (domestic),customized (custom region)].
    action String
    Block action, take the value [drop, trans].
    areaLists List<Number>
    When the RegionType is customized, the AreaList must be filled in, and a maximum of 128 must be filled in.
    regionType String
    Zone type, value [oversea (overseas),china (domestic),customized (custom region)].

    DayuDdosPolicyV2DdosSpeedLimitConfig, DayuDdosPolicyV2DdosSpeedLimitConfigArgs

    Bandwidth double
    Bandwidth bps.
    DstPortList string
    List of port ranges, up to 8, multiple; Separated, the range is represented with -; this port range must be filled in; fill in the style 1:0-65535, style 2:80; 443; 1000-2000.
    Mode double
    Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
    PacketRate double
    Packet rate pps.
    ProtocolList string
    IP protocol numbers, take the value[ ALL (all protocols),TCP (tcp protocol),UDP (udp protocol),SMP (smp protocol),1; 2-100 (custom protocol number range, up to 8)].
    Bandwidth float64
    Bandwidth bps.
    DstPortList string
    List of port ranges, up to 8, multiple; Separated, the range is represented with -; this port range must be filled in; fill in the style 1:0-65535, style 2:80; 443; 1000-2000.
    Mode float64
    Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
    PacketRate float64
    Packet rate pps.
    ProtocolList string
    IP protocol numbers, take the value[ ALL (all protocols),TCP (tcp protocol),UDP (udp protocol),SMP (smp protocol),1; 2-100 (custom protocol number range, up to 8)].
    bandwidth Double
    Bandwidth bps.
    dstPortList String
    List of port ranges, up to 8, multiple; Separated, the range is represented with -; this port range must be filled in; fill in the style 1:0-65535, style 2:80; 443; 1000-2000.
    mode Double
    Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
    packetRate Double
    Packet rate pps.
    protocolList String
    IP protocol numbers, take the value[ ALL (all protocols),TCP (tcp protocol),UDP (udp protocol),SMP (smp protocol),1; 2-100 (custom protocol number range, up to 8)].
    bandwidth number
    Bandwidth bps.
    dstPortList string
    List of port ranges, up to 8, multiple; Separated, the range is represented with -; this port range must be filled in; fill in the style 1:0-65535, style 2:80; 443; 1000-2000.
    mode number
    Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
    packetRate number
    Packet rate pps.
    protocolList string
    IP protocol numbers, take the value[ ALL (all protocols),TCP (tcp protocol),UDP (udp protocol),SMP (smp protocol),1; 2-100 (custom protocol number range, up to 8)].
    bandwidth float
    Bandwidth bps.
    dst_port_list str
    List of port ranges, up to 8, multiple; Separated, the range is represented with -; this port range must be filled in; fill in the style 1:0-65535, style 2:80; 443; 1000-2000.
    mode float
    Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
    packet_rate float
    Packet rate pps.
    protocol_list str
    IP protocol numbers, take the value[ ALL (all protocols),TCP (tcp protocol),UDP (udp protocol),SMP (smp protocol),1; 2-100 (custom protocol number range, up to 8)].
    bandwidth Number
    Bandwidth bps.
    dstPortList String
    List of port ranges, up to 8, multiple; Separated, the range is represented with -; this port range must be filled in; fill in the style 1:0-65535, style 2:80; 443; 1000-2000.
    mode Number
    Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
    packetRate Number
    Packet rate pps.
    protocolList String
    IP protocol numbers, take the value[ ALL (all protocols),TCP (tcp protocol),UDP (udp protocol),SMP (smp protocol),1; 2-100 (custom protocol number range, up to 8)].

    DayuDdosPolicyV2PacketFilter, DayuDdosPolicyV2PacketFilterArgs

    Action string
    Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
    DPortEnd double
    The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
    DPortStart double
    From the destination port, take the value 0~65535.
    Depth double
    Detection depth from the detection position, value [0,1500].
    Depth2 double
    Second detection depth starting from the second detection position, value [0,1500].
    IsNot double
    Whether to include the detected value, take the value [0 (included),1 (not included)].
    IsNot2 double
    Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
    MatchBegin string
    Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
    MatchBegin2 string
    The second detection position. take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
    MatchLogic string
    When there is a second detection condition, the and/or relationship with the first detection condition, takes the value [And (and relationship),none (fill in this value when there is no second detection condition)].
    MatchType string
    Detection type, value [sunday (keyword),pcre (regular expression)].
    MatchType2 string
    The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
    Offset double
    Offset from detection position, value range [0, Depth].
    Offset2 double
    Offset from the second detection position, value range [0,Depth2].
    PktlenMax double
    The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
    PktlenMin double
    Minimum message length, 1-1500.
    Protocol string
    Protocol, value [tcp udp icmp all].
    SPortEnd double
    End source port, take the value 1~65535, must be greater than or equal to the starting source port.
    SPortStart double
    Start the source port, take the value 0~65535.
    Str string
    Detect values, key strings or regular expressions, take the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
    Str2 string
    The second detection value, the key string or regular expression, takes the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
    Action string
    Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
    DPortEnd float64
    The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
    DPortStart float64
    From the destination port, take the value 0~65535.
    Depth float64
    Detection depth from the detection position, value [0,1500].
    Depth2 float64
    Second detection depth starting from the second detection position, value [0,1500].
    IsNot float64
    Whether to include the detected value, take the value [0 (included),1 (not included)].
    IsNot2 float64
    Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
    MatchBegin string
    Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
    MatchBegin2 string
    The second detection position. take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
    MatchLogic string
    When there is a second detection condition, the and/or relationship with the first detection condition, takes the value [And (and relationship),none (fill in this value when there is no second detection condition)].
    MatchType string
    Detection type, value [sunday (keyword),pcre (regular expression)].
    MatchType2 string
    The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
    Offset float64
    Offset from detection position, value range [0, Depth].
    Offset2 float64
    Offset from the second detection position, value range [0,Depth2].
    PktlenMax float64
    The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
    PktlenMin float64
    Minimum message length, 1-1500.
    Protocol string
    Protocol, value [tcp udp icmp all].
    SPortEnd float64
    End source port, take the value 1~65535, must be greater than or equal to the starting source port.
    SPortStart float64
    Start the source port, take the value 0~65535.
    Str string
    Detect values, key strings or regular expressions, take the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
    Str2 string
    The second detection value, the key string or regular expression, takes the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
    action String
    Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
    dPortEnd Double
    The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
    dPortStart Double
    From the destination port, take the value 0~65535.
    depth Double
    Detection depth from the detection position, value [0,1500].
    depth2 Double
    Second detection depth starting from the second detection position, value [0,1500].
    isNot Double
    Whether to include the detected value, take the value [0 (included),1 (not included)].
    isNot2 Double
    Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
    matchBegin String
    Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
    matchBegin2 String
    The second detection position. take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
    matchLogic String
    When there is a second detection condition, the and/or relationship with the first detection condition, takes the value [And (and relationship),none (fill in this value when there is no second detection condition)].
    matchType String
    Detection type, value [sunday (keyword),pcre (regular expression)].
    matchType2 String
    The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
    offset Double
    Offset from detection position, value range [0, Depth].
    offset2 Double
    Offset from the second detection position, value range [0,Depth2].
    pktlenMax Double
    The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
    pktlenMin Double
    Minimum message length, 1-1500.
    protocol String
    Protocol, value [tcp udp icmp all].
    sPortEnd Double
    End source port, take the value 1~65535, must be greater than or equal to the starting source port.
    sPortStart Double
    Start the source port, take the value 0~65535.
    str String
    Detect values, key strings or regular expressions, take the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
    str2 String
    The second detection value, the key string or regular expression, takes the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
    action string
    Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
    dPortEnd number
    The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
    dPortStart number
    From the destination port, take the value 0~65535.
    depth number
    Detection depth from the detection position, value [0,1500].
    depth2 number
    Second detection depth starting from the second detection position, value [0,1500].
    isNot number
    Whether to include the detected value, take the value [0 (included),1 (not included)].
    isNot2 number
    Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
    matchBegin string
    Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
    matchBegin2 string
    The second detection position. take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
    matchLogic string
    When there is a second detection condition, the and/or relationship with the first detection condition, takes the value [And (and relationship),none (fill in this value when there is no second detection condition)].
    matchType string
    Detection type, value [sunday (keyword),pcre (regular expression)].
    matchType2 string
    The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
    offset number
    Offset from detection position, value range [0, Depth].
    offset2 number
    Offset from the second detection position, value range [0,Depth2].
    pktlenMax number
    The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
    pktlenMin number
    Minimum message length, 1-1500.
    protocol string
    Protocol, value [tcp udp icmp all].
    sPortEnd number
    End source port, take the value 1~65535, must be greater than or equal to the starting source port.
    sPortStart number
    Start the source port, take the value 0~65535.
    str string
    Detect values, key strings or regular expressions, take the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
    str2 string
    The second detection value, the key string or regular expression, takes the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
    action str
    Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
    d_port_end float
    The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
    d_port_start float
    From the destination port, take the value 0~65535.
    depth float
    Detection depth from the detection position, value [0,1500].
    depth2 float
    Second detection depth starting from the second detection position, value [0,1500].
    is_not float
    Whether to include the detected value, take the value [0 (included),1 (not included)].
    is_not2 float
    Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
    match_begin str
    Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
    match_begin2 str
    The second detection position. take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
    match_logic str
    When there is a second detection condition, the and/or relationship with the first detection condition, takes the value [And (and relationship),none (fill in this value when there is no second detection condition)].
    match_type str
    Detection type, value [sunday (keyword),pcre (regular expression)].
    match_type2 str
    The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
    offset float
    Offset from detection position, value range [0, Depth].
    offset2 float
    Offset from the second detection position, value range [0,Depth2].
    pktlen_max float
    The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
    pktlen_min float
    Minimum message length, 1-1500.
    protocol str
    Protocol, value [tcp udp icmp all].
    s_port_end float
    End source port, take the value 1~65535, must be greater than or equal to the starting source port.
    s_port_start float
    Start the source port, take the value 0~65535.
    str str
    Detect values, key strings or regular expressions, take the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
    str2 str
    The second detection value, the key string or regular expression, takes the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
    action String
    Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
    dPortEnd Number
    The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
    dPortStart Number
    From the destination port, take the value 0~65535.
    depth Number
    Detection depth from the detection position, value [0,1500].
    depth2 Number
    Second detection depth starting from the second detection position, value [0,1500].
    isNot Number
    Whether to include the detected value, take the value [0 (included),1 (not included)].
    isNot2 Number
    Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
    matchBegin String
    Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
    matchBegin2 String
    The second detection position. take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
    matchLogic String
    When there is a second detection condition, the and/or relationship with the first detection condition, takes the value [And (and relationship),none (fill in this value when there is no second detection condition)].
    matchType String
    Detection type, value [sunday (keyword),pcre (regular expression)].
    matchType2 String
    The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
    offset Number
    Offset from detection position, value range [0, Depth].
    offset2 Number
    Offset from the second detection position, value range [0,Depth2].
    pktlenMax Number
    The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
    pktlenMin Number
    Minimum message length, 1-1500.
    protocol String
    Protocol, value [tcp udp icmp all].
    sPortEnd Number
    End source port, take the value 1~65535, must be greater than or equal to the starting source port.
    sPortStart Number
    Start the source port, take the value 0~65535.
    str String
    Detect values, key strings or regular expressions, take the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].
    str2 String
    The second detection value, the key string or regular expression, takes the value [When the detection type is sunday, please fill in the string or hexadecimal bytecode, for example 13233 corresponds to the hexadecimal bytecode of the string 123;When the detection type is pcre, please fill in the regular expression string;].

    DayuDdosPolicyV2ProtocolBlockConfig, DayuDdosPolicyV2ProtocolBlockConfigArgs

    DropIcmp double
    ICMP block, value [0 (block off), 1 (block on)].
    DropOther double
    Other block, value [0 (block off), 1 (block on)].
    DropTcp double
    TCP block, value [0 (block off), 1 (block on)].
    DropUdp double
    UDP block, value [0 (block off), 1 (block on)].
    DropIcmp float64
    ICMP block, value [0 (block off), 1 (block on)].
    DropOther float64
    Other block, value [0 (block off), 1 (block on)].
    DropTcp float64
    TCP block, value [0 (block off), 1 (block on)].
    DropUdp float64
    UDP block, value [0 (block off), 1 (block on)].
    dropIcmp Double
    ICMP block, value [0 (block off), 1 (block on)].
    dropOther Double
    Other block, value [0 (block off), 1 (block on)].
    dropTcp Double
    TCP block, value [0 (block off), 1 (block on)].
    dropUdp Double
    UDP block, value [0 (block off), 1 (block on)].
    dropIcmp number
    ICMP block, value [0 (block off), 1 (block on)].
    dropOther number
    Other block, value [0 (block off), 1 (block on)].
    dropTcp number
    TCP block, value [0 (block off), 1 (block on)].
    dropUdp number
    UDP block, value [0 (block off), 1 (block on)].
    drop_icmp float
    ICMP block, value [0 (block off), 1 (block on)].
    drop_other float
    Other block, value [0 (block off), 1 (block on)].
    drop_tcp float
    TCP block, value [0 (block off), 1 (block on)].
    drop_udp float
    UDP block, value [0 (block off), 1 (block on)].
    dropIcmp Number
    ICMP block, value [0 (block off), 1 (block on)].
    dropOther Number
    Other block, value [0 (block off), 1 (block on)].
    dropTcp Number
    TCP block, value [0 (block off), 1 (block on)].
    dropUdp Number
    UDP block, value [0 (block off), 1 (block on)].

    DayuDdosPolicyV2WaterPrintConfig, DayuDdosPolicyV2WaterPrintConfigArgs

    Listeners List<DayuDdosPolicyV2WaterPrintConfigListener>
    List of forwarding listeners to which the watermark belongs.
    Offset double
    Watermark offset, value range: [0-100].
    OpenStatus double
    Whether it is enabled, value [0 (manual open), 1 (immediate operation)].
    Verify string
    Watermark check mode, value [checkall(normal mode), shortfpcheckall(simplified mode)].
    Listeners []DayuDdosPolicyV2WaterPrintConfigListener
    List of forwarding listeners to which the watermark belongs.
    Offset float64
    Watermark offset, value range: [0-100].
    OpenStatus float64
    Whether it is enabled, value [0 (manual open), 1 (immediate operation)].
    Verify string
    Watermark check mode, value [checkall(normal mode), shortfpcheckall(simplified mode)].
    listeners List<DayuDdosPolicyV2WaterPrintConfigListener>
    List of forwarding listeners to which the watermark belongs.
    offset Double
    Watermark offset, value range: [0-100].
    openStatus Double
    Whether it is enabled, value [0 (manual open), 1 (immediate operation)].
    verify String
    Watermark check mode, value [checkall(normal mode), shortfpcheckall(simplified mode)].
    listeners DayuDdosPolicyV2WaterPrintConfigListener[]
    List of forwarding listeners to which the watermark belongs.
    offset number
    Watermark offset, value range: [0-100].
    openStatus number
    Whether it is enabled, value [0 (manual open), 1 (immediate operation)].
    verify string
    Watermark check mode, value [checkall(normal mode), shortfpcheckall(simplified mode)].
    listeners Sequence[DayuDdosPolicyV2WaterPrintConfigListener]
    List of forwarding listeners to which the watermark belongs.
    offset float
    Watermark offset, value range: [0-100].
    open_status float
    Whether it is enabled, value [0 (manual open), 1 (immediate operation)].
    verify str
    Watermark check mode, value [checkall(normal mode), shortfpcheckall(simplified mode)].
    listeners List<Property Map>
    List of forwarding listeners to which the watermark belongs.
    offset Number
    Watermark offset, value range: [0-100].
    openStatus Number
    Whether it is enabled, value [0 (manual open), 1 (immediate operation)].
    verify String
    Watermark check mode, value [checkall(normal mode), shortfpcheckall(simplified mode)].

    DayuDdosPolicyV2WaterPrintConfigListener, DayuDdosPolicyV2WaterPrintConfigListenerArgs

    ForwardProtocol string
    Forwarding protocol, value [TCP, UDP].
    FrontendPort double
    Lower limit of forwarding listening port. Values: [1-65535].
    FrontendPortEnd double
    Upper limit of forwarding listening port. Values: [1-65535].
    ForwardProtocol string
    Forwarding protocol, value [TCP, UDP].
    FrontendPort float64
    Lower limit of forwarding listening port. Values: [1-65535].
    FrontendPortEnd float64
    Upper limit of forwarding listening port. Values: [1-65535].
    forwardProtocol String
    Forwarding protocol, value [TCP, UDP].
    frontendPort Double
    Lower limit of forwarding listening port. Values: [1-65535].
    frontendPortEnd Double
    Upper limit of forwarding listening port. Values: [1-65535].
    forwardProtocol string
    Forwarding protocol, value [TCP, UDP].
    frontendPort number
    Lower limit of forwarding listening port. Values: [1-65535].
    frontendPortEnd number
    Upper limit of forwarding listening port. Values: [1-65535].
    forward_protocol str
    Forwarding protocol, value [TCP, UDP].
    frontend_port float
    Lower limit of forwarding listening port. Values: [1-65535].
    frontend_port_end float
    Upper limit of forwarding listening port. Values: [1-65535].
    forwardProtocol String
    Forwarding protocol, value [TCP, UDP].
    frontendPort Number
    Lower limit of forwarding listening port. Values: [1-65535].
    frontendPortEnd Number
    Upper limit of forwarding listening port. Values: [1-65535].

    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