tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getDayuDdosPolicyCases
Start a Neo task
Explain and create a tencentcloud.getDayuDdosPolicyCases resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query dayu DDoS policy cases
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const idTest = tencentcloud.getDayuDdosPolicyCases({
resourceType: testPolicyCase.resourceType,
sceneId: testPolicyCase.sceneId,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
id_test = tencentcloud.get_dayu_ddos_policy_cases(resource_type=test_policy_case["resourceType"],
scene_id=test_policy_case["sceneId"])
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.GetDayuDdosPolicyCases(ctx, &tencentcloud.GetDayuDdosPolicyCasesArgs{
ResourceType: testPolicyCase.ResourceType,
SceneId: testPolicyCase.SceneId,
}, 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.GetDayuDdosPolicyCases.Invoke(new()
{
ResourceType = testPolicyCase.ResourceType,
SceneId = testPolicyCase.SceneId,
});
});
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.GetDayuDdosPolicyCasesArgs;
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.getDayuDdosPolicyCases(GetDayuDdosPolicyCasesArgs.builder()
.resourceType(testPolicyCase.resourceType())
.sceneId(testPolicyCase.sceneId())
.build());
}
}
variables:
idTest:
fn::invoke:
function: tencentcloud:getDayuDdosPolicyCases
arguments:
resourceType: ${testPolicyCase.resourceType}
sceneId: ${testPolicyCase.sceneId}
Using getDayuDdosPolicyCases
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 getDayuDdosPolicyCases(args: GetDayuDdosPolicyCasesArgs, opts?: InvokeOptions): Promise<GetDayuDdosPolicyCasesResult>
function getDayuDdosPolicyCasesOutput(args: GetDayuDdosPolicyCasesOutputArgs, opts?: InvokeOptions): Output<GetDayuDdosPolicyCasesResult>def get_dayu_ddos_policy_cases(id: Optional[str] = None,
resource_type: Optional[str] = None,
result_output_file: Optional[str] = None,
scene_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDayuDdosPolicyCasesResult
def get_dayu_ddos_policy_cases_output(id: Optional[pulumi.Input[str]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
scene_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDayuDdosPolicyCasesResult]func GetDayuDdosPolicyCases(ctx *Context, args *GetDayuDdosPolicyCasesArgs, opts ...InvokeOption) (*GetDayuDdosPolicyCasesResult, error)
func GetDayuDdosPolicyCasesOutput(ctx *Context, args *GetDayuDdosPolicyCasesOutputArgs, opts ...InvokeOption) GetDayuDdosPolicyCasesResultOutput> Note: This function is named GetDayuDdosPolicyCases in the Go SDK.
public static class GetDayuDdosPolicyCases
{
public static Task<GetDayuDdosPolicyCasesResult> InvokeAsync(GetDayuDdosPolicyCasesArgs args, InvokeOptions? opts = null)
public static Output<GetDayuDdosPolicyCasesResult> Invoke(GetDayuDdosPolicyCasesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDayuDdosPolicyCasesResult> getDayuDdosPolicyCases(GetDayuDdosPolicyCasesArgs args, InvokeOptions options)
public static Output<GetDayuDdosPolicyCasesResult> getDayuDdosPolicyCases(GetDayuDdosPolicyCasesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDayuDdosPolicyCases:getDayuDdosPolicyCases
arguments:
# arguments dictionaryThe following arguments are supported:
- Resource
Type string - Type of the resource that the DDoS policy case works for, valid values are
bgpip,bgp,bgp-multipandnet. - Scene
Id string - ID of the DDoS policy case to be query.
- Id string
- Result
Output stringFile - Used to save results.
- Resource
Type string - Type of the resource that the DDoS policy case works for, valid values are
bgpip,bgp,bgp-multipandnet. - Scene
Id string - ID of the DDoS policy case to be query.
- Id string
- Result
Output stringFile - Used to save results.
- resource
Type String - Type of the resource that the DDoS policy case works for, valid values are
bgpip,bgp,bgp-multipandnet. - scene
Id String - ID of the DDoS policy case to be query.
- id String
- result
Output StringFile - Used to save results.
- resource
Type string - Type of the resource that the DDoS policy case works for, valid values are
bgpip,bgp,bgp-multipandnet. - scene
Id string - ID of the DDoS policy case to be query.
- id string
- result
Output stringFile - Used to save results.
- resource_
type str - Type of the resource that the DDoS policy case works for, valid values are
bgpip,bgp,bgp-multipandnet. - scene_
id str - ID of the DDoS policy case to be query.
- id str
- result_
output_ strfile - Used to save results.
- resource
Type String - Type of the resource that the DDoS policy case works for, valid values are
bgpip,bgp,bgp-multipandnet. - scene
Id String - ID of the DDoS policy case to be query.
- id String
- result
Output StringFile - Used to save results.
getDayuDdosPolicyCases Result
The following output properties are available:
- Id string
- Lists
List<Get
Dayu Ddos Policy Cases List> - A list of DDoS policy cases. Each element contains the following attributes:
- Resource
Type string - Type of the resource that the DDoS policy case works for.
- Scene
Id string - ID of the DDoS policy case.
- Result
Output stringFile
- Id string
- Lists
[]Get
Dayu Ddos Policy Cases List - A list of DDoS policy cases. Each element contains the following attributes:
- Resource
Type string - Type of the resource that the DDoS policy case works for.
- Scene
Id string - ID of the DDoS policy case.
- Result
Output stringFile
- id String
- lists
List<Get
Dayu Ddos Policy Cases List> - A list of DDoS policy cases. Each element contains the following attributes:
- resource
Type String - Type of the resource that the DDoS policy case works for.
- scene
Id String - ID of the DDoS policy case.
- result
Output StringFile
- id string
- lists
Get
Dayu Ddos Policy Cases List[] - A list of DDoS policy cases. Each element contains the following attributes:
- resource
Type string - Type of the resource that the DDoS policy case works for.
- scene
Id string - ID of the DDoS policy case.
- result
Output stringFile
- id str
- lists
Sequence[Get
Dayu Ddos Policy Cases List] - A list of DDoS policy cases. Each element contains the following attributes:
- resource_
type str - Type of the resource that the DDoS policy case works for.
- scene_
id str - ID of the DDoS policy case.
- result_
output_ strfile
- id String
- lists List<Property Map>
- A list of DDoS policy cases. Each element contains the following attributes:
- resource
Type String - Type of the resource that the DDoS policy case works for.
- scene
Id String - ID of the DDoS policy case.
- result
Output StringFile
Supporting Types
GetDayuDdosPolicyCasesList
- App
Protocols List<string> - App protocol set of the DDoS policy case.
- App
Type string - App type of the DDoS policy case.
- Create
Time string - Create time of the DDoS policy case.
- Has
Abroad string - Indicate whether the service involves overseas or not.
- Has
Initiate stringTcp - Indicate whether the service actively initiates TCP requests or not.
- Has
Initiate stringUdp - Indicate whether the actively initiate UDP requests or not.
- Has
Vpn string - Indicate whether the service involves VPN service or not.
- Max
Tcp stringPackage Len - The max length of TCP message package.
- Max
Udp stringPackage Len - The max length of UDP message package.
- Min
Tcp stringPackage Len - The minimum length of TCP message package.
- Min
Udp stringPackage Len - The minimum length of UDP message package.
- Name string
- Name of the DDoS policy case.
- Peer
Tcp stringPort - The port that actively initiates TCP requests.
- Peer
Udp stringPort - The port that actively initiates UDP requests.
- Platform
Types List<string> - Platform set of the DDoS policy case.
- Resource
Type string - Type of the resource that the DDoS policy case works for, valid values are
bgpip,bgp,bgp-multipandnet. - Scene
Id string - ID of the DDoS policy case to be query.
- Tcp
End stringPort - End port of the TCP service.
- Tcp
Footprint string - The fixed signature of TCP protocol load.
- Tcp
Start stringPort - Start port of the TCP service.
- Udp
End stringPort - End port of the UDP service.
- Udp
Footprint string - The fixed signature of TCP protocol load.
- Udp
Start stringPort - Start port of the UDP service.
- Web
Api List<string>Urls - Web API url set.
- App
Protocols []string - App protocol set of the DDoS policy case.
- App
Type string - App type of the DDoS policy case.
- Create
Time string - Create time of the DDoS policy case.
- Has
Abroad string - Indicate whether the service involves overseas or not.
- Has
Initiate stringTcp - Indicate whether the service actively initiates TCP requests or not.
- Has
Initiate stringUdp - Indicate whether the actively initiate UDP requests or not.
- Has
Vpn string - Indicate whether the service involves VPN service or not.
- Max
Tcp stringPackage Len - The max length of TCP message package.
- Max
Udp stringPackage Len - The max length of UDP message package.
- Min
Tcp stringPackage Len - The minimum length of TCP message package.
- Min
Udp stringPackage Len - The minimum length of UDP message package.
- Name string
- Name of the DDoS policy case.
- Peer
Tcp stringPort - The port that actively initiates TCP requests.
- Peer
Udp stringPort - The port that actively initiates UDP requests.
- Platform
Types []string - Platform set of the DDoS policy case.
- Resource
Type string - Type of the resource that the DDoS policy case works for, valid values are
bgpip,bgp,bgp-multipandnet. - Scene
Id string - ID of the DDoS policy case to be query.
- Tcp
End stringPort - End port of the TCP service.
- Tcp
Footprint string - The fixed signature of TCP protocol load.
- Tcp
Start stringPort - Start port of the TCP service.
- Udp
End stringPort - End port of the UDP service.
- Udp
Footprint string - The fixed signature of TCP protocol load.
- Udp
Start stringPort - Start port of the UDP service.
- Web
Api []stringUrls - Web API url set.
- app
Protocols List<String> - App protocol set of the DDoS policy case.
- app
Type String - App type of the DDoS policy case.
- create
Time String - Create time of the DDoS policy case.
- has
Abroad String - Indicate whether the service involves overseas or not.
- has
Initiate StringTcp - Indicate whether the service actively initiates TCP requests or not.
- has
Initiate StringUdp - Indicate whether the actively initiate UDP requests or not.
- has
Vpn String - Indicate whether the service involves VPN service or not.
- max
Tcp StringPackage Len - The max length of TCP message package.
- max
Udp StringPackage Len - The max length of UDP message package.
- min
Tcp StringPackage Len - The minimum length of TCP message package.
- min
Udp StringPackage Len - The minimum length of UDP message package.
- name String
- Name of the DDoS policy case.
- peer
Tcp StringPort - The port that actively initiates TCP requests.
- peer
Udp StringPort - The port that actively initiates UDP requests.
- platform
Types List<String> - Platform set of the DDoS policy case.
- resource
Type String - Type of the resource that the DDoS policy case works for, valid values are
bgpip,bgp,bgp-multipandnet. - scene
Id String - ID of the DDoS policy case to be query.
- tcp
End StringPort - End port of the TCP service.
- tcp
Footprint String - The fixed signature of TCP protocol load.
- tcp
Start StringPort - Start port of the TCP service.
- udp
End StringPort - End port of the UDP service.
- udp
Footprint String - The fixed signature of TCP protocol load.
- udp
Start StringPort - Start port of the UDP service.
- web
Api List<String>Urls - Web API url set.
- app
Protocols string[] - App protocol set of the DDoS policy case.
- app
Type string - App type of the DDoS policy case.
- create
Time string - Create time of the DDoS policy case.
- has
Abroad string - Indicate whether the service involves overseas or not.
- has
Initiate stringTcp - Indicate whether the service actively initiates TCP requests or not.
- has
Initiate stringUdp - Indicate whether the actively initiate UDP requests or not.
- has
Vpn string - Indicate whether the service involves VPN service or not.
- max
Tcp stringPackage Len - The max length of TCP message package.
- max
Udp stringPackage Len - The max length of UDP message package.
- min
Tcp stringPackage Len - The minimum length of TCP message package.
- min
Udp stringPackage Len - The minimum length of UDP message package.
- name string
- Name of the DDoS policy case.
- peer
Tcp stringPort - The port that actively initiates TCP requests.
- peer
Udp stringPort - The port that actively initiates UDP requests.
- platform
Types string[] - Platform set of the DDoS policy case.
- resource
Type string - Type of the resource that the DDoS policy case works for, valid values are
bgpip,bgp,bgp-multipandnet. - scene
Id string - ID of the DDoS policy case to be query.
- tcp
End stringPort - End port of the TCP service.
- tcp
Footprint string - The fixed signature of TCP protocol load.
- tcp
Start stringPort - Start port of the TCP service.
- udp
End stringPort - End port of the UDP service.
- udp
Footprint string - The fixed signature of TCP protocol load.
- udp
Start stringPort - Start port of the UDP service.
- web
Api string[]Urls - 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.
- create_
time str - Create time of the DDoS policy case.
- has_
abroad str - Indicate whether the service involves overseas or not.
- has_
initiate_ strtcp - Indicate whether the service actively initiates TCP requests or not.
- has_
initiate_ strudp - Indicate whether the actively initiate UDP requests or not.
- has_
vpn str - Indicate whether the service involves VPN service or not.
- max_
tcp_ strpackage_ len - The max length of TCP message package.
- max_
udp_ strpackage_ len - The max length of UDP message package.
- min_
tcp_ strpackage_ len - The minimum length of TCP message package.
- min_
udp_ strpackage_ len - The minimum length of UDP message package.
- name str
- Name of the DDoS policy case.
- peer_
tcp_ strport - The port that actively initiates TCP requests.
- peer_
udp_ strport - The port that actively initiates UDP requests.
- 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 are
bgpip,bgp,bgp-multipandnet. - scene_
id str - ID of the DDoS policy case to be query.
- tcp_
end_ strport - End port of the TCP service.
- tcp_
footprint str - The fixed signature of TCP protocol load.
- tcp_
start_ strport - Start port of the TCP service.
- udp_
end_ strport - End port of the UDP service.
- udp_
footprint str - The fixed signature of TCP protocol load.
- udp_
start_ strport - Start port of the UDP service.
- web_
api_ Sequence[str]urls - Web API url set.
- app
Protocols List<String> - App protocol set of the DDoS policy case.
- app
Type String - App type of the DDoS policy case.
- create
Time String - Create time of the DDoS policy case.
- has
Abroad String - Indicate whether the service involves overseas or not.
- has
Initiate StringTcp - Indicate whether the service actively initiates TCP requests or not.
- has
Initiate StringUdp - Indicate whether the actively initiate UDP requests or not.
- has
Vpn String - Indicate whether the service involves VPN service or not.
- max
Tcp StringPackage Len - The max length of TCP message package.
- max
Udp StringPackage Len - The max length of UDP message package.
- min
Tcp StringPackage Len - The minimum length of TCP message package.
- min
Udp StringPackage Len - The minimum length of UDP message package.
- name String
- Name of the DDoS policy case.
- peer
Tcp StringPort - The port that actively initiates TCP requests.
- peer
Udp StringPort - The port that actively initiates UDP requests.
- platform
Types List<String> - Platform set of the DDoS policy case.
- resource
Type String - Type of the resource that the DDoS policy case works for, valid values are
bgpip,bgp,bgp-multipandnet. - scene
Id String - ID of the DDoS policy case to be query.
- tcp
End StringPort - End port of the TCP service.
- tcp
Footprint String - The fixed signature of TCP protocol load.
- tcp
Start StringPort - Start port of the TCP service.
- udp
End StringPort - End port of the UDP service.
- udp
Footprint String - The fixed signature of TCP protocol load.
- udp
Start StringPort - Start port of the UDP service.
- web
Api List<String>Urls - Web API url set.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
