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

tencentcloud.DayuDdosPolicyV2

Explore with Pulumi AI

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",
    }],
});
Copy
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",
    }])
Copy
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
	})
}
Copy
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",
            },
        },
    });

});
Copy
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());

    }
}
Copy
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
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. DayuDdosPolicyV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. DayuDdosPolicyV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DayuDdosPolicyV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required. string
Action, optional values: drop, transmit, forward.
DPortEnd This property is required. double
The destination port ends, and the value range is 0~65535.
DPortStart This property is required. double
The destination port starts, and the value range is 0~65535.
ForwardProtocol This property is required. string
Protocol type, desirable values tcp, udp, all.
Priority This property is required. 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 This property is required. double
The source port ends, and the acceptable value ranges from 0 to 65535.
SPortStart This property is required. double
The source port starts, and the value range is 0~65535.
Action This property is required. string
Action, optional values: drop, transmit, forward.
DPortEnd This property is required. float64
The destination port ends, and the value range is 0~65535.
DPortStart This property is required. float64
The destination port starts, and the value range is 0~65535.
ForwardProtocol This property is required. string
Protocol type, desirable values tcp, udp, all.
Priority This property is required. 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 This property is required. float64
The source port ends, and the acceptable value ranges from 0 to 65535.
SPortStart This property is required. float64
The source port starts, and the value range is 0~65535.
action This property is required. String
Action, optional values: drop, transmit, forward.
dPortEnd This property is required. Double
The destination port ends, and the value range is 0~65535.
dPortStart This property is required. Double
The destination port starts, and the value range is 0~65535.
forwardProtocol This property is required. String
Protocol type, desirable values tcp, udp, all.
priority This property is required. 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 This property is required. Double
The source port ends, and the acceptable value ranges from 0 to 65535.
sPortStart This property is required. Double
The source port starts, and the value range is 0~65535.
action This property is required. string
Action, optional values: drop, transmit, forward.
dPortEnd This property is required. number
The destination port ends, and the value range is 0~65535.
dPortStart This property is required. number
The destination port starts, and the value range is 0~65535.
forwardProtocol This property is required. string
Protocol type, desirable values tcp, udp, all.
priority This property is required. 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 This property is required. number
The source port ends, and the acceptable value ranges from 0 to 65535.
sPortStart This property is required. number
The source port starts, and the value range is 0~65535.
action This property is required. str
Action, optional values: drop, transmit, forward.
d_port_end This property is required. float
The destination port ends, and the value range is 0~65535.
d_port_start This property is required. float
The destination port starts, and the value range is 0~65535.
forward_protocol This property is required. str
Protocol type, desirable values tcp, udp, all.
priority This property is required. 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 This property is required. float
The source port ends, and the acceptable value ranges from 0 to 65535.
s_port_start This property is required. float
The source port starts, and the value range is 0~65535.
action This property is required. String
Action, optional values: drop, transmit, forward.
dPortEnd This property is required. Number
The destination port ends, and the value range is 0~65535.
dPortStart This property is required. Number
The destination port starts, and the value range is 0~65535.
forwardProtocol This property is required. String
Protocol type, desirable values tcp, udp, all.
priority This property is required. 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 This property is required. Number
The source port ends, and the acceptable value ranges from 0 to 65535.
sPortStart This property is required. Number
The source port starts, and the value range is 0~65535.

DayuDdosPolicyV2BlackWhiteIp
, DayuDdosPolicyV2BlackWhiteIpArgs

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

DayuDdosPolicyV2DdosConnectLimit
, DayuDdosPolicyV2DdosConnectLimitArgs

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

DayuDdosPolicyV2DdosGeoIpBlockConfig
, DayuDdosPolicyV2DdosGeoIpBlockConfigArgs

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

DayuDdosPolicyV2DdosSpeedLimitConfig
, DayuDdosPolicyV2DdosSpeedLimitConfigArgs

Bandwidth This property is required. double
Bandwidth bps.
DstPortList This property is required. 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 This property is required. double
Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
PacketRate This property is required. double
Packet rate pps.
ProtocolList This property is required. 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 This property is required. float64
Bandwidth bps.
DstPortList This property is required. 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 This property is required. float64
Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
PacketRate This property is required. float64
Packet rate pps.
ProtocolList This property is required. 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 This property is required. Double
Bandwidth bps.
dstPortList This property is required. 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 This property is required. Double
Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
packetRate This property is required. Double
Packet rate pps.
protocolList This property is required. 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 This property is required. number
Bandwidth bps.
dstPortList This property is required. 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 This property is required. number
Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
packetRate This property is required. number
Packet rate pps.
protocolList This property is required. 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 This property is required. float
Bandwidth bps.
dst_port_list This property is required. 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 This property is required. float
Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
packet_rate This property is required. float
Packet rate pps.
protocol_list This property is required. 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 This property is required. Number
Bandwidth bps.
dstPortList This property is required. 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 This property is required. Number
Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
packetRate This property is required. Number
Packet rate pps.
protocolList This property is required. 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 This property is required. string
Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
DPortEnd This property is required. double
The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
DPortStart This property is required. double
From the destination port, take the value 0~65535.
Depth This property is required. double
Detection depth from the detection position, value [0,1500].
Depth2 This property is required. double
Second detection depth starting from the second detection position, value [0,1500].
IsNot This property is required. double
Whether to include the detected value, take the value [0 (included),1 (not included)].
IsNot2 This property is required. double
Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
MatchBegin This property is required. string
Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
MatchBegin2 This property is required. 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 This property is required. 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 This property is required. string
Detection type, value [sunday (keyword),pcre (regular expression)].
MatchType2 This property is required. string
The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
Offset This property is required. double
Offset from detection position, value range [0, Depth].
Offset2 This property is required. double
Offset from the second detection position, value range [0,Depth2].
PktlenMax This property is required. double
The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
PktlenMin This property is required. double
Minimum message length, 1-1500.
Protocol This property is required. string
Protocol, value [tcp udp icmp all].
SPortEnd This property is required. double
End source port, take the value 1~65535, must be greater than or equal to the starting source port.
SPortStart This property is required. double
Start the source port, take the value 0~65535.
Str This property is required. 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 This property is required. 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 This property is required. string
Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
DPortEnd This property is required. float64
The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
DPortStart This property is required. float64
From the destination port, take the value 0~65535.
Depth This property is required. float64
Detection depth from the detection position, value [0,1500].
Depth2 This property is required. float64
Second detection depth starting from the second detection position, value [0,1500].
IsNot This property is required. float64
Whether to include the detected value, take the value [0 (included),1 (not included)].
IsNot2 This property is required. float64
Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
MatchBegin This property is required. string
Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
MatchBegin2 This property is required. 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 This property is required. 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 This property is required. string
Detection type, value [sunday (keyword),pcre (regular expression)].
MatchType2 This property is required. string
The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
Offset This property is required. float64
Offset from detection position, value range [0, Depth].
Offset2 This property is required. float64
Offset from the second detection position, value range [0,Depth2].
PktlenMax This property is required. float64
The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
PktlenMin This property is required. float64
Minimum message length, 1-1500.
Protocol This property is required. string
Protocol, value [tcp udp icmp all].
SPortEnd This property is required. float64
End source port, take the value 1~65535, must be greater than or equal to the starting source port.
SPortStart This property is required. float64
Start the source port, take the value 0~65535.
Str This property is required. 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 This property is required. 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 This property is required. String
Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
dPortEnd This property is required. Double
The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
dPortStart This property is required. Double
From the destination port, take the value 0~65535.
depth This property is required. Double
Detection depth from the detection position, value [0,1500].
depth2 This property is required. Double
Second detection depth starting from the second detection position, value [0,1500].
isNot This property is required. Double
Whether to include the detected value, take the value [0 (included),1 (not included)].
isNot2 This property is required. Double
Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
matchBegin This property is required. String
Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
matchBegin2 This property is required. 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 This property is required. 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 This property is required. String
Detection type, value [sunday (keyword),pcre (regular expression)].
matchType2 This property is required. String
The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
offset This property is required. Double
Offset from detection position, value range [0, Depth].
offset2 This property is required. Double
Offset from the second detection position, value range [0,Depth2].
pktlenMax This property is required. Double
The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
pktlenMin This property is required. Double
Minimum message length, 1-1500.
protocol This property is required. String
Protocol, value [tcp udp icmp all].
sPortEnd This property is required. Double
End source port, take the value 1~65535, must be greater than or equal to the starting source port.
sPortStart This property is required. Double
Start the source port, take the value 0~65535.
str This property is required. 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 This property is required. 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 This property is required. string
Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
dPortEnd This property is required. number
The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
dPortStart This property is required. number
From the destination port, take the value 0~65535.
depth This property is required. number
Detection depth from the detection position, value [0,1500].
depth2 This property is required. number
Second detection depth starting from the second detection position, value [0,1500].
isNot This property is required. number
Whether to include the detected value, take the value [0 (included),1 (not included)].
isNot2 This property is required. number
Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
matchBegin This property is required. string
Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
matchBegin2 This property is required. 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 This property is required. 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 This property is required. string
Detection type, value [sunday (keyword),pcre (regular expression)].
matchType2 This property is required. string
The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
offset This property is required. number
Offset from detection position, value range [0, Depth].
offset2 This property is required. number
Offset from the second detection position, value range [0,Depth2].
pktlenMax This property is required. number
The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
pktlenMin This property is required. number
Minimum message length, 1-1500.
protocol This property is required. string
Protocol, value [tcp udp icmp all].
sPortEnd This property is required. number
End source port, take the value 1~65535, must be greater than or equal to the starting source port.
sPortStart This property is required. number
Start the source port, take the value 0~65535.
str This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. float
From the destination port, take the value 0~65535.
depth This property is required. float
Detection depth from the detection position, value [0,1500].
depth2 This property is required. float
Second detection depth starting from the second detection position, value [0,1500].
is_not This property is required. float
Whether to include the detected value, take the value [0 (included),1 (not included)].
is_not2 This property is required. float
Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
match_begin This property is required. str
Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
match_begin2 This property is required. 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 This property is required. 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 This property is required. str
Detection type, value [sunday (keyword),pcre (regular expression)].
match_type2 This property is required. str
The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
offset This property is required. float
Offset from detection position, value range [0, Depth].
offset2 This property is required. float
Offset from the second detection position, value range [0,Depth2].
pktlen_max This property is required. float
The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
pktlen_min This property is required. float
Minimum message length, 1-1500.
protocol This property is required. str
Protocol, value [tcp udp icmp all].
s_port_end This property is required. float
End source port, take the value 1~65535, must be greater than or equal to the starting source port.
s_port_start This property is required. float
Start the source port, take the value 0~65535.
str This property is required. 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 This property is required. 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 This property is required. String
Action, take the value [drop,transmit,drop_black (discard and black out),drop_rst (Interception),drop_black_rst (intercept and block),forward].
dPortEnd This property is required. Number
The end destination port, take the value 1~65535, which must be greater than or equal to the starting destination port.
dPortStart This property is required. Number
From the destination port, take the value 0~65535.
depth This property is required. Number
Detection depth from the detection position, value [0,1500].
depth2 This property is required. Number
Second detection depth starting from the second detection position, value [0,1500].
isNot This property is required. Number
Whether to include the detected value, take the value [0 (included),1 (not included)].
isNot2 This property is required. Number
Whether the second detection contains the detected value, the value [0 (included),1 (not included)].
matchBegin This property is required. String
Detect position, take the value [begin_l3 (IP header),begin_l4 (TCP/UDP header),begin_l5 (T load), no_match (mismatch)].
matchBegin2 This property is required. 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 This property is required. 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 This property is required. String
Detection type, value [sunday (keyword),pcre (regular expression)].
matchType2 This property is required. String
The second type of detection, takes the value [sunday (keyword),pcre (regular expression)].
offset This property is required. Number
Offset from detection position, value range [0, Depth].
offset2 This property is required. Number
Offset from the second detection position, value range [0,Depth2].
pktlenMax This property is required. Number
The maximum message length, taken from 1 to 1500, must be greater than or equal to the minimum message length.
pktlenMin This property is required. Number
Minimum message length, 1-1500.
protocol This property is required. String
Protocol, value [tcp udp icmp all].
sPortEnd This property is required. Number
End source port, take the value 1~65535, must be greater than or equal to the starting source port.
sPortStart This property is required. Number
Start the source port, take the value 0~65535.
str This property is required. 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 This property is required. 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 This property is required. double
ICMP block, value [0 (block off), 1 (block on)].
DropOther This property is required. double
Other block, value [0 (block off), 1 (block on)].
DropTcp This property is required. double
TCP block, value [0 (block off), 1 (block on)].
DropUdp This property is required. double
UDP block, value [0 (block off), 1 (block on)].
DropIcmp This property is required. float64
ICMP block, value [0 (block off), 1 (block on)].
DropOther This property is required. float64
Other block, value [0 (block off), 1 (block on)].
DropTcp This property is required. float64
TCP block, value [0 (block off), 1 (block on)].
DropUdp This property is required. float64
UDP block, value [0 (block off), 1 (block on)].
dropIcmp This property is required. Double
ICMP block, value [0 (block off), 1 (block on)].
dropOther This property is required. Double
Other block, value [0 (block off), 1 (block on)].
dropTcp This property is required. Double
TCP block, value [0 (block off), 1 (block on)].
dropUdp This property is required. Double
UDP block, value [0 (block off), 1 (block on)].
dropIcmp This property is required. number
ICMP block, value [0 (block off), 1 (block on)].
dropOther This property is required. number
Other block, value [0 (block off), 1 (block on)].
dropTcp This property is required. number
TCP block, value [0 (block off), 1 (block on)].
dropUdp This property is required. number
UDP block, value [0 (block off), 1 (block on)].
drop_icmp This property is required. float
ICMP block, value [0 (block off), 1 (block on)].
drop_other This property is required. float
Other block, value [0 (block off), 1 (block on)].
drop_tcp This property is required. float
TCP block, value [0 (block off), 1 (block on)].
drop_udp This property is required. float
UDP block, value [0 (block off), 1 (block on)].
dropIcmp This property is required. Number
ICMP block, value [0 (block off), 1 (block on)].
dropOther This property is required. Number
Other block, value [0 (block off), 1 (block on)].
dropTcp This property is required. Number
TCP block, value [0 (block off), 1 (block on)].
dropUdp This property is required. Number
UDP block, value [0 (block off), 1 (block on)].

DayuDdosPolicyV2WaterPrintConfig
, DayuDdosPolicyV2WaterPrintConfigArgs

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

DayuDdosPolicyV2WaterPrintConfigListener
, DayuDdosPolicyV2WaterPrintConfigListenerArgs

ForwardProtocol This property is required. string
Forwarding protocol, value [TCP, UDP].
FrontendPort This property is required. double
Lower limit of forwarding listening port. Values: [1-65535].
FrontendPortEnd This property is required. double
Upper limit of forwarding listening port. Values: [1-65535].
ForwardProtocol This property is required. string
Forwarding protocol, value [TCP, UDP].
FrontendPort This property is required. float64
Lower limit of forwarding listening port. Values: [1-65535].
FrontendPortEnd This property is required. float64
Upper limit of forwarding listening port. Values: [1-65535].
forwardProtocol This property is required. String
Forwarding protocol, value [TCP, UDP].
frontendPort This property is required. Double
Lower limit of forwarding listening port. Values: [1-65535].
frontendPortEnd This property is required. Double
Upper limit of forwarding listening port. Values: [1-65535].
forwardProtocol This property is required. string
Forwarding protocol, value [TCP, UDP].
frontendPort This property is required. number
Lower limit of forwarding listening port. Values: [1-65535].
frontendPortEnd This property is required. number
Upper limit of forwarding listening port. Values: [1-65535].
forward_protocol This property is required. str
Forwarding protocol, value [TCP, UDP].
frontend_port This property is required. float
Lower limit of forwarding listening port. Values: [1-65535].
frontend_port_end This property is required. float
Upper limit of forwarding listening port. Values: [1-65535].
forwardProtocol This property is required. String
Forwarding protocol, value [TCP, UDP].
frontendPort This property is required. Number
Lower limit of forwarding listening port. Values: [1-65535].
frontendPortEnd This property is required. 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.