tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getAntiddosListListener
Start a Neo task
Explain and create a tencentcloud.getAntiddosListListener resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of antiddos list_listener
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const listListener = tencentcloud.getAntiddosListListener({});
import pulumi
import pulumi_tencentcloud as tencentcloud
list_listener = tencentcloud.get_antiddos_list_listener()
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.GetAntiddosListListener(ctx, &tencentcloud.GetAntiddosListListenerArgs{}, 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 listListener = Tencentcloud.GetAntiddosListListener.Invoke();
});
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.GetAntiddosListListenerArgs;
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 listListener = TencentcloudFunctions.getAntiddosListListener(GetAntiddosListListenerArgs.builder()
.build());
}
}
variables:
listListener:
fn::invoke:
function: tencentcloud:getAntiddosListListener
arguments: {}
Using getAntiddosListListener
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 getAntiddosListListener(args: GetAntiddosListListenerArgs, opts?: InvokeOptions): Promise<GetAntiddosListListenerResult>
function getAntiddosListListenerOutput(args: GetAntiddosListListenerOutputArgs, opts?: InvokeOptions): Output<GetAntiddosListListenerResult>def get_antiddos_list_listener(id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAntiddosListListenerResult
def get_antiddos_list_listener_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAntiddosListListenerResult]func GetAntiddosListListener(ctx *Context, args *GetAntiddosListListenerArgs, opts ...InvokeOption) (*GetAntiddosListListenerResult, error)
func GetAntiddosListListenerOutput(ctx *Context, args *GetAntiddosListListenerOutputArgs, opts ...InvokeOption) GetAntiddosListListenerResultOutput> Note: This function is named GetAntiddosListListener in the Go SDK.
public static class GetAntiddosListListener
{
public static Task<GetAntiddosListListenerResult> InvokeAsync(GetAntiddosListListenerArgs args, InvokeOptions? opts = null)
public static Output<GetAntiddosListListenerResult> Invoke(GetAntiddosListListenerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAntiddosListListenerResult> getAntiddosListListener(GetAntiddosListListenerArgs args, InvokeOptions options)
public static Output<GetAntiddosListListenerResult> getAntiddosListListener(GetAntiddosListListenerArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getAntiddosListListener:getAntiddosListListener
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Result
Output stringFile - Used to save results.
- Id string
- Result
Output stringFile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
- id string
- result
Output stringFile - Used to save results.
- id str
- result_
output_ strfile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
getAntiddosListListener Result
The following output properties are available:
- Id string
- Layer4Listeners
List<Get
Antiddos List Listener Layer4Listener> - L4 listener list.
- Layer7Listeners
List<Get
Antiddos List Listener Layer7Listener> - Layer 7 forwarding listener list.
- Result
Output stringFile
- Id string
- Layer4Listeners
[]Get
Antiddos List Listener Layer4Listener - L4 listener list.
- Layer7Listeners
[]Get
Antiddos List Listener Layer7Listener - Layer 7 forwarding listener list.
- Result
Output stringFile
- id String
- layer4Listeners
List<Get
Antiddos List Listener Layer4Listener> - L4 listener list.
- layer7Listeners
List<Get
Antiddos List Listener Layer7Listener> - Layer 7 forwarding listener list.
- result
Output StringFile
- id string
- layer4Listeners
Get
Antiddos List Listener Layer4Listener[] - L4 listener list.
- layer7Listeners
Get
Antiddos List Listener Layer7Listener[] - Layer 7 forwarding listener list.
- result
Output stringFile
- id str
- layer4_
listeners Sequence[GetAntiddos List Listener Layer4Listener] - L4 listener list.
- layer7_
listeners Sequence[GetAntiddos List Listener Layer7Listener] - Layer 7 forwarding listener list.
- result_
output_ strfile
- id String
- layer4Listeners List<Property Map>
- L4 listener list.
- layer7Listeners List<Property Map>
- Layer 7 forwarding listener list.
- result
Output StringFile
Supporting Types
GetAntiddosListListenerLayer4Listener
- Backend
Port double - Origin port, value 1~65535.
- Frontend
Port double - Forwarding port, value 1~65535.
- Instance
Detail List<GetRules Antiddos List Listener Layer4Listener Instance Detail Rule> - Resource instance to which the rule belongs.
- Instance
Details List<GetAntiddos List Listener Layer4Listener Instance Detail> - InstanceDetails.
- Protocol string
- Protocol.
- Real
Servers List<GetAntiddos List Listener Layer4Listener Real Server> - Source server list.
- Backend
Port float64 - Origin port, value 1~65535.
- Frontend
Port float64 - Forwarding port, value 1~65535.
- Instance
Detail []GetRules Antiddos List Listener Layer4Listener Instance Detail Rule - Resource instance to which the rule belongs.
- Instance
Details []GetAntiddos List Listener Layer4Listener Instance Detail - InstanceDetails.
- Protocol string
- Protocol.
- Real
Servers []GetAntiddos List Listener Layer4Listener Real Server - Source server list.
- backend
Port Double - Origin port, value 1~65535.
- frontend
Port Double - Forwarding port, value 1~65535.
- instance
Detail List<GetRules Antiddos List Listener Layer4Listener Instance Detail Rule> - Resource instance to which the rule belongs.
- instance
Details List<GetAntiddos List Listener Layer4Listener Instance Detail> - InstanceDetails.
- protocol String
- Protocol.
- real
Servers List<GetAntiddos List Listener Layer4Listener Real Server> - Source server list.
- backend
Port number - Origin port, value 1~65535.
- frontend
Port number - Forwarding port, value 1~65535.
- instance
Detail GetRules Antiddos List Listener Layer4Listener Instance Detail Rule[] - Resource instance to which the rule belongs.
- instance
Details GetAntiddos List Listener Layer4Listener Instance Detail[] - InstanceDetails.
- protocol string
- Protocol.
- real
Servers GetAntiddos List Listener Layer4Listener Real Server[] - Source server list.
- backend_
port float - Origin port, value 1~65535.
- frontend_
port float - Forwarding port, value 1~65535.
- instance_
detail_ Sequence[Getrules Antiddos List Listener Layer4Listener Instance Detail Rule] - Resource instance to which the rule belongs.
- instance_
details Sequence[GetAntiddos List Listener Layer4Listener Instance Detail] - InstanceDetails.
- protocol str
- Protocol.
- real_
servers Sequence[GetAntiddos List Listener Layer4Listener Real Server] - Source server list.
- backend
Port Number - Origin port, value 1~65535.
- frontend
Port Number - Forwarding port, value 1~65535.
- instance
Detail List<Property Map>Rules - Resource instance to which the rule belongs.
- instance
Details List<Property Map> - InstanceDetails.
- protocol String
- Protocol.
- real
Servers List<Property Map> - Source server list.
GetAntiddosListListenerLayer4ListenerInstanceDetail
- Eip
Lists List<string> - Instance ip list.
- Instance
Id string - Instance id.
- Eip
Lists []string - Instance ip list.
- Instance
Id string - Instance id.
- eip
Lists List<String> - Instance ip list.
- instance
Id String - Instance id.
- eip
Lists string[] - Instance ip list.
- instance
Id string - Instance id.
- eip_
lists Sequence[str] - Instance ip list.
- instance_
id str - Instance id.
- eip
Lists List<String> - Instance ip list.
- instance
Id String - Instance id.
GetAntiddosListListenerLayer4ListenerInstanceDetailRule
- Cname string
- Cname.
- Eip
Lists List<string> - Instance ip list.
- Instance
Id string - Instance id.
- Cname string
- Cname.
- Eip
Lists []string - Instance ip list.
- Instance
Id string - Instance id.
- cname String
- Cname.
- eip
Lists List<String> - Instance ip list.
- instance
Id String - Instance id.
- cname string
- Cname.
- eip
Lists string[] - Instance ip list.
- instance
Id string - Instance id.
- cname str
- Cname.
- eip_
lists Sequence[str] - Instance ip list.
- instance_
id str - Instance id.
- cname String
- Cname.
- eip
Lists List<String> - Instance ip list.
- instance
Id String - Instance id.
GetAntiddosListListenerLayer4ListenerRealServer
- Port double
- 0-65535.
- Real
Server string - Source server list.
- Rs
Type double - 1: domain, 2: ip.
- Weight double
- Weight: 1-100.
- Port float64
- 0-65535.
- Real
Server string - Source server list.
- Rs
Type float64 - 1: domain, 2: ip.
- Weight float64
- Weight: 1-100.
- port Double
- 0-65535.
- real
Server String - Source server list.
- rs
Type Double - 1: domain, 2: ip.
- weight Double
- Weight: 1-100.
- port number
- 0-65535.
- real
Server string - Source server list.
- rs
Type number - 1: domain, 2: ip.
- weight number
- Weight: 1-100.
- port float
- 0-65535.
- real_
server str - Source server list.
- rs_
type float - 1: domain, 2: ip.
- weight float
- Weight: 1-100.
- port Number
- 0-65535.
- real
Server String - Source server list.
- rs
Type Number - 1: domain, 2: ip.
- weight Number
- Weight: 1-100.
GetAntiddosListListenerLayer7Listener
- Domain string
- Domain.
- Instance
Detail List<GetRules Antiddos List Listener Layer7Listener Instance Detail Rule> - Resource instance to which the rule belongs.
- Instance
Details List<GetAntiddos List Listener Layer7Listener Instance Detail> - InstanceDetails.
- Protocol string
- Protocol.
- Proxy
Type List<GetLists Antiddos List Listener Layer7Listener Proxy Type List> - List of forwarding types.
- Real
Servers List<GetAntiddos List Listener Layer7Listener Real Server> - Source server list.
- Vport double
- Port.
- Domain string
- Domain.
- Instance
Detail []GetRules Antiddos List Listener Layer7Listener Instance Detail Rule - Resource instance to which the rule belongs.
- Instance
Details []GetAntiddos List Listener Layer7Listener Instance Detail - InstanceDetails.
- Protocol string
- Protocol.
- Proxy
Type []GetLists Antiddos List Listener Layer7Listener Proxy Type List - List of forwarding types.
- Real
Servers []GetAntiddos List Listener Layer7Listener Real Server - Source server list.
- Vport float64
- Port.
- domain String
- Domain.
- instance
Detail List<GetRules Antiddos List Listener Layer7Listener Instance Detail Rule> - Resource instance to which the rule belongs.
- instance
Details List<GetAntiddos List Listener Layer7Listener Instance Detail> - InstanceDetails.
- protocol String
- Protocol.
- proxy
Type List<GetLists Antiddos List Listener Layer7Listener Proxy Type List> - List of forwarding types.
- real
Servers List<GetAntiddos List Listener Layer7Listener Real Server> - Source server list.
- vport Double
- Port.
- domain string
- Domain.
- instance
Detail GetRules Antiddos List Listener Layer7Listener Instance Detail Rule[] - Resource instance to which the rule belongs.
- instance
Details GetAntiddos List Listener Layer7Listener Instance Detail[] - InstanceDetails.
- protocol string
- Protocol.
- proxy
Type GetLists Antiddos List Listener Layer7Listener Proxy Type List[] - List of forwarding types.
- real
Servers GetAntiddos List Listener Layer7Listener Real Server[] - Source server list.
- vport number
- Port.
- domain str
- Domain.
- instance_
detail_ Sequence[Getrules Antiddos List Listener Layer7Listener Instance Detail Rule] - Resource instance to which the rule belongs.
- instance_
details Sequence[GetAntiddos List Listener Layer7Listener Instance Detail] - InstanceDetails.
- protocol str
- Protocol.
- proxy_
type_ Sequence[Getlists Antiddos List Listener Layer7Listener Proxy Type List] - List of forwarding types.
- real_
servers Sequence[GetAntiddos List Listener Layer7Listener Real Server] - Source server list.
- vport float
- Port.
- domain String
- Domain.
- instance
Detail List<Property Map>Rules - Resource instance to which the rule belongs.
- instance
Details List<Property Map> - InstanceDetails.
- protocol String
- Protocol.
- proxy
Type List<Property Map>Lists - List of forwarding types.
- real
Servers List<Property Map> - Source server list.
- vport Number
- Port.
GetAntiddosListListenerLayer7ListenerInstanceDetail
- Eip
Lists List<string> - Instance ip list.
- Instance
Id string - Instance id.
- Eip
Lists []string - Instance ip list.
- Instance
Id string - Instance id.
- eip
Lists List<String> - Instance ip list.
- instance
Id String - Instance id.
- eip
Lists string[] - Instance ip list.
- instance
Id string - Instance id.
- eip_
lists Sequence[str] - Instance ip list.
- instance_
id str - Instance id.
- eip
Lists List<String> - Instance ip list.
- instance
Id String - Instance id.
GetAntiddosListListenerLayer7ListenerInstanceDetailRule
- Cname string
- Cname.
- Eip
Lists List<string> - Instance ip list.
- Instance
Id string - Instance id.
- Cname string
- Cname.
- Eip
Lists []string - Instance ip list.
- Instance
Id string - Instance id.
- cname String
- Cname.
- eip
Lists List<String> - Instance ip list.
- instance
Id String - Instance id.
- cname string
- Cname.
- eip
Lists string[] - Instance ip list.
- instance
Id string - Instance id.
- cname str
- Cname.
- eip_
lists Sequence[str] - Instance ip list.
- instance_
id str - Instance id.
- cname String
- Cname.
- eip
Lists List<String> - Instance ip list.
- instance
Id String - Instance id.
GetAntiddosListListenerLayer7ListenerProxyTypeList
- Proxy
Ports List<double> - Forwarding listening port list, port value is 1~65535.
- Proxy
Type string - Http, https.
- Proxy
Ports []float64 - Forwarding listening port list, port value is 1~65535.
- Proxy
Type string - Http, https.
- proxy
Ports List<Double> - Forwarding listening port list, port value is 1~65535.
- proxy
Type String - Http, https.
- proxy
Ports number[] - Forwarding listening port list, port value is 1~65535.
- proxy
Type string - Http, https.
- proxy_
ports Sequence[float] - Forwarding listening port list, port value is 1~65535.
- proxy_
type str - Http, https.
- proxy
Ports List<Number> - Forwarding listening port list, port value is 1~65535.
- proxy
Type String - Http, https.
GetAntiddosListListenerLayer7ListenerRealServer
- Port double
- 0-65535.
- Real
Server string - Source server list.
- Rs
Type double - 1: domain, 2: ip.
- Weight double
- Weight: 1-100.
- Port float64
- 0-65535.
- Real
Server string - Source server list.
- Rs
Type float64 - 1: domain, 2: ip.
- Weight float64
- Weight: 1-100.
- port Double
- 0-65535.
- real
Server String - Source server list.
- rs
Type Double - 1: domain, 2: ip.
- weight Double
- Weight: 1-100.
- port number
- 0-65535.
- real
Server string - Source server list.
- rs
Type number - 1: domain, 2: ip.
- weight number
- Weight: 1-100.
- port float
- 0-65535.
- real_
server str - Source server list.
- rs_
type float - 1: domain, 2: ip.
- weight float
- Weight: 1-100.
- port Number
- 0-65535.
- real
Server String - Source server list.
- rs
Type Number - 1: domain, 2: ip.
- weight Number
- Weight: 1-100.
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
