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

tencentcloud.getGaapProxyAndStatisticsListeners

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 gaap proxy and statistics listeners

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const proxyAndStatisticsListeners = tencentcloud.getGaapProxyAndStatisticsListeners({
        projectId: 0,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    proxy_and_statistics_listeners = tencentcloud.get_gaap_proxy_and_statistics_listeners(project_id=0)
    
    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.GetGaapProxyAndStatisticsListeners(ctx, &tencentcloud.GetGaapProxyAndStatisticsListenersArgs{
    			ProjectId: 0,
    		}, 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 proxyAndStatisticsListeners = Tencentcloud.GetGaapProxyAndStatisticsListeners.Invoke(new()
        {
            ProjectId = 0,
        });
    
    });
    
    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.GetGaapProxyAndStatisticsListenersArgs;
    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 proxyAndStatisticsListeners = TencentcloudFunctions.getGaapProxyAndStatisticsListeners(GetGaapProxyAndStatisticsListenersArgs.builder()
                .projectId(0)
                .build());
    
        }
    }
    
    variables:
      proxyAndStatisticsListeners:
        fn::invoke:
          function: tencentcloud:getGaapProxyAndStatisticsListeners
          arguments:
            projectId: 0
    

    Using getGaapProxyAndStatisticsListeners

    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 getGaapProxyAndStatisticsListeners(args: GetGaapProxyAndStatisticsListenersArgs, opts?: InvokeOptions): Promise<GetGaapProxyAndStatisticsListenersResult>
    function getGaapProxyAndStatisticsListenersOutput(args: GetGaapProxyAndStatisticsListenersOutputArgs, opts?: InvokeOptions): Output<GetGaapProxyAndStatisticsListenersResult>
    def get_gaap_proxy_and_statistics_listeners(id: Optional[str] = None,
                                                project_id: Optional[float] = None,
                                                result_output_file: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetGaapProxyAndStatisticsListenersResult
    def get_gaap_proxy_and_statistics_listeners_output(id: Optional[pulumi.Input[str]] = None,
                                                project_id: Optional[pulumi.Input[float]] = None,
                                                result_output_file: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetGaapProxyAndStatisticsListenersResult]
    func GetGaapProxyAndStatisticsListeners(ctx *Context, args *GetGaapProxyAndStatisticsListenersArgs, opts ...InvokeOption) (*GetGaapProxyAndStatisticsListenersResult, error)
    func GetGaapProxyAndStatisticsListenersOutput(ctx *Context, args *GetGaapProxyAndStatisticsListenersOutputArgs, opts ...InvokeOption) GetGaapProxyAndStatisticsListenersResultOutput

    > Note: This function is named GetGaapProxyAndStatisticsListeners in the Go SDK.

    public static class GetGaapProxyAndStatisticsListeners 
    {
        public static Task<GetGaapProxyAndStatisticsListenersResult> InvokeAsync(GetGaapProxyAndStatisticsListenersArgs args, InvokeOptions? opts = null)
        public static Output<GetGaapProxyAndStatisticsListenersResult> Invoke(GetGaapProxyAndStatisticsListenersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGaapProxyAndStatisticsListenersResult> getGaapProxyAndStatisticsListeners(GetGaapProxyAndStatisticsListenersArgs args, InvokeOptions options)
    public static Output<GetGaapProxyAndStatisticsListenersResult> getGaapProxyAndStatisticsListeners(GetGaapProxyAndStatisticsListenersArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getGaapProxyAndStatisticsListeners:getGaapProxyAndStatisticsListeners
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProjectId double
    Project Id.
    Id string
    ResultOutputFile string
    Used to save results.
    ProjectId float64
    Project Id.
    Id string
    ResultOutputFile string
    Used to save results.
    projectId Double
    Project Id.
    id String
    resultOutputFile String
    Used to save results.
    projectId number
    Project Id.
    id string
    resultOutputFile string
    Used to save results.
    project_id float
    Project Id.
    id str
    result_output_file str
    Used to save results.
    projectId Number
    Project Id.
    id String
    resultOutputFile String
    Used to save results.

    getGaapProxyAndStatisticsListeners Result

    The following output properties are available:

    Id string
    ProjectId double
    ProxySets List<GetGaapProxyAndStatisticsListenersProxySet>
    proxy information that can be counted.
    ResultOutputFile string
    Id string
    ProjectId float64
    ProxySets []GetGaapProxyAndStatisticsListenersProxySet
    proxy information that can be counted.
    ResultOutputFile string
    id String
    projectId Double
    proxySets List<GetGaapProxyAndStatisticsListenersProxySet>
    proxy information that can be counted.
    resultOutputFile String
    id string
    projectId number
    proxySets GetGaapProxyAndStatisticsListenersProxySet[]
    proxy information that can be counted.
    resultOutputFile string
    id String
    projectId Number
    proxySets List<Property Map>
    proxy information that can be counted.
    resultOutputFile String

    Supporting Types

    GetGaapProxyAndStatisticsListenersProxySet

    listenerLists List<Property Map>
    Listener List.
    proxyId String
    Proxy Id.
    proxyName String
    Proxy Name.

    GetGaapProxyAndStatisticsListenersProxySetListenerList

    ListenerId string
    Listener Id.
    ListenerName string
    Listener Name.
    Port double
    listerned port.
    Protocol string
    Listener protocol type.
    ListenerId string
    Listener Id.
    ListenerName string
    Listener Name.
    Port float64
    listerned port.
    Protocol string
    Listener protocol type.
    listenerId String
    Listener Id.
    listenerName String
    Listener Name.
    port Double
    listerned port.
    protocol String
    Listener protocol type.
    listenerId string
    Listener Id.
    listenerName string
    Listener Name.
    port number
    listerned port.
    protocol string
    Listener protocol type.
    listener_id str
    Listener Id.
    listener_name str
    Listener Name.
    port float
    listerned port.
    protocol str
    Listener protocol type.
    listenerId String
    Listener Id.
    listenerName String
    Listener Name.
    port Number
    listerned port.
    protocol String
    Listener protocol type.

    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