tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getDayuDdosPolicyCases
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 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: tencentcloud_dayu_ddos_policy_case.test_policy_case.resource_type,
sceneId: tencentcloud_dayu_ddos_policy_case.test_policy_case.scene_id,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
id_test = tencentcloud.get_dayu_ddos_policy_cases(resource_type=tencentcloud_dayu_ddos_policy_case["test_policy_case"]["resource_type"],
scene_id=tencentcloud_dayu_ddos_policy_case["test_policy_case"]["scene_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.GetDayuDdosPolicyCases(ctx, &tencentcloud.GetDayuDdosPolicyCasesArgs{
ResourceType: tencentcloud_dayu_ddos_policy_case.Test_policy_case.Resource_type,
SceneId: tencentcloud_dayu_ddos_policy_case.Test_policy_case.Scene_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.GetDayuDdosPolicyCases.Invoke(new()
{
ResourceType = tencentcloud_dayu_ddos_policy_case.Test_policy_case.Resource_type,
SceneId = tencentcloud_dayu_ddos_policy_case.Test_policy_case.Scene_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.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(tencentcloud_dayu_ddos_policy_case.test_policy_case().resource_type())
.sceneId(tencentcloud_dayu_ddos_policy_case.test_policy_case().scene_id())
.build());
}
}
variables:
idTest:
fn::invoke:
function: tencentcloud:getDayuDdosPolicyCases
arguments:
resourceType: ${tencentcloud_dayu_ddos_policy_case.test_policy_case.resource_type}
sceneId: ${tencentcloud_dayu_ddos_policy_case.test_policy_case.scene_id}
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 dictionary
The following arguments are supported:
- Resource
Type This property is required. string - Type of the resource that the DDoS policy case works for, valid values are
bgpip
,bgp
,bgp-multip
andnet
. - Scene
Id This property is required. string - ID of the DDoS policy case to be query.
- Id string
- Result
Output stringFile - Used to save results.
- Resource
Type This property is required. string - Type of the resource that the DDoS policy case works for, valid values are
bgpip
,bgp
,bgp-multip
andnet
. - Scene
Id This property is required. string - ID of the DDoS policy case to be query.
- Id string
- Result
Output stringFile - Used to save results.
- resource
Type This property is required. String - Type of the resource that the DDoS policy case works for, valid values are
bgpip
,bgp
,bgp-multip
andnet
. - scene
Id This property is required. String - ID of the DDoS policy case to be query.
- id String
- result
Output StringFile - Used to save results.
- resource
Type This property is required. string - Type of the resource that the DDoS policy case works for, valid values are
bgpip
,bgp
,bgp-multip
andnet
. - scene
Id This property is required. string - ID of the DDoS policy case to be query.
- id string
- result
Output stringFile - Used to save results.
- resource_
type This property is required. str - Type of the resource that the DDoS policy case works for, valid values are
bgpip
,bgp
,bgp-multip
andnet
. - scene_
id This property is required. str - ID of the DDoS policy case to be query.
- id str
- result_
output_ strfile - Used to save results.
- resource
Type This property is required. String - Type of the resource that the DDoS policy case works for, valid values are
bgpip
,bgp
,bgp-multip
andnet
. - scene
Id This property is required. 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 This property is required. List<string> - App protocol set of the DDoS policy case.
- App
Type This property is required. string - App type of the DDoS policy case.
- Create
Time This property is required. string - Create time of the DDoS policy case.
- Has
Abroad This property is required. string - Indicate whether the service involves overseas or not.
- Has
Initiate Tcp This property is required. string - Indicate whether the service actively initiates TCP requests or not.
- Has
Initiate Udp This property is required. string - Indicate whether the actively initiate UDP requests or not.
- Has
Vpn This property is required. string - Indicate whether the service involves VPN service or not.
- Max
Tcp Package Len This property is required. string - The max length of TCP message package.
- Max
Udp Package Len This property is required. string - The max length of UDP message package.
- Min
Tcp Package Len This property is required. string - The minimum length of TCP message package.
- Min
Udp Package Len This property is required. string - The minimum length of UDP message package.
- Name
This property is required. string - Name of the DDoS policy case.
- Peer
Tcp Port This property is required. string - The port that actively initiates TCP requests.
- Peer
Udp Port This property is required. string - The port that actively initiates UDP requests.
- Platform
Types This property is required. List<string> - Platform set of the DDoS policy case.
- Resource
Type This property is required. string - Type of the resource that the DDoS policy case works for, valid values are
bgpip
,bgp
,bgp-multip
andnet
. - Scene
Id This property is required. string - ID of the DDoS policy case to be query.
- Tcp
End Port This property is required. string - End port of the TCP service.
- Tcp
Footprint This property is required. string - The fixed signature of TCP protocol load.
- Tcp
Start Port This property is required. string - Start port of the TCP service.
- Udp
End Port This property is required. string - End port of the UDP service.
- Udp
Footprint This property is required. string - The fixed signature of TCP protocol load.
- Udp
Start Port This property is required. string - Start port of the UDP service.
- Web
Api Urls This property is required. List<string> - Web API url set.
- App
Protocols This property is required. []string - App protocol set of the DDoS policy case.
- App
Type This property is required. string - App type of the DDoS policy case.
- Create
Time This property is required. string - Create time of the DDoS policy case.
- Has
Abroad This property is required. string - Indicate whether the service involves overseas or not.
- Has
Initiate Tcp This property is required. string - Indicate whether the service actively initiates TCP requests or not.
- Has
Initiate Udp This property is required. string - Indicate whether the actively initiate UDP requests or not.
- Has
Vpn This property is required. string - Indicate whether the service involves VPN service or not.
- Max
Tcp Package Len This property is required. string - The max length of TCP message package.
- Max
Udp Package Len This property is required. string - The max length of UDP message package.
- Min
Tcp Package Len This property is required. string - The minimum length of TCP message package.
- Min
Udp Package Len This property is required. string - The minimum length of UDP message package.
- Name
This property is required. string - Name of the DDoS policy case.
- Peer
Tcp Port This property is required. string - The port that actively initiates TCP requests.
- Peer
Udp Port This property is required. string - The port that actively initiates UDP requests.
- Platform
Types This property is required. []string - Platform set of the DDoS policy case.
- Resource
Type This property is required. string - Type of the resource that the DDoS policy case works for, valid values are
bgpip
,bgp
,bgp-multip
andnet
. - Scene
Id This property is required. string - ID of the DDoS policy case to be query.
- Tcp
End Port This property is required. string - End port of the TCP service.
- Tcp
Footprint This property is required. string - The fixed signature of TCP protocol load.
- Tcp
Start Port This property is required. string - Start port of the TCP service.
- Udp
End Port This property is required. string - End port of the UDP service.
- Udp
Footprint This property is required. string - The fixed signature of TCP protocol load.
- Udp
Start Port This property is required. string - Start port of the UDP service.
- Web
Api Urls This property is required. []string - Web API url set.
- app
Protocols This property is required. List<String> - App protocol set of the DDoS policy case.
- app
Type This property is required. String - App type of the DDoS policy case.
- create
Time This property is required. String - Create time of the DDoS policy case.
- has
Abroad This property is required. String - Indicate whether the service involves overseas or not.
- has
Initiate Tcp This property is required. String - Indicate whether the service actively initiates TCP requests or not.
- has
Initiate Udp This property is required. String - Indicate whether the actively initiate UDP requests or not.
- has
Vpn This property is required. String - Indicate whether the service involves VPN service or not.
- max
Tcp Package Len This property is required. String - The max length of TCP message package.
- max
Udp Package Len This property is required. String - The max length of UDP message package.
- min
Tcp Package Len This property is required. String - The minimum length of TCP message package.
- min
Udp Package Len This property is required. String - The minimum length of UDP message package.
- name
This property is required. String - Name of the DDoS policy case.
- peer
Tcp Port This property is required. String - The port that actively initiates TCP requests.
- peer
Udp Port This property is required. String - The port that actively initiates UDP requests.
- platform
Types This property is required. List<String> - Platform set of the DDoS policy case.
- resource
Type This property is required. String - Type of the resource that the DDoS policy case works for, valid values are
bgpip
,bgp
,bgp-multip
andnet
. - scene
Id This property is required. String - ID of the DDoS policy case to be query.
- tcp
End Port This property is required. String - End port of the TCP service.
- tcp
Footprint This property is required. String - The fixed signature of TCP protocol load.
- tcp
Start Port This property is required. String - Start port of the TCP service.
- udp
End Port This property is required. String - End port of the UDP service.
- udp
Footprint This property is required. String - The fixed signature of TCP protocol load.
- udp
Start Port This property is required. String - Start port of the UDP service.
- web
Api Urls This property is required. List<String> - Web API url set.
- app
Protocols This property is required. string[] - App protocol set of the DDoS policy case.
- app
Type This property is required. string - App type of the DDoS policy case.
- create
Time This property is required. string - Create time of the DDoS policy case.
- has
Abroad This property is required. string - Indicate whether the service involves overseas or not.
- has
Initiate Tcp This property is required. string - Indicate whether the service actively initiates TCP requests or not.
- has
Initiate Udp This property is required. string - Indicate whether the actively initiate UDP requests or not.
- has
Vpn This property is required. string - Indicate whether the service involves VPN service or not.
- max
Tcp Package Len This property is required. string - The max length of TCP message package.
- max
Udp Package Len This property is required. string - The max length of UDP message package.
- min
Tcp Package Len This property is required. string - The minimum length of TCP message package.
- min
Udp Package Len This property is required. string - The minimum length of UDP message package.
- name
This property is required. string - Name of the DDoS policy case.
- peer
Tcp Port This property is required. string - The port that actively initiates TCP requests.
- peer
Udp Port This property is required. string - The port that actively initiates UDP requests.
- platform
Types This property is required. string[] - Platform set of the DDoS policy case.
- resource
Type This property is required. string - Type of the resource that the DDoS policy case works for, valid values are
bgpip
,bgp
,bgp-multip
andnet
. - scene
Id This property is required. string - ID of the DDoS policy case to be query.
- tcp
End Port This property is required. string - End port of the TCP service.
- tcp
Footprint This property is required. string - The fixed signature of TCP protocol load.
- tcp
Start Port This property is required. string - Start port of the TCP service.
- udp
End Port This property is required. string - End port of the UDP service.
- udp
Footprint This property is required. string - The fixed signature of TCP protocol load.
- udp
Start Port This property is required. string - Start port of the UDP service.
- web
Api Urls This property is required. string[] - Web API url set.
- 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.
- create_
time This property is required. str - Create time of the DDoS policy case.
- has_
abroad This property is required. str - Indicate whether the service involves overseas or not.
- has_
initiate_ tcp This property is required. str - Indicate whether the service actively initiates TCP requests or not.
- has_
initiate_ udp This property is required. str - Indicate whether the actively initiate UDP requests or not.
- has_
vpn This property is required. str - Indicate whether the service involves VPN service or not.
- max_
tcp_ package_ len This property is required. str - The max length of TCP message package.
- max_
udp_ package_ len This property is required. str - The max length of UDP message package.
- min_
tcp_ package_ len This property is required. str - The minimum length of TCP message package.
- min_
udp_ package_ len This property is required. str - The minimum length of UDP message package.
- name
This property is required. str - Name of the DDoS policy case.
- peer_
tcp_ port This property is required. str - The port that actively initiates TCP requests.
- peer_
udp_ port This property is required. str - The port that actively initiates UDP requests.
- 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 are
bgpip
,bgp
,bgp-multip
andnet
. - scene_
id This property is required. str - ID of the DDoS policy case to be query.
- tcp_
end_ port This property is required. str - End port of the TCP service.
- tcp_
footprint This property is required. str - The fixed signature of TCP protocol load.
- tcp_
start_ port This property is required. str - Start port of the TCP service.
- udp_
end_ port This property is required. str - End port of the UDP service.
- udp_
footprint This property is required. str - The fixed signature of TCP protocol load.
- udp_
start_ port This property is required. str - Start port of the UDP service.
- web_
api_ urls This property is required. Sequence[str] - Web API url set.
- app
Protocols This property is required. List<String> - App protocol set of the DDoS policy case.
- app
Type This property is required. String - App type of the DDoS policy case.
- create
Time This property is required. String - Create time of the DDoS policy case.
- has
Abroad This property is required. String - Indicate whether the service involves overseas or not.
- has
Initiate Tcp This property is required. String - Indicate whether the service actively initiates TCP requests or not.
- has
Initiate Udp This property is required. String - Indicate whether the actively initiate UDP requests or not.
- has
Vpn This property is required. String - Indicate whether the service involves VPN service or not.
- max
Tcp Package Len This property is required. String - The max length of TCP message package.
- max
Udp Package Len This property is required. String - The max length of UDP message package.
- min
Tcp Package Len This property is required. String - The minimum length of TCP message package.
- min
Udp Package Len This property is required. String - The minimum length of UDP message package.
- name
This property is required. String - Name of the DDoS policy case.
- peer
Tcp Port This property is required. String - The port that actively initiates TCP requests.
- peer
Udp Port This property is required. String - The port that actively initiates UDP requests.
- platform
Types This property is required. List<String> - Platform set of the DDoS policy case.
- resource
Type This property is required. String - Type of the resource that the DDoS policy case works for, valid values are
bgpip
,bgp
,bgp-multip
andnet
. - scene
Id This property is required. String - ID of the DDoS policy case to be query.
- tcp
End Port This property is required. String - End port of the TCP service.
- tcp
Footprint This property is required. String - The fixed signature of TCP protocol load.
- tcp
Start Port This property is required. String - Start port of the TCP service.
- udp
End Port This property is required. String - End port of the UDP service.
- udp
Footprint This property is required. String - The fixed signature of TCP protocol load.
- udp
Start Port This property is required. String - Start port of the UDP service.
- web
Api Urls This property is required. 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.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack