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

tencentcloud.getDayuDdosPolicies

Explore with Pulumi AI

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

    Use this data source to query dayu DDoS policies

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const idTest = tencentcloud.getDayuDdosPolicies({
        resourceType: tencentcloud_dayu_ddos_policy.test_policy.resource_type,
        policyId: tencentcloud_dayu_ddos_policy.test_policy.policy_id,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    id_test = tencentcloud.get_dayu_ddos_policies(resource_type=tencentcloud_dayu_ddos_policy["test_policy"]["resource_type"],
        policy_id=tencentcloud_dayu_ddos_policy["test_policy"]["policy_id"])
    
    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.GetDayuDdosPolicies(ctx, &tencentcloud.GetDayuDdosPoliciesArgs{
    			ResourceType: tencentcloud_dayu_ddos_policy.Test_policy.Resource_type,
    			PolicyId:     pulumi.StringRef(tencentcloud_dayu_ddos_policy.Test_policy.Policy_id),
    		}, nil)
    		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 idTest = Tencentcloud.GetDayuDdosPolicies.Invoke(new()
        {
            ResourceType = tencentcloud_dayu_ddos_policy.Test_policy.Resource_type,
            PolicyId = tencentcloud_dayu_ddos_policy.Test_policy.Policy_id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetDayuDdosPoliciesArgs;
    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) {
            final var idTest = TencentcloudFunctions.getDayuDdosPolicies(GetDayuDdosPoliciesArgs.builder()
                .resourceType(tencentcloud_dayu_ddos_policy.test_policy().resource_type())
                .policyId(tencentcloud_dayu_ddos_policy.test_policy().policy_id())
                .build());
    
        }
    }
    
    variables:
      idTest:
        fn::invoke:
          function: tencentcloud:getDayuDdosPolicies
          arguments:
            resourceType: ${tencentcloud_dayu_ddos_policy.test_policy.resource_type}
            policyId: ${tencentcloud_dayu_ddos_policy.test_policy.policy_id}
    

    Using getDayuDdosPolicies

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDayuDdosPolicies(args: GetDayuDdosPoliciesArgs, opts?: InvokeOptions): Promise<GetDayuDdosPoliciesResult>
    function getDayuDdosPoliciesOutput(args: GetDayuDdosPoliciesOutputArgs, opts?: InvokeOptions): Output<GetDayuDdosPoliciesResult>
    def get_dayu_ddos_policies(id: Optional[str] = None,
                               policy_id: Optional[str] = None,
                               resource_type: Optional[str] = None,
                               result_output_file: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetDayuDdosPoliciesResult
    def get_dayu_ddos_policies_output(id: Optional[pulumi.Input[str]] = None,
                               policy_id: Optional[pulumi.Input[str]] = None,
                               resource_type: Optional[pulumi.Input[str]] = None,
                               result_output_file: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetDayuDdosPoliciesResult]
    func GetDayuDdosPolicies(ctx *Context, args *GetDayuDdosPoliciesArgs, opts ...InvokeOption) (*GetDayuDdosPoliciesResult, error)
    func GetDayuDdosPoliciesOutput(ctx *Context, args *GetDayuDdosPoliciesOutputArgs, opts ...InvokeOption) GetDayuDdosPoliciesResultOutput

    > Note: This function is named GetDayuDdosPolicies in the Go SDK.

    public static class GetDayuDdosPolicies 
    {
        public static Task<GetDayuDdosPoliciesResult> InvokeAsync(GetDayuDdosPoliciesArgs args, InvokeOptions? opts = null)
        public static Output<GetDayuDdosPoliciesResult> Invoke(GetDayuDdosPoliciesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDayuDdosPoliciesResult> getDayuDdosPolicies(GetDayuDdosPoliciesArgs args, InvokeOptions options)
    public static Output<GetDayuDdosPoliciesResult> getDayuDdosPolicies(GetDayuDdosPoliciesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getDayuDdosPolicies:getDayuDdosPolicies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceType string
    Type of the resource that the DDoS policy works for, valid values are bgpip, bgp, bgp-multip and net.
    Id string
    Id of the watermark.
    PolicyId string
    ID of the DDoS policy to be query.
    ResultOutputFile string
    Used to save results.
    ResourceType string
    Type of the resource that the DDoS policy works for, valid values are bgpip, bgp, bgp-multip and net.
    Id string
    Id of the watermark.
    PolicyId string
    ID of the DDoS policy to be query.
    ResultOutputFile string
    Used to save results.
    resourceType String
    Type of the resource that the DDoS policy works for, valid values are bgpip, bgp, bgp-multip and net.
    id String
    Id of the watermark.
    policyId String
    ID of the DDoS policy to be query.
    resultOutputFile String
    Used to save results.
    resourceType string
    Type of the resource that the DDoS policy works for, valid values are bgpip, bgp, bgp-multip and net.
    id string
    Id of the watermark.
    policyId string
    ID of the DDoS policy to be query.
    resultOutputFile string
    Used to save results.
    resource_type str
    Type of the resource that the DDoS policy works for, valid values are bgpip, bgp, bgp-multip and net.
    id str
    Id of the watermark.
    policy_id str
    ID of the DDoS policy to be query.
    result_output_file str
    Used to save results.
    resourceType String
    Type of the resource that the DDoS policy works for, valid values are bgpip, bgp, bgp-multip and net.
    id String
    Id of the watermark.
    policyId String
    ID of the DDoS policy to be query.
    resultOutputFile String
    Used to save results.

    getDayuDdosPolicies Result

    The following output properties are available:

    Id string
    Id of the watermark.
    Lists List<GetDayuDdosPoliciesList>
    A list of DDoS policies. Each element contains the following attributes:
    ResourceType string
    PolicyId string
    Id of policy.
    ResultOutputFile string
    Id string
    Id of the watermark.
    Lists []GetDayuDdosPoliciesList
    A list of DDoS policies. Each element contains the following attributes:
    ResourceType string
    PolicyId string
    Id of policy.
    ResultOutputFile string
    id String
    Id of the watermark.
    lists List<GetDayuDdosPoliciesList>
    A list of DDoS policies. Each element contains the following attributes:
    resourceType String
    policyId String
    Id of policy.
    resultOutputFile String
    id string
    Id of the watermark.
    lists GetDayuDdosPoliciesList[]
    A list of DDoS policies. Each element contains the following attributes:
    resourceType string
    policyId string
    Id of policy.
    resultOutputFile string
    id str
    Id of the watermark.
    lists Sequence[GetDayuDdosPoliciesList]
    A list of DDoS policies. Each element contains the following attributes:
    resource_type str
    policy_id str
    Id of policy.
    result_output_file str
    id String
    Id of the watermark.
    lists List<Property Map>
    A list of DDoS policies. Each element contains the following attributes:
    resourceType String
    policyId String
    Id of policy.
    resultOutputFile String

    Supporting Types

    GetDayuDdosPoliciesList

    BlackIps List<string>
    CreateTime string
    Create time of the DDoS policy.
    DropOptions List<GetDayuDdosPoliciesListDropOption>
    Option list of abnormal check of the DDoS policy.
    Name string
    Name of the DDoS policy.
    PacketFilters List<GetDayuDdosPoliciesListPacketFilter>
    Message filter options list.
    PolicyId string
    ID of the DDoS policy to be query.
    PortFilters List<GetDayuDdosPoliciesListPortFilter>
    Port limits of abnormal check of the DDoS policy.
    SceneId string
    Id of policy case that the DDoS policy works for.
    WatermarkFilters List<GetDayuDdosPoliciesListWatermarkFilter>
    Watermark policy options, and only support one watermark policy at most.
    WatermarkKeys List<GetDayuDdosPoliciesListWatermarkKey>
    Watermark content.
    WhiteIps List<string>
    BlackIps []string
    CreateTime string
    Create time of the DDoS policy.
    DropOptions []GetDayuDdosPoliciesListDropOption
    Option list of abnormal check of the DDoS policy.
    Name string
    Name of the DDoS policy.
    PacketFilters []GetDayuDdosPoliciesListPacketFilter
    Message filter options list.
    PolicyId string
    ID of the DDoS policy to be query.
    PortFilters []GetDayuDdosPoliciesListPortFilter
    Port limits of abnormal check of the DDoS policy.
    SceneId string
    Id of policy case that the DDoS policy works for.
    WatermarkFilters []GetDayuDdosPoliciesListWatermarkFilter
    Watermark policy options, and only support one watermark policy at most.
    WatermarkKeys []GetDayuDdosPoliciesListWatermarkKey
    Watermark content.
    WhiteIps []string
    blackIps List<String>
    createTime String
    Create time of the DDoS policy.
    dropOptions List<GetDayuDdosPoliciesListDropOption>
    Option list of abnormal check of the DDoS policy.
    name String
    Name of the DDoS policy.
    packetFilters List<GetDayuDdosPoliciesListPacketFilter>
    Message filter options list.
    policyId String
    ID of the DDoS policy to be query.
    portFilters List<GetDayuDdosPoliciesListPortFilter>
    Port limits of abnormal check of the DDoS policy.
    sceneId String
    Id of policy case that the DDoS policy works for.
    watermarkFilters List<GetDayuDdosPoliciesListWatermarkFilter>
    Watermark policy options, and only support one watermark policy at most.
    watermarkKeys List<GetDayuDdosPoliciesListWatermarkKey>
    Watermark content.
    whiteIps List<String>
    blackIps string[]
    createTime string
    Create time of the DDoS policy.
    dropOptions GetDayuDdosPoliciesListDropOption[]
    Option list of abnormal check of the DDoS policy.
    name string
    Name of the DDoS policy.
    packetFilters GetDayuDdosPoliciesListPacketFilter[]
    Message filter options list.
    policyId string
    ID of the DDoS policy to be query.
    portFilters GetDayuDdosPoliciesListPortFilter[]
    Port limits of abnormal check of the DDoS policy.
    sceneId string
    Id of policy case that the DDoS policy works for.
    watermarkFilters GetDayuDdosPoliciesListWatermarkFilter[]
    Watermark policy options, and only support one watermark policy at most.
    watermarkKeys GetDayuDdosPoliciesListWatermarkKey[]
    Watermark content.
    whiteIps string[]
    black_ips Sequence[str]
    create_time str
    Create time of the DDoS policy.
    drop_options Sequence[GetDayuDdosPoliciesListDropOption]
    Option list of abnormal check of the DDoS policy.
    name str
    Name of the DDoS policy.
    packet_filters Sequence[GetDayuDdosPoliciesListPacketFilter]
    Message filter options list.
    policy_id str
    ID of the DDoS policy to be query.
    port_filters Sequence[GetDayuDdosPoliciesListPortFilter]
    Port limits of abnormal check of the DDoS policy.
    scene_id str
    Id of policy case that the DDoS policy works for.
    watermark_filters Sequence[GetDayuDdosPoliciesListWatermarkFilter]
    Watermark policy options, and only support one watermark policy at most.
    watermark_keys Sequence[GetDayuDdosPoliciesListWatermarkKey]
    Watermark content.
    white_ips Sequence[str]
    blackIps List<String>
    createTime String
    Create time of the DDoS policy.
    dropOptions List<Property Map>
    Option list of abnormal check of the DDoS policy.
    name String
    Name of the DDoS policy.
    packetFilters List<Property Map>
    Message filter options list.
    policyId String
    ID of the DDoS policy to be query.
    portFilters List<Property Map>
    Port limits of abnormal check of the DDoS policy.
    sceneId String
    Id of policy case that the DDoS policy works for.
    watermarkFilters List<Property Map>
    Watermark policy options, and only support one watermark policy at most.
    watermarkKeys List<Property Map>
    Watermark content.
    whiteIps List<String>

    GetDayuDdosPoliciesListDropOption

    BadConnThreshold double
    The number of new connections based on destination IP that trigger suppression of connections.
    CheckSyncConn bool
    Indicate whether to check null connection or not.
    ConnTimeout double
    Connection timeout of abnormal connection check.
    DConnLimit double
    The limit of concurrent connections based on destination IP.
    DNewLimit double
    The limit of new connections based on destination IP.
    DropAbroad bool
    DropIcmp bool
    Indicate whether to drop ICMP protocol or not.
    DropOther bool
    Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not.
    DropTcp bool
    Indicate whether to drop TCP protocol or not.
    DropUdp bool
    Indicate to drop UDP protocol or not.
    IcmpMbpsLimit double
    The limit of ICMP traffic rate.
    NullConnEnable bool
    Indicate to enable null connection or not.
    OtherMbpsLimit double
    The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate.
    SConnLimit double
    The limit of concurrent connections based on source IP.
    SNewLimit double
    The limit of new connections based on source IP.
    SynLimit double
    The limit of syn of abnormal connection check.
    SynRate double
    The percentage of syn in ack of abnormal connection check.
    TcpMbpsLimit double
    The limit of TCP traffic.
    UdpMbpsLimit double
    The limit of UDP traffic rate.
    BadConnThreshold float64
    The number of new connections based on destination IP that trigger suppression of connections.
    CheckSyncConn bool
    Indicate whether to check null connection or not.
    ConnTimeout float64
    Connection timeout of abnormal connection check.
    DConnLimit float64
    The limit of concurrent connections based on destination IP.
    DNewLimit float64
    The limit of new connections based on destination IP.
    DropAbroad bool
    DropIcmp bool
    Indicate whether to drop ICMP protocol or not.
    DropOther bool
    Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not.
    DropTcp bool
    Indicate whether to drop TCP protocol or not.
    DropUdp bool
    Indicate to drop UDP protocol or not.
    IcmpMbpsLimit float64
    The limit of ICMP traffic rate.
    NullConnEnable bool
    Indicate to enable null connection or not.
    OtherMbpsLimit float64
    The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate.
    SConnLimit float64
    The limit of concurrent connections based on source IP.
    SNewLimit float64
    The limit of new connections based on source IP.
    SynLimit float64
    The limit of syn of abnormal connection check.
    SynRate float64
    The percentage of syn in ack of abnormal connection check.
    TcpMbpsLimit float64
    The limit of TCP traffic.
    UdpMbpsLimit float64
    The limit of UDP traffic rate.
    badConnThreshold Double
    The number of new connections based on destination IP that trigger suppression of connections.
    checkSyncConn Boolean
    Indicate whether to check null connection or not.
    connTimeout Double
    Connection timeout of abnormal connection check.
    dConnLimit Double
    The limit of concurrent connections based on destination IP.
    dNewLimit Double
    The limit of new connections based on destination IP.
    dropAbroad Boolean
    dropIcmp Boolean
    Indicate whether to drop ICMP protocol or not.
    dropOther Boolean
    Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not.
    dropTcp Boolean
    Indicate whether to drop TCP protocol or not.
    dropUdp Boolean
    Indicate to drop UDP protocol or not.
    icmpMbpsLimit Double
    The limit of ICMP traffic rate.
    nullConnEnable Boolean
    Indicate to enable null connection or not.
    otherMbpsLimit Double
    The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate.
    sConnLimit Double
    The limit of concurrent connections based on source IP.
    sNewLimit Double
    The limit of new connections based on source IP.
    synLimit Double
    The limit of syn of abnormal connection check.
    synRate Double
    The percentage of syn in ack of abnormal connection check.
    tcpMbpsLimit Double
    The limit of TCP traffic.
    udpMbpsLimit Double
    The limit of UDP traffic rate.
    badConnThreshold number
    The number of new connections based on destination IP that trigger suppression of connections.
    checkSyncConn boolean
    Indicate whether to check null connection or not.
    connTimeout number
    Connection timeout of abnormal connection check.
    dConnLimit number
    The limit of concurrent connections based on destination IP.
    dNewLimit number
    The limit of new connections based on destination IP.
    dropAbroad boolean
    dropIcmp boolean
    Indicate whether to drop ICMP protocol or not.
    dropOther boolean
    Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not.
    dropTcp boolean
    Indicate whether to drop TCP protocol or not.
    dropUdp boolean
    Indicate to drop UDP protocol or not.
    icmpMbpsLimit number
    The limit of ICMP traffic rate.
    nullConnEnable boolean
    Indicate to enable null connection or not.
    otherMbpsLimit number
    The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate.
    sConnLimit number
    The limit of concurrent connections based on source IP.
    sNewLimit number
    The limit of new connections based on source IP.
    synLimit number
    The limit of syn of abnormal connection check.
    synRate number
    The percentage of syn in ack of abnormal connection check.
    tcpMbpsLimit number
    The limit of TCP traffic.
    udpMbpsLimit number
    The limit of UDP traffic rate.
    bad_conn_threshold float
    The number of new connections based on destination IP that trigger suppression of connections.
    check_sync_conn bool
    Indicate whether to check null connection or not.
    conn_timeout float
    Connection timeout of abnormal connection check.
    d_conn_limit float
    The limit of concurrent connections based on destination IP.
    d_new_limit float
    The limit of new connections based on destination IP.
    drop_abroad bool
    drop_icmp bool
    Indicate whether to drop ICMP protocol or not.
    drop_other bool
    Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not.
    drop_tcp bool
    Indicate whether to drop TCP protocol or not.
    drop_udp bool
    Indicate to drop UDP protocol or not.
    icmp_mbps_limit float
    The limit of ICMP traffic rate.
    null_conn_enable bool
    Indicate to enable null connection or not.
    other_mbps_limit float
    The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate.
    s_conn_limit float
    The limit of concurrent connections based on source IP.
    s_new_limit float
    The limit of new connections based on source IP.
    syn_limit float
    The limit of syn of abnormal connection check.
    syn_rate float
    The percentage of syn in ack of abnormal connection check.
    tcp_mbps_limit float
    The limit of TCP traffic.
    udp_mbps_limit float
    The limit of UDP traffic rate.
    badConnThreshold Number
    The number of new connections based on destination IP that trigger suppression of connections.
    checkSyncConn Boolean
    Indicate whether to check null connection or not.
    connTimeout Number
    Connection timeout of abnormal connection check.
    dConnLimit Number
    The limit of concurrent connections based on destination IP.
    dNewLimit Number
    The limit of new connections based on destination IP.
    dropAbroad Boolean
    dropIcmp Boolean
    Indicate whether to drop ICMP protocol or not.
    dropOther Boolean
    Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not.
    dropTcp Boolean
    Indicate whether to drop TCP protocol or not.
    dropUdp Boolean
    Indicate to drop UDP protocol or not.
    icmpMbpsLimit Number
    The limit of ICMP traffic rate.
    nullConnEnable Boolean
    Indicate to enable null connection or not.
    otherMbpsLimit Number
    The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate.
    sConnLimit Number
    The limit of concurrent connections based on source IP.
    sNewLimit Number
    The limit of new connections based on source IP.
    synLimit Number
    The limit of syn of abnormal connection check.
    synRate Number
    The percentage of syn in ack of abnormal connection check.
    tcpMbpsLimit Number
    The limit of TCP traffic.
    udpMbpsLimit Number
    The limit of UDP traffic rate.

    GetDayuDdosPoliciesListPacketFilter

    Action string
    Action of port to take.
    DEndPort double
    End port of the destination.
    DStartPort double
    Start port of the destination.
    Depth double
    The depth of match.
    IsInclude bool
    Indicate whether to include the key word/regular expression or not.
    MatchBegin string
    Indicate whether to check load or not.
    MatchStr string
    The key word or regular expression.
    MatchType string
    Match type.
    Offset double
    The offset of watermark.
    PktLengthMax double
    The max length of the packet.
    PktLengthMin double
    The minimum length of the packet.
    Protocol string
    Protocol.
    SEndPort double
    End port of the source.
    SStartPort double
    Start port of the source.
    Action string
    Action of port to take.
    DEndPort float64
    End port of the destination.
    DStartPort float64
    Start port of the destination.
    Depth float64
    The depth of match.
    IsInclude bool
    Indicate whether to include the key word/regular expression or not.
    MatchBegin string
    Indicate whether to check load or not.
    MatchStr string
    The key word or regular expression.
    MatchType string
    Match type.
    Offset float64
    The offset of watermark.
    PktLengthMax float64
    The max length of the packet.
    PktLengthMin float64
    The minimum length of the packet.
    Protocol string
    Protocol.
    SEndPort float64
    End port of the source.
    SStartPort float64
    Start port of the source.
    action String
    Action of port to take.
    dEndPort Double
    End port of the destination.
    dStartPort Double
    Start port of the destination.
    depth Double
    The depth of match.
    isInclude Boolean
    Indicate whether to include the key word/regular expression or not.
    matchBegin String
    Indicate whether to check load or not.
    matchStr String
    The key word or regular expression.
    matchType String
    Match type.
    offset Double
    The offset of watermark.
    pktLengthMax Double
    The max length of the packet.
    pktLengthMin Double
    The minimum length of the packet.
    protocol String
    Protocol.
    sEndPort Double
    End port of the source.
    sStartPort Double
    Start port of the source.
    action string
    Action of port to take.
    dEndPort number
    End port of the destination.
    dStartPort number
    Start port of the destination.
    depth number
    The depth of match.
    isInclude boolean
    Indicate whether to include the key word/regular expression or not.
    matchBegin string
    Indicate whether to check load or not.
    matchStr string
    The key word or regular expression.
    matchType string
    Match type.
    offset number
    The offset of watermark.
    pktLengthMax number
    The max length of the packet.
    pktLengthMin number
    The minimum length of the packet.
    protocol string
    Protocol.
    sEndPort number
    End port of the source.
    sStartPort number
    Start port of the source.
    action str
    Action of port to take.
    d_end_port float
    End port of the destination.
    d_start_port float
    Start port of the destination.
    depth float
    The depth of match.
    is_include bool
    Indicate whether to include the key word/regular expression or not.
    match_begin str
    Indicate whether to check load or not.
    match_str str
    The key word or regular expression.
    match_type str
    Match type.
    offset float
    The offset of watermark.
    pkt_length_max float
    The max length of the packet.
    pkt_length_min float
    The minimum length of the packet.
    protocol str
    Protocol.
    s_end_port float
    End port of the source.
    s_start_port float
    Start port of the source.
    action String
    Action of port to take.
    dEndPort Number
    End port of the destination.
    dStartPort Number
    Start port of the destination.
    depth Number
    The depth of match.
    isInclude Boolean
    Indicate whether to include the key word/regular expression or not.
    matchBegin String
    Indicate whether to check load or not.
    matchStr String
    The key word or regular expression.
    matchType String
    Match type.
    offset Number
    The offset of watermark.
    pktLengthMax Number
    The max length of the packet.
    pktLengthMin Number
    The minimum length of the packet.
    protocol String
    Protocol.
    sEndPort Number
    End port of the source.
    sStartPort Number
    Start port of the source.

    GetDayuDdosPoliciesListPortFilter

    Action string
    Action of port to take.
    EndPort double
    End port.
    Kind double
    The type of forbidden port, and valid values are 0, 1, 2. 0 for destination port, 1 for source port and 2 for both destination and source posts.
    Protocol string
    Protocol.
    StartPort double
    Start port.
    Action string
    Action of port to take.
    EndPort float64
    End port.
    Kind float64
    The type of forbidden port, and valid values are 0, 1, 2. 0 for destination port, 1 for source port and 2 for both destination and source posts.
    Protocol string
    Protocol.
    StartPort float64
    Start port.
    action String
    Action of port to take.
    endPort Double
    End port.
    kind Double
    The type of forbidden port, and valid values are 0, 1, 2. 0 for destination port, 1 for source port and 2 for both destination and source posts.
    protocol String
    Protocol.
    startPort Double
    Start port.
    action string
    Action of port to take.
    endPort number
    End port.
    kind number
    The type of forbidden port, and valid values are 0, 1, 2. 0 for destination port, 1 for source port and 2 for both destination and source posts.
    protocol string
    Protocol.
    startPort number
    Start port.
    action str
    Action of port to take.
    end_port float
    End port.
    kind float
    The type of forbidden port, and valid values are 0, 1, 2. 0 for destination port, 1 for source port and 2 for both destination and source posts.
    protocol str
    Protocol.
    start_port float
    Start port.
    action String
    Action of port to take.
    endPort Number
    End port.
    kind Number
    The type of forbidden port, and valid values are 0, 1, 2. 0 for destination port, 1 for source port and 2 for both destination and source posts.
    protocol String
    Protocol.
    startPort Number
    Start port.

    GetDayuDdosPoliciesListWatermarkFilter

    AutoRemove bool
    Indicate whether to auto-remove the watermark or not.
    Offset double
    The offset of watermark.
    OpenSwitch bool
    Indicate whether to auto-remove the watermark or not.
    TcpPortLists List<string>
    Port range of TCP.
    UdpPortLists List<string>
    Port range of TCP.
    AutoRemove bool
    Indicate whether to auto-remove the watermark or not.
    Offset float64
    The offset of watermark.
    OpenSwitch bool
    Indicate whether to auto-remove the watermark or not.
    TcpPortLists []string
    Port range of TCP.
    UdpPortLists []string
    Port range of TCP.
    autoRemove Boolean
    Indicate whether to auto-remove the watermark or not.
    offset Double
    The offset of watermark.
    openSwitch Boolean
    Indicate whether to auto-remove the watermark or not.
    tcpPortLists List<String>
    Port range of TCP.
    udpPortLists List<String>
    Port range of TCP.
    autoRemove boolean
    Indicate whether to auto-remove the watermark or not.
    offset number
    The offset of watermark.
    openSwitch boolean
    Indicate whether to auto-remove the watermark or not.
    tcpPortLists string[]
    Port range of TCP.
    udpPortLists string[]
    Port range of TCP.
    auto_remove bool
    Indicate whether to auto-remove the watermark or not.
    offset float
    The offset of watermark.
    open_switch bool
    Indicate whether to auto-remove the watermark or not.
    tcp_port_lists Sequence[str]
    Port range of TCP.
    udp_port_lists Sequence[str]
    Port range of TCP.
    autoRemove Boolean
    Indicate whether to auto-remove the watermark or not.
    offset Number
    The offset of watermark.
    openSwitch Boolean
    Indicate whether to auto-remove the watermark or not.
    tcpPortLists List<String>
    Port range of TCP.
    udpPortLists List<String>
    Port range of TCP.

    GetDayuDdosPoliciesListWatermarkKey

    Content string
    Content of the watermark.
    CreateTime string
    Create time of the DDoS policy.
    Id string
    Id of the watermark.
    OpenSwitch bool
    Indicate whether to auto-remove the watermark or not.
    Content string
    Content of the watermark.
    CreateTime string
    Create time of the DDoS policy.
    Id string
    Id of the watermark.
    OpenSwitch bool
    Indicate whether to auto-remove the watermark or not.
    content String
    Content of the watermark.
    createTime String
    Create time of the DDoS policy.
    id String
    Id of the watermark.
    openSwitch Boolean
    Indicate whether to auto-remove the watermark or not.
    content string
    Content of the watermark.
    createTime string
    Create time of the DDoS policy.
    id string
    Id of the watermark.
    openSwitch boolean
    Indicate whether to auto-remove the watermark or not.
    content str
    Content of the watermark.
    create_time str
    Create time of the DDoS policy.
    id str
    Id of the watermark.
    open_switch bool
    Indicate whether to auto-remove the watermark or not.
    content String
    Content of the watermark.
    createTime String
    Create time of the DDoS policy.
    id String
    Id of the watermark.
    openSwitch Boolean
    Indicate whether to auto-remove the watermark or not.

    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