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

tencentcloud.DayuDdosPolicyCase

Explore with Pulumi AI

Use this resource to create dayu DDoS policy case

NOTE: when a dayu DDoS policy case is created, there will be a dayu DDoS policy created with the same prefix name in the same time. This resource only supports Anti-DDoS of type bgp, bgp-multip and bgpip. One Anti-DDoS resource can only has one DDoS policy case resource. When there is only one Anti-DDoS resource and one policy case, those two resource will be bind automatically.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const foo = new tencentcloud.DayuDdosPolicyCase("foo", {
    appProtocols: [
        "tcp",
        "udp",
    ],
    appType: "WEB",
    hasAbroad: "yes",
    hasInitiateTcp: "yes",
    hasInitiateUdp: "yes",
    hasVpn: "yes",
    maxTcpPackageLen: "1200",
    maxUdpPackageLen: "1200",
    minTcpPackageLen: "1000",
    minUdpPackageLen: "1000",
    peerTcpPort: "1111",
    peerUdpPort: "3333",
    platformTypes: [
        "PC",
        "MOBILE",
    ],
    resourceType: "bgpip",
    tcpEndPort: "2000",
    tcpFootprint: "511",
    tcpStartPort: "1000",
    udpEndPort: "4000",
    udpFootprint: "500",
    udpStartPort: "3000",
    webApiUrls: [
        "abc.com",
        "test.cn/aaa.png",
    ],
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

foo = tencentcloud.DayuDdosPolicyCase("foo",
    app_protocols=[
        "tcp",
        "udp",
    ],
    app_type="WEB",
    has_abroad="yes",
    has_initiate_tcp="yes",
    has_initiate_udp="yes",
    has_vpn="yes",
    max_tcp_package_len="1200",
    max_udp_package_len="1200",
    min_tcp_package_len="1000",
    min_udp_package_len="1000",
    peer_tcp_port="1111",
    peer_udp_port="3333",
    platform_types=[
        "PC",
        "MOBILE",
    ],
    resource_type="bgpip",
    tcp_end_port="2000",
    tcp_footprint="511",
    tcp_start_port="1000",
    udp_end_port="4000",
    udp_footprint="500",
    udp_start_port="3000",
    web_api_urls=[
        "abc.com",
        "test.cn/aaa.png",
    ])
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.NewDayuDdosPolicyCase(ctx, "foo", &tencentcloud.DayuDdosPolicyCaseArgs{
			AppProtocols: pulumi.StringArray{
				pulumi.String("tcp"),
				pulumi.String("udp"),
			},
			AppType:          pulumi.String("WEB"),
			HasAbroad:        pulumi.String("yes"),
			HasInitiateTcp:   pulumi.String("yes"),
			HasInitiateUdp:   pulumi.String("yes"),
			HasVpn:           pulumi.String("yes"),
			MaxTcpPackageLen: pulumi.String("1200"),
			MaxUdpPackageLen: pulumi.String("1200"),
			MinTcpPackageLen: pulumi.String("1000"),
			MinUdpPackageLen: pulumi.String("1000"),
			PeerTcpPort:      pulumi.String("1111"),
			PeerUdpPort:      pulumi.String("3333"),
			PlatformTypes: pulumi.StringArray{
				pulumi.String("PC"),
				pulumi.String("MOBILE"),
			},
			ResourceType: pulumi.String("bgpip"),
			TcpEndPort:   pulumi.String("2000"),
			TcpFootprint: pulumi.String("511"),
			TcpStartPort: pulumi.String("1000"),
			UdpEndPort:   pulumi.String("4000"),
			UdpFootprint: pulumi.String("500"),
			UdpStartPort: pulumi.String("3000"),
			WebApiUrls: pulumi.StringArray{
				pulumi.String("abc.com"),
				pulumi.String("test.cn/aaa.png"),
			},
		})
		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 foo = new Tencentcloud.DayuDdosPolicyCase("foo", new()
    {
        AppProtocols = new[]
        {
            "tcp",
            "udp",
        },
        AppType = "WEB",
        HasAbroad = "yes",
        HasInitiateTcp = "yes",
        HasInitiateUdp = "yes",
        HasVpn = "yes",
        MaxTcpPackageLen = "1200",
        MaxUdpPackageLen = "1200",
        MinTcpPackageLen = "1000",
        MinUdpPackageLen = "1000",
        PeerTcpPort = "1111",
        PeerUdpPort = "3333",
        PlatformTypes = new[]
        {
            "PC",
            "MOBILE",
        },
        ResourceType = "bgpip",
        TcpEndPort = "2000",
        TcpFootprint = "511",
        TcpStartPort = "1000",
        UdpEndPort = "4000",
        UdpFootprint = "500",
        UdpStartPort = "3000",
        WebApiUrls = new[]
        {
            "abc.com",
            "test.cn/aaa.png",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.DayuDdosPolicyCase;
import com.pulumi.tencentcloud.DayuDdosPolicyCaseArgs;
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 foo = new DayuDdosPolicyCase("foo", DayuDdosPolicyCaseArgs.builder()
            .appProtocols(            
                "tcp",
                "udp")
            .appType("WEB")
            .hasAbroad("yes")
            .hasInitiateTcp("yes")
            .hasInitiateUdp("yes")
            .hasVpn("yes")
            .maxTcpPackageLen("1200")
            .maxUdpPackageLen("1200")
            .minTcpPackageLen("1000")
            .minUdpPackageLen("1000")
            .peerTcpPort("1111")
            .peerUdpPort("3333")
            .platformTypes(            
                "PC",
                "MOBILE")
            .resourceType("bgpip")
            .tcpEndPort("2000")
            .tcpFootprint("511")
            .tcpStartPort("1000")
            .udpEndPort("4000")
            .udpFootprint("500")
            .udpStartPort("3000")
            .webApiUrls(            
                "abc.com",
                "test.cn/aaa.png")
            .build());

    }
}
Copy
resources:
  foo:
    type: tencentcloud:DayuDdosPolicyCase
    properties:
      appProtocols:
        - tcp
        - udp
      appType: WEB
      hasAbroad: yes
      hasInitiateTcp: yes
      hasInitiateUdp: yes
      hasVpn: yes
      maxTcpPackageLen: '1200'
      maxUdpPackageLen: '1200'
      minTcpPackageLen: '1000'
      minUdpPackageLen: '1000'
      peerTcpPort: '1111'
      peerUdpPort: '3333'
      platformTypes:
        - PC
        - MOBILE
      resourceType: bgpip
      tcpEndPort: '2000'
      tcpFootprint: '511'
      tcpStartPort: '1000'
      udpEndPort: '4000'
      udpFootprint: '500'
      udpStartPort: '3000'
      webApiUrls:
        - abc.com
        - test.cn/aaa.png
Copy

Create DayuDdosPolicyCase Resource

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

Constructor syntax

new DayuDdosPolicyCase(name: string, args: DayuDdosPolicyCaseArgs, opts?: CustomResourceOptions);
@overload
def DayuDdosPolicyCase(resource_name: str,
                       args: DayuDdosPolicyCaseArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def DayuDdosPolicyCase(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       platform_types: Optional[Sequence[str]] = None,
                       app_type: Optional[str] = None,
                       web_api_urls: Optional[Sequence[str]] = None,
                       has_abroad: Optional[str] = None,
                       has_initiate_tcp: Optional[str] = None,
                       app_protocols: Optional[Sequence[str]] = None,
                       udp_start_port: Optional[str] = None,
                       udp_end_port: Optional[str] = None,
                       tcp_start_port: Optional[str] = None,
                       tcp_end_port: Optional[str] = None,
                       resource_type: Optional[str] = None,
                       has_initiate_udp: Optional[str] = None,
                       peer_tcp_port: Optional[str] = None,
                       peer_udp_port: Optional[str] = None,
                       name: Optional[str] = None,
                       min_udp_package_len: Optional[str] = None,
                       min_tcp_package_len: Optional[str] = None,
                       tcp_footprint: Optional[str] = None,
                       max_udp_package_len: Optional[str] = None,
                       max_tcp_package_len: Optional[str] = None,
                       udp_footprint: Optional[str] = None,
                       has_vpn: Optional[str] = None,
                       dayu_ddos_policy_case_id: Optional[str] = None)
func NewDayuDdosPolicyCase(ctx *Context, name string, args DayuDdosPolicyCaseArgs, opts ...ResourceOption) (*DayuDdosPolicyCase, error)
public DayuDdosPolicyCase(string name, DayuDdosPolicyCaseArgs args, CustomResourceOptions? opts = null)
public DayuDdosPolicyCase(String name, DayuDdosPolicyCaseArgs args)
public DayuDdosPolicyCase(String name, DayuDdosPolicyCaseArgs args, CustomResourceOptions options)
type: tencentcloud:DayuDdosPolicyCase
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. DayuDdosPolicyCaseArgs
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. DayuDdosPolicyCaseArgs
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. DayuDdosPolicyCaseArgs
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. DayuDdosPolicyCaseArgs
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. DayuDdosPolicyCaseArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

AppProtocols This property is required. List<string>
App protocol set of the DDoS policy case.
AppType This property is required. string
App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
HasAbroad This property is required. string
Indicate whether the service involves overseas or not. Valid values: no and yes.
HasInitiateTcp This property is required. string
Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
PlatformTypes This property is required. List<string>
Platform set of the DDoS policy case.
ResourceType This property is required. string
Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
TcpEndPort This property is required. string
End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
TcpStartPort This property is required. string
Start port of the TCP service. Valid value ranges: (0~65535).
UdpEndPort This property is required. string
End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
UdpStartPort This property is required. string
Start port of the UDP service. Valid value ranges: (0~65535).
WebApiUrls This property is required. List<string>
Web API url set.
DayuDdosPolicyCaseId string
ID of the resource.
HasInitiateUdp string
Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
HasVpn string
Indicate whether the service involves VPN service or not. Valid values: no and yes.
MaxTcpPackageLen string
The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
MaxUdpPackageLen string
The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
MinTcpPackageLen string
The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
MinUdpPackageLen string
The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
Name string
Name of the DDoS policy case. Length should between 1 and 64.
PeerTcpPort string
The port that actively initiates TCP requests. Valid value ranges: (1~65535).
PeerUdpPort string
The port that actively initiates UDP requests. Valid value ranges: (1~65535).
TcpFootprint string
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
UdpFootprint string
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
AppProtocols This property is required. []string
App protocol set of the DDoS policy case.
AppType This property is required. string
App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
HasAbroad This property is required. string
Indicate whether the service involves overseas or not. Valid values: no and yes.
HasInitiateTcp This property is required. string
Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
PlatformTypes This property is required. []string
Platform set of the DDoS policy case.
ResourceType This property is required. string
Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
TcpEndPort This property is required. string
End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
TcpStartPort This property is required. string
Start port of the TCP service. Valid value ranges: (0~65535).
UdpEndPort This property is required. string
End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
UdpStartPort This property is required. string
Start port of the UDP service. Valid value ranges: (0~65535).
WebApiUrls This property is required. []string
Web API url set.
DayuDdosPolicyCaseId string
ID of the resource.
HasInitiateUdp string
Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
HasVpn string
Indicate whether the service involves VPN service or not. Valid values: no and yes.
MaxTcpPackageLen string
The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
MaxUdpPackageLen string
The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
MinTcpPackageLen string
The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
MinUdpPackageLen string
The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
Name string
Name of the DDoS policy case. Length should between 1 and 64.
PeerTcpPort string
The port that actively initiates TCP requests. Valid value ranges: (1~65535).
PeerUdpPort string
The port that actively initiates UDP requests. Valid value ranges: (1~65535).
TcpFootprint string
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
UdpFootprint string
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
appProtocols This property is required. List<String>
App protocol set of the DDoS policy case.
appType This property is required. String
App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
hasAbroad This property is required. String
Indicate whether the service involves overseas or not. Valid values: no and yes.
hasInitiateTcp This property is required. String
Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
platformTypes This property is required. List<String>
Platform set of the DDoS policy case.
resourceType This property is required. String
Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
tcpEndPort This property is required. String
End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
tcpStartPort This property is required. String
Start port of the TCP service. Valid value ranges: (0~65535).
udpEndPort This property is required. String
End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
udpStartPort This property is required. String
Start port of the UDP service. Valid value ranges: (0~65535).
webApiUrls This property is required. List<String>
Web API url set.
dayuDdosPolicyCaseId String
ID of the resource.
hasInitiateUdp String
Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
hasVpn String
Indicate whether the service involves VPN service or not. Valid values: no and yes.
maxTcpPackageLen String
The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
maxUdpPackageLen String
The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
minTcpPackageLen String
The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
minUdpPackageLen String
The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
name String
Name of the DDoS policy case. Length should between 1 and 64.
peerTcpPort String
The port that actively initiates TCP requests. Valid value ranges: (1~65535).
peerUdpPort String
The port that actively initiates UDP requests. Valid value ranges: (1~65535).
tcpFootprint String
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
udpFootprint String
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
appProtocols This property is required. string[]
App protocol set of the DDoS policy case.
appType This property is required. string
App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
hasAbroad This property is required. string
Indicate whether the service involves overseas or not. Valid values: no and yes.
hasInitiateTcp This property is required. string
Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
platformTypes This property is required. string[]
Platform set of the DDoS policy case.
resourceType This property is required. string
Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
tcpEndPort This property is required. string
End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
tcpStartPort This property is required. string
Start port of the TCP service. Valid value ranges: (0~65535).
udpEndPort This property is required. string
End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
udpStartPort This property is required. string
Start port of the UDP service. Valid value ranges: (0~65535).
webApiUrls This property is required. string[]
Web API url set.
dayuDdosPolicyCaseId string
ID of the resource.
hasInitiateUdp string
Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
hasVpn string
Indicate whether the service involves VPN service or not. Valid values: no and yes.
maxTcpPackageLen string
The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
maxUdpPackageLen string
The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
minTcpPackageLen string
The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
minUdpPackageLen string
The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
name string
Name of the DDoS policy case. Length should between 1 and 64.
peerTcpPort string
The port that actively initiates TCP requests. Valid value ranges: (1~65535).
peerUdpPort string
The port that actively initiates UDP requests. Valid value ranges: (1~65535).
tcpFootprint string
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
udpFootprint string
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
app_protocols This property is required. Sequence[str]
App protocol set of the DDoS policy case.
app_type This property is required. str
App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
has_abroad This property is required. str
Indicate whether the service involves overseas or not. Valid values: no and yes.
has_initiate_tcp This property is required. str
Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
platform_types This property is required. Sequence[str]
Platform set of the DDoS policy case.
resource_type This property is required. str
Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
tcp_end_port This property is required. str
End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
tcp_start_port This property is required. str
Start port of the TCP service. Valid value ranges: (0~65535).
udp_end_port This property is required. str
End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
udp_start_port This property is required. str
Start port of the UDP service. Valid value ranges: (0~65535).
web_api_urls This property is required. Sequence[str]
Web API url set.
dayu_ddos_policy_case_id str
ID of the resource.
has_initiate_udp str
Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
has_vpn str
Indicate whether the service involves VPN service or not. Valid values: no and yes.
max_tcp_package_len str
The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
max_udp_package_len str
The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
min_tcp_package_len str
The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
min_udp_package_len str
The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
name str
Name of the DDoS policy case. Length should between 1 and 64.
peer_tcp_port str
The port that actively initiates TCP requests. Valid value ranges: (1~65535).
peer_udp_port str
The port that actively initiates UDP requests. Valid value ranges: (1~65535).
tcp_footprint str
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
udp_footprint str
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
appProtocols This property is required. List<String>
App protocol set of the DDoS policy case.
appType This property is required. String
App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
hasAbroad This property is required. String
Indicate whether the service involves overseas or not. Valid values: no and yes.
hasInitiateTcp This property is required. String
Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
platformTypes This property is required. List<String>
Platform set of the DDoS policy case.
resourceType This property is required. String
Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
tcpEndPort This property is required. String
End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
tcpStartPort This property is required. String
Start port of the TCP service. Valid value ranges: (0~65535).
udpEndPort This property is required. String
End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
udpStartPort This property is required. String
Start port of the UDP service. Valid value ranges: (0~65535).
webApiUrls This property is required. List<String>
Web API url set.
dayuDdosPolicyCaseId String
ID of the resource.
hasInitiateUdp String
Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
hasVpn String
Indicate whether the service involves VPN service or not. Valid values: no and yes.
maxTcpPackageLen String
The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
maxUdpPackageLen String
The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
minTcpPackageLen String
The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
minUdpPackageLen String
The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
name String
Name of the DDoS policy case. Length should between 1 and 64.
peerTcpPort String
The port that actively initiates TCP requests. Valid value ranges: (1~65535).
peerUdpPort String
The port that actively initiates UDP requests. Valid value ranges: (1~65535).
tcpFootprint String
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
udpFootprint String
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.

Outputs

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

CreateTime string
Create time of the DDoS policy case.
Id string
The provider-assigned unique ID for this managed resource.
SceneId string
ID of the DDoS policy case.
CreateTime string
Create time of the DDoS policy case.
Id string
The provider-assigned unique ID for this managed resource.
SceneId string
ID of the DDoS policy case.
createTime String
Create time of the DDoS policy case.
id String
The provider-assigned unique ID for this managed resource.
sceneId String
ID of the DDoS policy case.
createTime string
Create time of the DDoS policy case.
id string
The provider-assigned unique ID for this managed resource.
sceneId string
ID of the DDoS policy case.
create_time str
Create time of the DDoS policy case.
id str
The provider-assigned unique ID for this managed resource.
scene_id str
ID of the DDoS policy case.
createTime String
Create time of the DDoS policy case.
id String
The provider-assigned unique ID for this managed resource.
sceneId String
ID of the DDoS policy case.

Look up Existing DayuDdosPolicyCase Resource

Get an existing DayuDdosPolicyCase 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?: DayuDdosPolicyCaseState, opts?: CustomResourceOptions): DayuDdosPolicyCase
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        app_protocols: Optional[Sequence[str]] = None,
        app_type: Optional[str] = None,
        create_time: Optional[str] = None,
        dayu_ddos_policy_case_id: Optional[str] = None,
        has_abroad: Optional[str] = None,
        has_initiate_tcp: Optional[str] = None,
        has_initiate_udp: Optional[str] = None,
        has_vpn: Optional[str] = None,
        max_tcp_package_len: Optional[str] = None,
        max_udp_package_len: Optional[str] = None,
        min_tcp_package_len: Optional[str] = None,
        min_udp_package_len: Optional[str] = None,
        name: Optional[str] = None,
        peer_tcp_port: Optional[str] = None,
        peer_udp_port: Optional[str] = None,
        platform_types: Optional[Sequence[str]] = None,
        resource_type: Optional[str] = None,
        scene_id: Optional[str] = None,
        tcp_end_port: Optional[str] = None,
        tcp_footprint: Optional[str] = None,
        tcp_start_port: Optional[str] = None,
        udp_end_port: Optional[str] = None,
        udp_footprint: Optional[str] = None,
        udp_start_port: Optional[str] = None,
        web_api_urls: Optional[Sequence[str]] = None) -> DayuDdosPolicyCase
func GetDayuDdosPolicyCase(ctx *Context, name string, id IDInput, state *DayuDdosPolicyCaseState, opts ...ResourceOption) (*DayuDdosPolicyCase, error)
public static DayuDdosPolicyCase Get(string name, Input<string> id, DayuDdosPolicyCaseState? state, CustomResourceOptions? opts = null)
public static DayuDdosPolicyCase get(String name, Output<String> id, DayuDdosPolicyCaseState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:DayuDdosPolicyCase    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:
AppProtocols List<string>
App protocol set of the DDoS policy case.
AppType string
App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
CreateTime string
Create time of the DDoS policy case.
DayuDdosPolicyCaseId string
ID of the resource.
HasAbroad string
Indicate whether the service involves overseas or not. Valid values: no and yes.
HasInitiateTcp string
Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
HasInitiateUdp string
Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
HasVpn string
Indicate whether the service involves VPN service or not. Valid values: no and yes.
MaxTcpPackageLen string
The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
MaxUdpPackageLen string
The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
MinTcpPackageLen string
The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
MinUdpPackageLen string
The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
Name string
Name of the DDoS policy case. Length should between 1 and 64.
PeerTcpPort string
The port that actively initiates TCP requests. Valid value ranges: (1~65535).
PeerUdpPort string
The port that actively initiates UDP requests. Valid value ranges: (1~65535).
PlatformTypes List<string>
Platform set of the DDoS policy case.
ResourceType string
Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
SceneId string
ID of the DDoS policy case.
TcpEndPort string
End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
TcpFootprint string
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
TcpStartPort string
Start port of the TCP service. Valid value ranges: (0~65535).
UdpEndPort string
End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
UdpFootprint string
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
UdpStartPort string
Start port of the UDP service. Valid value ranges: (0~65535).
WebApiUrls List<string>
Web API url set.
AppProtocols []string
App protocol set of the DDoS policy case.
AppType string
App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
CreateTime string
Create time of the DDoS policy case.
DayuDdosPolicyCaseId string
ID of the resource.
HasAbroad string
Indicate whether the service involves overseas or not. Valid values: no and yes.
HasInitiateTcp string
Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
HasInitiateUdp string
Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
HasVpn string
Indicate whether the service involves VPN service or not. Valid values: no and yes.
MaxTcpPackageLen string
The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
MaxUdpPackageLen string
The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
MinTcpPackageLen string
The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
MinUdpPackageLen string
The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
Name string
Name of the DDoS policy case. Length should between 1 and 64.
PeerTcpPort string
The port that actively initiates TCP requests. Valid value ranges: (1~65535).
PeerUdpPort string
The port that actively initiates UDP requests. Valid value ranges: (1~65535).
PlatformTypes []string
Platform set of the DDoS policy case.
ResourceType string
Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
SceneId string
ID of the DDoS policy case.
TcpEndPort string
End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
TcpFootprint string
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
TcpStartPort string
Start port of the TCP service. Valid value ranges: (0~65535).
UdpEndPort string
End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
UdpFootprint string
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
UdpStartPort string
Start port of the UDP service. Valid value ranges: (0~65535).
WebApiUrls []string
Web API url set.
appProtocols List<String>
App protocol set of the DDoS policy case.
appType String
App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
createTime String
Create time of the DDoS policy case.
dayuDdosPolicyCaseId String
ID of the resource.
hasAbroad String
Indicate whether the service involves overseas or not. Valid values: no and yes.
hasInitiateTcp String
Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
hasInitiateUdp String
Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
hasVpn String
Indicate whether the service involves VPN service or not. Valid values: no and yes.
maxTcpPackageLen String
The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
maxUdpPackageLen String
The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
minTcpPackageLen String
The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
minUdpPackageLen String
The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
name String
Name of the DDoS policy case. Length should between 1 and 64.
peerTcpPort String
The port that actively initiates TCP requests. Valid value ranges: (1~65535).
peerUdpPort String
The port that actively initiates UDP requests. Valid value ranges: (1~65535).
platformTypes List<String>
Platform set of the DDoS policy case.
resourceType String
Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
sceneId String
ID of the DDoS policy case.
tcpEndPort String
End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
tcpFootprint String
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
tcpStartPort String
Start port of the TCP service. Valid value ranges: (0~65535).
udpEndPort String
End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
udpFootprint String
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
udpStartPort String
Start port of the UDP service. Valid value ranges: (0~65535).
webApiUrls List<String>
Web API url set.
appProtocols string[]
App protocol set of the DDoS policy case.
appType string
App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
createTime string
Create time of the DDoS policy case.
dayuDdosPolicyCaseId string
ID of the resource.
hasAbroad string
Indicate whether the service involves overseas or not. Valid values: no and yes.
hasInitiateTcp string
Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
hasInitiateUdp string
Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
hasVpn string
Indicate whether the service involves VPN service or not. Valid values: no and yes.
maxTcpPackageLen string
The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
maxUdpPackageLen string
The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
minTcpPackageLen string
The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
minUdpPackageLen string
The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
name string
Name of the DDoS policy case. Length should between 1 and 64.
peerTcpPort string
The port that actively initiates TCP requests. Valid value ranges: (1~65535).
peerUdpPort string
The port that actively initiates UDP requests. Valid value ranges: (1~65535).
platformTypes string[]
Platform set of the DDoS policy case.
resourceType string
Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
sceneId string
ID of the DDoS policy case.
tcpEndPort string
End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
tcpFootprint string
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
tcpStartPort string
Start port of the TCP service. Valid value ranges: (0~65535).
udpEndPort string
End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
udpFootprint string
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
udpStartPort string
Start port of the UDP service. Valid value ranges: (0~65535).
webApiUrls string[]
Web API url set.
app_protocols Sequence[str]
App protocol set of the DDoS policy case.
app_type str
App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
create_time str
Create time of the DDoS policy case.
dayu_ddos_policy_case_id str
ID of the resource.
has_abroad str
Indicate whether the service involves overseas or not. Valid values: no and yes.
has_initiate_tcp str
Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
has_initiate_udp str
Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
has_vpn str
Indicate whether the service involves VPN service or not. Valid values: no and yes.
max_tcp_package_len str
The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
max_udp_package_len str
The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
min_tcp_package_len str
The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
min_udp_package_len str
The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
name str
Name of the DDoS policy case. Length should between 1 and 64.
peer_tcp_port str
The port that actively initiates TCP requests. Valid value ranges: (1~65535).
peer_udp_port str
The port that actively initiates UDP requests. Valid value ranges: (1~65535).
platform_types Sequence[str]
Platform set of the DDoS policy case.
resource_type str
Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
scene_id str
ID of the DDoS policy case.
tcp_end_port str
End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
tcp_footprint str
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
tcp_start_port str
Start port of the TCP service. Valid value ranges: (0~65535).
udp_end_port str
End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
udp_footprint str
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
udp_start_port str
Start port of the UDP service. Valid value ranges: (0~65535).
web_api_urls Sequence[str]
Web API url set.
appProtocols List<String>
App protocol set of the DDoS policy case.
appType String
App type of the DDoS policy case. Valid values: WEB, GAME, APP and OTHER.
createTime String
Create time of the DDoS policy case.
dayuDdosPolicyCaseId String
ID of the resource.
hasAbroad String
Indicate whether the service involves overseas or not. Valid values: no and yes.
hasInitiateTcp String
Indicate whether the service actively initiates TCP requests or not. Valid values: no and yes.
hasInitiateUdp String
Indicate whether the actively initiate UDP requests or not. Valid values: no and yes.
hasVpn String
Indicate whether the service involves VPN service or not. Valid values: no and yes.
maxTcpPackageLen String
The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_tcp_package_len.
maxUdpPackageLen String
The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than min_udp_package_len.
minTcpPackageLen String
The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500.
minUdpPackageLen String
The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500.
name String
Name of the DDoS policy case. Length should between 1 and 64.
peerTcpPort String
The port that actively initiates TCP requests. Valid value ranges: (1~65535).
peerUdpPort String
The port that actively initiates UDP requests. Valid value ranges: (1~65535).
platformTypes List<String>
Platform set of the DDoS policy case.
resourceType String
Type of the resource that the DDoS policy case works for. Valid values: bgpip, bgp and bgp-multip.
sceneId String
ID of the DDoS policy case.
tcpEndPort String
End port of the TCP service. Valid value ranges: (0~65535). It must be greater than tcp_start_port.
tcpFootprint String
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
tcpStartPort String
Start port of the TCP service. Valid value ranges: (0~65535).
udpEndPort String
End port of the UDP service. Valid value ranges: (0~65535). It must be greater than udp_start_port.
udpFootprint String
The fixed signature of TCP protocol load, valid value length is range from 1 to 512.
udpStartPort String
Start port of the UDP service. Valid value ranges: (0~65535).
webApiUrls List<String>
Web API url set.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.