tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getGaapProxies
Explore with Pulumi AI
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:
- Access
Region 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
andrealserver_region
. - Project
Id double - Project ID of the GAAP proxy to be queried. Conflict with
ids
. - Realserver
Region string - Region of the GAAP realserver to be queried. Conflict with
ids
. - Result
Output stringFile - Used to save results.
- Dictionary<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 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
andrealserver_region
. - Project
Id float64 - Project ID of the GAAP proxy to be queried. Conflict with
ids
. - Realserver
Region string - Region of the GAAP realserver to be queried. Conflict with
ids
. - Result
Output stringFile - Used to save results.
- map[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 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
andrealserver_region
. - project
Id Double - Project ID of the GAAP proxy to be queried. Conflict with
ids
. - realserver
Region String - Region of the GAAP realserver to be queried. Conflict with
ids
. - result
Output StringFile - Used to save results.
- Map<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 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
andrealserver_region
. - project
Id number - Project ID of the GAAP proxy to be queried. Conflict with
ids
. - realserver
Region string - Region of the GAAP realserver to be queried. Conflict with
ids
. - result
Output stringFile - Used to save results.
- {[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
andrealserver_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_ strfile - Used to save results.
- Mapping[str, str]
- Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
- access
Region 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
andrealserver_region
. - project
Id Number - Project ID of the GAAP proxy to be queried. Conflict with
ids
. - realserver
Region String - Region of the GAAP realserver to be queried. Conflict with
ids
. - result
Output StringFile - Used to save results.
- 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<Get
Gaap Proxies Proxy> - An information list of GAAP proxy. Each element contains the following attributes:
- Access
Region string - Access region of the GAAP proxy.
- Ids List<string>
- Project
Id double - ID of the project within the GAAP proxy, '0' means is default project.
- Realserver
Region string - Region of the GAAP realserver.
- Result
Output stringFile - Dictionary<string, string>
- Tags of the GAAP proxy.
- Id string
- ID of the GAAP proxy.
- Proxies
[]Get
Gaap Proxies Proxy - An information list of GAAP proxy. Each element contains the following attributes:
- Access
Region string - Access region of the GAAP proxy.
- Ids []string
- Project
Id float64 - ID of the project within the GAAP proxy, '0' means is default project.
- Realserver
Region string - Region of the GAAP realserver.
- Result
Output stringFile - map[string]string
- Tags of the GAAP proxy.
- id String
- ID of the GAAP proxy.
- proxies
List<Get
Gaap Proxies Proxy> - An information list of GAAP proxy. Each element contains the following attributes:
- access
Region String - Access region of the GAAP proxy.
- ids List<String>
- project
Id Double - ID of the project within the GAAP proxy, '0' means is default project.
- realserver
Region String - Region of the GAAP realserver.
- result
Output StringFile - Map<String,String>
- Tags of the GAAP proxy.
- id string
- ID of the GAAP proxy.
- proxies
Get
Gaap Proxies Proxy[] - An information list of GAAP proxy. Each element contains the following attributes:
- access
Region string - Access region of the GAAP proxy.
- ids string[]
- project
Id number - ID of the project within the GAAP proxy, '0' means is default project.
- realserver
Region string - Region of the GAAP realserver.
- result
Output stringFile - {[key: string]: string}
- Tags of the GAAP proxy.
- id str
- ID of the GAAP proxy.
- proxies
Sequence[Get
Gaap Proxies Proxy] - 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_ strfile - 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:
- access
Region String - Access region of the GAAP proxy.
- ids List<String>
- project
Id Number - ID of the project within the GAAP proxy, '0' means is default project.
- realserver
Region String - Region of the GAAP realserver.
- result
Output StringFile - Map<String>
- Tags of the GAAP proxy.
Supporting Types
GetGaapProxiesProxy
- Access
Region 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.
- Create
Time string - Creation time of the GAAP proxy.
- Domain string
- Access domain of the GAAP proxy.
- Forward
Ip 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.
- Policy
Id string - Security policy ID of the GAAP proxy.
- Project
Id double - Project ID of the GAAP proxy to be queried. Conflict with
ids
. - Realserver
Region 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.
- Support
Protocols List<string> - Supported protocols of the GAAP proxy.
- 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.
- Access
Region 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.
- Create
Time string - Creation time of the GAAP proxy.
- Domain string
- Access domain of the GAAP proxy.
- Forward
Ip 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.
- Policy
Id string - Security policy ID of the GAAP proxy.
- Project
Id float64 - Project ID of the GAAP proxy to be queried. Conflict with
ids
. - Realserver
Region 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.
- Support
Protocols []string - Supported protocols of the GAAP proxy.
- 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.
- access
Region 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.
- create
Time String - Creation time of the GAAP proxy.
- domain String
- Access domain of the GAAP proxy.
- forward
Ip 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.
- policy
Id String - Security policy ID of the GAAP proxy.
- project
Id Double - Project ID of the GAAP proxy to be queried. Conflict with
ids
. - realserver
Region 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.
- support
Protocols List<String> - Supported protocols of the GAAP proxy.
- 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.
- access
Region 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.
- create
Time string - Creation time of the GAAP proxy.
- domain string
- Access domain of the GAAP proxy.
- forward
Ip 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.
- policy
Id string - Security policy ID of the GAAP proxy.
- project
Id number - Project ID of the GAAP proxy to be queried. Conflict with
ids
. - realserver
Region 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.
- support
Protocols string[] - Supported protocols of the GAAP proxy.
- {[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.
- 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.
- access
Region 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.
- create
Time String - Creation time of the GAAP proxy.
- domain String
- Access domain of the GAAP proxy.
- forward
Ip 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.
- policy
Id String - Security policy ID of the GAAP proxy.
- project
Id Number - Project ID of the GAAP proxy to be queried. Conflict with
ids
. - realserver
Region 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.
- support
Protocols List<String> - Supported protocols of the GAAP proxy.
- 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack