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

tencentcloud.getAntiddosListListener

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 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();
    
        }
    }
    
    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 dictionary

    The following arguments are supported:

    Id string
    ResultOutputFile string
    Used to save results.
    Id string
    ResultOutputFile string
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.
    id string
    resultOutputFile string
    Used to save results.
    id str
    result_output_file str
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.

    getAntiddosListListener Result

    The following output properties are available:

    id String
    layer4Listeners List<Property Map>
    L4 listener list.
    layer7Listeners List<Property Map>
    Layer 7 forwarding listener list.
    resultOutputFile String

    Supporting Types

    GetAntiddosListListenerLayer4Listener

    BackendPort double
    Origin port, value 1~65535.
    FrontendPort double
    Forwarding port, value 1~65535.
    InstanceDetailRules List<GetAntiddosListListenerLayer4ListenerInstanceDetailRule>
    Resource instance to which the rule belongs.
    InstanceDetails List<GetAntiddosListListenerLayer4ListenerInstanceDetail>
    InstanceDetails.
    Protocol string
    Protocol.
    RealServers List<GetAntiddosListListenerLayer4ListenerRealServer>
    Source server list.
    BackendPort float64
    Origin port, value 1~65535.
    FrontendPort float64
    Forwarding port, value 1~65535.
    InstanceDetailRules []GetAntiddosListListenerLayer4ListenerInstanceDetailRule
    Resource instance to which the rule belongs.
    InstanceDetails []GetAntiddosListListenerLayer4ListenerInstanceDetail
    InstanceDetails.
    Protocol string
    Protocol.
    RealServers []GetAntiddosListListenerLayer4ListenerRealServer
    Source server list.
    backendPort Double
    Origin port, value 1~65535.
    frontendPort Double
    Forwarding port, value 1~65535.
    instanceDetailRules List<GetAntiddosListListenerLayer4ListenerInstanceDetailRule>
    Resource instance to which the rule belongs.
    instanceDetails List<GetAntiddosListListenerLayer4ListenerInstanceDetail>
    InstanceDetails.
    protocol String
    Protocol.
    realServers List<GetAntiddosListListenerLayer4ListenerRealServer>
    Source server list.
    backendPort number
    Origin port, value 1~65535.
    frontendPort number
    Forwarding port, value 1~65535.
    instanceDetailRules GetAntiddosListListenerLayer4ListenerInstanceDetailRule[]
    Resource instance to which the rule belongs.
    instanceDetails GetAntiddosListListenerLayer4ListenerInstanceDetail[]
    InstanceDetails.
    protocol string
    Protocol.
    realServers GetAntiddosListListenerLayer4ListenerRealServer[]
    Source server list.
    backendPort Number
    Origin port, value 1~65535.
    frontendPort Number
    Forwarding port, value 1~65535.
    instanceDetailRules List<Property Map>
    Resource instance to which the rule belongs.
    instanceDetails List<Property Map>
    InstanceDetails.
    protocol String
    Protocol.
    realServers List<Property Map>
    Source server list.

    GetAntiddosListListenerLayer4ListenerInstanceDetail

    EipLists List<string>
    Instance ip list.
    InstanceId string
    Instance id.
    EipLists []string
    Instance ip list.
    InstanceId string
    Instance id.
    eipLists List<String>
    Instance ip list.
    instanceId String
    Instance id.
    eipLists string[]
    Instance ip list.
    instanceId string
    Instance id.
    eip_lists Sequence[str]
    Instance ip list.
    instance_id str
    Instance id.
    eipLists List<String>
    Instance ip list.
    instanceId String
    Instance id.

    GetAntiddosListListenerLayer4ListenerInstanceDetailRule

    Cname string
    Cname.
    EipLists List<string>
    Instance ip list.
    InstanceId string
    Instance id.
    Cname string
    Cname.
    EipLists []string
    Instance ip list.
    InstanceId string
    Instance id.
    cname String
    Cname.
    eipLists List<String>
    Instance ip list.
    instanceId String
    Instance id.
    cname string
    Cname.
    eipLists string[]
    Instance ip list.
    instanceId string
    Instance id.
    cname str
    Cname.
    eip_lists Sequence[str]
    Instance ip list.
    instance_id str
    Instance id.
    cname String
    Cname.
    eipLists List<String>
    Instance ip list.
    instanceId String
    Instance id.

    GetAntiddosListListenerLayer4ListenerRealServer

    Port double
    0-65535.
    RealServer string
    Source server list.
    RsType double
    1: domain, 2: ip.
    Weight double
    Weight: 1-100.
    Port float64
    0-65535.
    RealServer string
    Source server list.
    RsType float64
    1: domain, 2: ip.
    Weight float64
    Weight: 1-100.
    port Double
    0-65535.
    realServer String
    Source server list.
    rsType Double
    1: domain, 2: ip.
    weight Double
    Weight: 1-100.
    port number
    0-65535.
    realServer string
    Source server list.
    rsType 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.
    realServer String
    Source server list.
    rsType Number
    1: domain, 2: ip.
    weight Number
    Weight: 1-100.

    GetAntiddosListListenerLayer7Listener

    domain String
    Domain.
    instanceDetailRules List<Property Map>
    Resource instance to which the rule belongs.
    instanceDetails List<Property Map>
    InstanceDetails.
    protocol String
    Protocol.
    proxyTypeLists List<Property Map>
    List of forwarding types.
    realServers List<Property Map>
    Source server list.
    vport Number
    Port.

    GetAntiddosListListenerLayer7ListenerInstanceDetail

    EipLists List<string>
    Instance ip list.
    InstanceId string
    Instance id.
    EipLists []string
    Instance ip list.
    InstanceId string
    Instance id.
    eipLists List<String>
    Instance ip list.
    instanceId String
    Instance id.
    eipLists string[]
    Instance ip list.
    instanceId string
    Instance id.
    eip_lists Sequence[str]
    Instance ip list.
    instance_id str
    Instance id.
    eipLists List<String>
    Instance ip list.
    instanceId String
    Instance id.

    GetAntiddosListListenerLayer7ListenerInstanceDetailRule

    Cname string
    Cname.
    EipLists List<string>
    Instance ip list.
    InstanceId string
    Instance id.
    Cname string
    Cname.
    EipLists []string
    Instance ip list.
    InstanceId string
    Instance id.
    cname String
    Cname.
    eipLists List<String>
    Instance ip list.
    instanceId String
    Instance id.
    cname string
    Cname.
    eipLists string[]
    Instance ip list.
    instanceId string
    Instance id.
    cname str
    Cname.
    eip_lists Sequence[str]
    Instance ip list.
    instance_id str
    Instance id.
    cname String
    Cname.
    eipLists List<String>
    Instance ip list.
    instanceId String
    Instance id.

    GetAntiddosListListenerLayer7ListenerProxyTypeList

    ProxyPorts List<double>
    Forwarding listening port list, port value is 1~65535.
    ProxyType string
    Http, https.
    ProxyPorts []float64
    Forwarding listening port list, port value is 1~65535.
    ProxyType string
    Http, https.
    proxyPorts List<Double>
    Forwarding listening port list, port value is 1~65535.
    proxyType String
    Http, https.
    proxyPorts number[]
    Forwarding listening port list, port value is 1~65535.
    proxyType string
    Http, https.
    proxy_ports Sequence[float]
    Forwarding listening port list, port value is 1~65535.
    proxy_type str
    Http, https.
    proxyPorts List<Number>
    Forwarding listening port list, port value is 1~65535.
    proxyType String
    Http, https.

    GetAntiddosListListenerLayer7ListenerRealServer

    Port double
    0-65535.
    RealServer string
    Source server list.
    RsType double
    1: domain, 2: ip.
    Weight double
    Weight: 1-100.
    Port float64
    0-65535.
    RealServer string
    Source server list.
    RsType float64
    1: domain, 2: ip.
    Weight float64
    Weight: 1-100.
    port Double
    0-65535.
    realServer String
    Source server list.
    rsType Double
    1: domain, 2: ip.
    weight Double
    Weight: 1-100.
    port number
    0-65535.
    realServer string
    Source server list.
    rsType 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.
    realServer String
    Source server list.
    rsType 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 tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack