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

tencentcloud.getGaapProxies

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query gaap proxies.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const fooGaapProxy = new tencentcloud.GaapProxy("fooGaapProxy", {
        bandwidth: 10,
        concurrent: 2,
        accessRegion: "SouthChina",
        realserverRegion: "NorthChina",
    });
    const fooGaapProxies = tencentcloud.getGaapProxiesOutput({
        ids: [fooGaapProxy.gaapProxyId],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    foo_gaap_proxy = tencentcloud.GaapProxy("fooGaapProxy",
        bandwidth=10,
        concurrent=2,
        access_region="SouthChina",
        realserver_region="NorthChina")
    foo_gaap_proxies = tencentcloud.get_gaap_proxies_output(ids=[foo_gaap_proxy.gaap_proxy_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 {
    		fooGaapProxy, err := tencentcloud.NewGaapProxy(ctx, "fooGaapProxy", &tencentcloud.GaapProxyArgs{
    			Bandwidth:        pulumi.Float64(10),
    			Concurrent:       pulumi.Float64(2),
    			AccessRegion:     pulumi.String("SouthChina"),
    			RealserverRegion: pulumi.String("NorthChina"),
    		})
    		if err != nil {
    			return err
    		}
    		_ = tencentcloud.GetGaapProxiesOutput(ctx, tencentcloud.GetGaapProxiesOutputArgs{
    			Ids: pulumi.StringArray{
    				fooGaapProxy.GaapProxyId,
    			},
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var fooGaapProxy = new Tencentcloud.GaapProxy("fooGaapProxy", new()
        {
            Bandwidth = 10,
            Concurrent = 2,
            AccessRegion = "SouthChina",
            RealserverRegion = "NorthChina",
        });
    
        var fooGaapProxies = Tencentcloud.GetGaapProxies.Invoke(new()
        {
            Ids = new[]
            {
                fooGaapProxy.GaapProxyId,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.GaapProxy;
    import com.pulumi.tencentcloud.GaapProxyArgs;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetGaapProxiesArgs;
    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) {
            var fooGaapProxy = new GaapProxy("fooGaapProxy", GaapProxyArgs.builder()
                .bandwidth(10)
                .concurrent(2)
                .accessRegion("SouthChina")
                .realserverRegion("NorthChina")
                .build());
    
            final var fooGaapProxies = TencentcloudFunctions.getGaapProxies(GetGaapProxiesArgs.builder()
                .ids(fooGaapProxy.gaapProxyId())
                .build());
    
        }
    }
    
    resources:
      fooGaapProxy:
        type: tencentcloud:GaapProxy
        properties:
          bandwidth: 10
          concurrent: 2
          accessRegion: SouthChina
          realserverRegion: NorthChina
    variables:
      fooGaapProxies:
        fn::invoke:
          function: tencentcloud:getGaapProxies
          arguments:
            ids:
              - ${fooGaapProxy.gaapProxyId}
    

    Using getGaapProxies

    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 getGaapProxies(args: GetGaapProxiesArgs, opts?: InvokeOptions): Promise<GetGaapProxiesResult>
    function getGaapProxiesOutput(args: GetGaapProxiesOutputArgs, opts?: InvokeOptions): Output<GetGaapProxiesResult>
    def get_gaap_proxies(access_region: Optional[str] = None,
                         id: Optional[str] = None,
                         ids: Optional[Sequence[str]] = None,
                         project_id: Optional[float] = None,
                         realserver_region: Optional[str] = None,
                         result_output_file: Optional[str] = None,
                         tags: Optional[Mapping[str, str]] = None,
                         opts: Optional[InvokeOptions] = None) -> GetGaapProxiesResult
    def get_gaap_proxies_output(access_region: Optional[pulumi.Input[str]] = None,
                         id: Optional[pulumi.Input[str]] = None,
                         ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                         project_id: Optional[pulumi.Input[float]] = None,
                         realserver_region: Optional[pulumi.Input[str]] = None,
                         result_output_file: Optional[pulumi.Input[str]] = None,
                         tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetGaapProxiesResult]
    func GetGaapProxies(ctx *Context, args *GetGaapProxiesArgs, opts ...InvokeOption) (*GetGaapProxiesResult, error)
    func GetGaapProxiesOutput(ctx *Context, args *GetGaapProxiesOutputArgs, opts ...InvokeOption) GetGaapProxiesResultOutput

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

    public static class GetGaapProxies 
    {
        public static Task<GetGaapProxiesResult> InvokeAsync(GetGaapProxiesArgs args, InvokeOptions? opts = null)
        public static Output<GetGaapProxiesResult> Invoke(GetGaapProxiesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGaapProxiesResult> getGaapProxies(GetGaapProxiesArgs args, InvokeOptions options)
    public static Output<GetGaapProxiesResult> getGaapProxies(GetGaapProxiesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getGaapProxies:getGaapProxies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccessRegion string
    Access region of the GAAP proxy to be queried. Conflict with ids.
    Id string
    ID of the GAAP proxy.
    Ids List<string>
    ID of the GAAP proxy to be queried. Conflict with project_id, access_region and realserver_region.
    ProjectId double
    Project ID of the GAAP proxy to be queried. Conflict with ids.
    RealserverRegion string
    Region of the GAAP realserver to be queried. Conflict with ids.
    ResultOutputFile string
    Used to save results.
    Tags Dictionary<string, string>
    Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
    AccessRegion string
    Access region of the GAAP proxy to be queried. Conflict with ids.
    Id string
    ID of the GAAP proxy.
    Ids []string
    ID of the GAAP proxy to be queried. Conflict with project_id, access_region and realserver_region.
    ProjectId float64
    Project ID of the GAAP proxy to be queried. Conflict with ids.
    RealserverRegion string
    Region of the GAAP realserver to be queried. Conflict with ids.
    ResultOutputFile string
    Used to save results.
    Tags map[string]string
    Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
    accessRegion String
    Access region of the GAAP proxy to be queried. Conflict with ids.
    id String
    ID of the GAAP proxy.
    ids List<String>
    ID of the GAAP proxy to be queried. Conflict with project_id, access_region and realserver_region.
    projectId Double
    Project ID of the GAAP proxy to be queried. Conflict with ids.
    realserverRegion String
    Region of the GAAP realserver to be queried. Conflict with ids.
    resultOutputFile String
    Used to save results.
    tags Map<String,String>
    Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
    accessRegion string
    Access region of the GAAP proxy to be queried. Conflict with ids.
    id string
    ID of the GAAP proxy.
    ids string[]
    ID of the GAAP proxy to be queried. Conflict with project_id, access_region and realserver_region.
    projectId number
    Project ID of the GAAP proxy to be queried. Conflict with ids.
    realserverRegion string
    Region of the GAAP realserver to be queried. Conflict with ids.
    resultOutputFile string
    Used to save results.
    tags {[key: string]: string}
    Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
    access_region str
    Access region of the GAAP proxy to be queried. Conflict with ids.
    id str
    ID of the GAAP proxy.
    ids Sequence[str]
    ID of the GAAP proxy to be queried. Conflict with project_id, access_region and realserver_region.
    project_id float
    Project ID of the GAAP proxy to be queried. Conflict with ids.
    realserver_region str
    Region of the GAAP realserver to be queried. Conflict with ids.
    result_output_file str
    Used to save results.
    tags Mapping[str, str]
    Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
    accessRegion String
    Access region of the GAAP proxy to be queried. Conflict with ids.
    id String
    ID of the GAAP proxy.
    ids List<String>
    ID of the GAAP proxy to be queried. Conflict with project_id, access_region and realserver_region.
    projectId Number
    Project ID of the GAAP proxy to be queried. Conflict with ids.
    realserverRegion String
    Region of the GAAP realserver to be queried. Conflict with ids.
    resultOutputFile String
    Used to save results.
    tags Map<String>
    Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.

    getGaapProxies Result

    The following output properties are available:

    Id string
    ID of the GAAP proxy.
    Proxies List<GetGaapProxiesProxy>
    An information list of GAAP proxy. Each element contains the following attributes:
    AccessRegion string
    Access region of the GAAP proxy.
    Ids List<string>
    ProjectId double
    ID of the project within the GAAP proxy, '0' means is default project.
    RealserverRegion string
    Region of the GAAP realserver.
    ResultOutputFile string
    Tags Dictionary<string, string>
    Tags of the GAAP proxy.
    Id string
    ID of the GAAP proxy.
    Proxies []GetGaapProxiesProxy
    An information list of GAAP proxy. Each element contains the following attributes:
    AccessRegion string
    Access region of the GAAP proxy.
    Ids []string
    ProjectId float64
    ID of the project within the GAAP proxy, '0' means is default project.
    RealserverRegion string
    Region of the GAAP realserver.
    ResultOutputFile string
    Tags map[string]string
    Tags of the GAAP proxy.
    id String
    ID of the GAAP proxy.
    proxies List<GetGaapProxiesProxy>
    An information list of GAAP proxy. Each element contains the following attributes:
    accessRegion String
    Access region of the GAAP proxy.
    ids List<String>
    projectId Double
    ID of the project within the GAAP proxy, '0' means is default project.
    realserverRegion String
    Region of the GAAP realserver.
    resultOutputFile String
    tags Map<String,String>
    Tags of the GAAP proxy.
    id string
    ID of the GAAP proxy.
    proxies GetGaapProxiesProxy[]
    An information list of GAAP proxy. Each element contains the following attributes:
    accessRegion string
    Access region of the GAAP proxy.
    ids string[]
    projectId number
    ID of the project within the GAAP proxy, '0' means is default project.
    realserverRegion string
    Region of the GAAP realserver.
    resultOutputFile string
    tags {[key: string]: string}
    Tags of the GAAP proxy.
    id str
    ID of the GAAP proxy.
    proxies Sequence[GetGaapProxiesProxy]
    An information list of GAAP proxy. Each element contains the following attributes:
    access_region str
    Access region of the GAAP proxy.
    ids Sequence[str]
    project_id float
    ID of the project within the GAAP proxy, '0' means is default project.
    realserver_region str
    Region of the GAAP realserver.
    result_output_file str
    tags Mapping[str, str]
    Tags of the GAAP proxy.
    id String
    ID of the GAAP proxy.
    proxies List<Property Map>
    An information list of GAAP proxy. Each element contains the following attributes:
    accessRegion String
    Access region of the GAAP proxy.
    ids List<String>
    projectId Number
    ID of the project within the GAAP proxy, '0' means is default project.
    realserverRegion String
    Region of the GAAP realserver.
    resultOutputFile String
    tags Map<String>
    Tags of the GAAP proxy.

    Supporting Types

    GetGaapProxiesProxy

    AccessRegion string
    Access region of the GAAP proxy to be queried. Conflict with ids.
    Bandwidth double
    Maximum bandwidth of the GAAP proxy, unit is Mbps.
    Concurrent double
    Maximum concurrency of the GAAP proxy, unit is 10k.
    CreateTime string
    Creation time of the GAAP proxy.
    Domain string
    Access domain of the GAAP proxy.
    ForwardIp string
    Forwarding IP of the GAAP proxy.
    Id string
    ID of the GAAP proxy.
    Ip string
    Access domain of the GAAP proxy.
    Name string
    Name of the GAAP proxy.
    PolicyId string
    Security policy ID of the GAAP proxy.
    ProjectId double
    Project ID of the GAAP proxy to be queried. Conflict with ids.
    RealserverRegion string
    Region of the GAAP realserver to be queried. Conflict with ids.
    Scalable bool
    Indicates whether GAAP proxy can scalable.
    Status string
    Status of the GAAP proxy.
    SupportProtocols List<string>
    Supported protocols of the GAAP proxy.
    Tags Dictionary<string, string>
    Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
    Version string
    Version of the GAAP proxy.
    AccessRegion string
    Access region of the GAAP proxy to be queried. Conflict with ids.
    Bandwidth float64
    Maximum bandwidth of the GAAP proxy, unit is Mbps.
    Concurrent float64
    Maximum concurrency of the GAAP proxy, unit is 10k.
    CreateTime string
    Creation time of the GAAP proxy.
    Domain string
    Access domain of the GAAP proxy.
    ForwardIp string
    Forwarding IP of the GAAP proxy.
    Id string
    ID of the GAAP proxy.
    Ip string
    Access domain of the GAAP proxy.
    Name string
    Name of the GAAP proxy.
    PolicyId string
    Security policy ID of the GAAP proxy.
    ProjectId float64
    Project ID of the GAAP proxy to be queried. Conflict with ids.
    RealserverRegion string
    Region of the GAAP realserver to be queried. Conflict with ids.
    Scalable bool
    Indicates whether GAAP proxy can scalable.
    Status string
    Status of the GAAP proxy.
    SupportProtocols []string
    Supported protocols of the GAAP proxy.
    Tags map[string]string
    Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
    Version string
    Version of the GAAP proxy.
    accessRegion String
    Access region of the GAAP proxy to be queried. Conflict with ids.
    bandwidth Double
    Maximum bandwidth of the GAAP proxy, unit is Mbps.
    concurrent Double
    Maximum concurrency of the GAAP proxy, unit is 10k.
    createTime String
    Creation time of the GAAP proxy.
    domain String
    Access domain of the GAAP proxy.
    forwardIp String
    Forwarding IP of the GAAP proxy.
    id String
    ID of the GAAP proxy.
    ip String
    Access domain of the GAAP proxy.
    name String
    Name of the GAAP proxy.
    policyId String
    Security policy ID of the GAAP proxy.
    projectId Double
    Project ID of the GAAP proxy to be queried. Conflict with ids.
    realserverRegion String
    Region of the GAAP realserver to be queried. Conflict with ids.
    scalable Boolean
    Indicates whether GAAP proxy can scalable.
    status String
    Status of the GAAP proxy.
    supportProtocols List<String>
    Supported protocols of the GAAP proxy.
    tags Map<String,String>
    Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
    version String
    Version of the GAAP proxy.
    accessRegion string
    Access region of the GAAP proxy to be queried. Conflict with ids.
    bandwidth number
    Maximum bandwidth of the GAAP proxy, unit is Mbps.
    concurrent number
    Maximum concurrency of the GAAP proxy, unit is 10k.
    createTime string
    Creation time of the GAAP proxy.
    domain string
    Access domain of the GAAP proxy.
    forwardIp string
    Forwarding IP of the GAAP proxy.
    id string
    ID of the GAAP proxy.
    ip string
    Access domain of the GAAP proxy.
    name string
    Name of the GAAP proxy.
    policyId string
    Security policy ID of the GAAP proxy.
    projectId number
    Project ID of the GAAP proxy to be queried. Conflict with ids.
    realserverRegion string
    Region of the GAAP realserver to be queried. Conflict with ids.
    scalable boolean
    Indicates whether GAAP proxy can scalable.
    status string
    Status of the GAAP proxy.
    supportProtocols string[]
    Supported protocols of the GAAP proxy.
    tags {[key: string]: string}
    Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
    version string
    Version of the GAAP proxy.
    access_region str
    Access region of the GAAP proxy to be queried. Conflict with ids.
    bandwidth float
    Maximum bandwidth of the GAAP proxy, unit is Mbps.
    concurrent float
    Maximum concurrency of the GAAP proxy, unit is 10k.
    create_time str
    Creation time of the GAAP proxy.
    domain str
    Access domain of the GAAP proxy.
    forward_ip str
    Forwarding IP of the GAAP proxy.
    id str
    ID of the GAAP proxy.
    ip str
    Access domain of the GAAP proxy.
    name str
    Name of the GAAP proxy.
    policy_id str
    Security policy ID of the GAAP proxy.
    project_id float
    Project ID of the GAAP proxy to be queried. Conflict with ids.
    realserver_region str
    Region of the GAAP realserver to be queried. Conflict with ids.
    scalable bool
    Indicates whether GAAP proxy can scalable.
    status str
    Status of the GAAP proxy.
    support_protocols Sequence[str]
    Supported protocols of the GAAP proxy.
    tags Mapping[str, str]
    Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
    version str
    Version of the GAAP proxy.
    accessRegion String
    Access region of the GAAP proxy to be queried. Conflict with ids.
    bandwidth Number
    Maximum bandwidth of the GAAP proxy, unit is Mbps.
    concurrent Number
    Maximum concurrency of the GAAP proxy, unit is 10k.
    createTime String
    Creation time of the GAAP proxy.
    domain String
    Access domain of the GAAP proxy.
    forwardIp String
    Forwarding IP of the GAAP proxy.
    id String
    ID of the GAAP proxy.
    ip String
    Access domain of the GAAP proxy.
    name String
    Name of the GAAP proxy.
    policyId String
    Security policy ID of the GAAP proxy.
    projectId Number
    Project ID of the GAAP proxy to be queried. Conflict with ids.
    realserverRegion String
    Region of the GAAP realserver to be queried. Conflict with ids.
    scalable Boolean
    Indicates whether GAAP proxy can scalable.
    status String
    Status of the GAAP proxy.
    supportProtocols List<String>
    Supported protocols of the GAAP proxy.
    tags Map<String>
    Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
    version String
    Version of the GAAP proxy.

    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