tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getGaapRealservers
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query gaap realservers.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const fooGaapRealserver = new tencentcloud.GaapRealserver("fooGaapRealserver", {ip: "1.1.1.1"});
const fooGaapRealservers = fooGaapRealserver.ip.apply(ip => tencentcloud.getGaapRealserversOutput({
ip: ip,
}));
import pulumi
import pulumi_tencentcloud as tencentcloud
foo_gaap_realserver = tencentcloud.GaapRealserver("fooGaapRealserver", ip="1.1.1.1")
foo_gaap_realservers = foo_gaap_realserver.ip.apply(lambda ip: tencentcloud.get_gaap_realservers_output(ip=ip))
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 {
fooGaapRealserver, err := tencentcloud.NewGaapRealserver(ctx, "fooGaapRealserver", &tencentcloud.GaapRealserverArgs{
Ip: pulumi.String("1.1.1.1"),
})
if err != nil {
return err
}
_ = fooGaapRealserver.Ip.ApplyT(func(ip *string) (tencentcloud.GetGaapRealserversResult, error) {
return tencentcloud.GetGaapRealserversResult(interface{}(tencentcloud.GetGaapRealserversOutput(ctx, tencentcloud.GetGaapRealserversOutputArgs{
Ip: ip,
}, nil))), nil
}).(tencentcloud.GetGaapRealserversResultOutput)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var fooGaapRealserver = new Tencentcloud.GaapRealserver("fooGaapRealserver", new()
{
Ip = "1.1.1.1",
});
var fooGaapRealservers = Tencentcloud.GetGaapRealservers.Invoke(new()
{
Ip = fooGaapRealserver.Ip,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.GaapRealserver;
import com.pulumi.tencentcloud.GaapRealserverArgs;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetGaapRealserversArgs;
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 fooGaapRealserver = new GaapRealserver("fooGaapRealserver", GaapRealserverArgs.builder()
.ip("1.1.1.1")
.build());
final var fooGaapRealservers = TencentcloudFunctions.getGaapRealservers(GetGaapRealserversArgs.builder()
.ip(fooGaapRealserver.ip())
.build());
}
}
resources:
fooGaapRealserver:
type: tencentcloud:GaapRealserver
properties:
ip: 1.1.1.1
variables:
fooGaapRealservers:
fn::invoke:
function: tencentcloud:getGaapRealservers
arguments:
ip: ${fooGaapRealserver.ip}
Using getGaapRealservers
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 getGaapRealservers(args: GetGaapRealserversArgs, opts?: InvokeOptions): Promise<GetGaapRealserversResult>
function getGaapRealserversOutput(args: GetGaapRealserversOutputArgs, opts?: InvokeOptions): Output<GetGaapRealserversResult>
def get_gaap_realservers(domain: Optional[str] = None,
id: Optional[str] = None,
ip: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[float] = None,
result_output_file: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetGaapRealserversResult
def get_gaap_realservers_output(domain: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
ip: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[float]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGaapRealserversResult]
func GetGaapRealservers(ctx *Context, args *GetGaapRealserversArgs, opts ...InvokeOption) (*GetGaapRealserversResult, error)
func GetGaapRealserversOutput(ctx *Context, args *GetGaapRealserversOutputArgs, opts ...InvokeOption) GetGaapRealserversResultOutput
> Note: This function is named GetGaapRealservers
in the Go SDK.
public static class GetGaapRealservers
{
public static Task<GetGaapRealserversResult> InvokeAsync(GetGaapRealserversArgs args, InvokeOptions? opts = null)
public static Output<GetGaapRealserversResult> Invoke(GetGaapRealserversInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGaapRealserversResult> getGaapRealservers(GetGaapRealserversArgs args, InvokeOptions options)
public static Output<GetGaapRealserversResult> getGaapRealservers(GetGaapRealserversArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getGaapRealservers:getGaapRealservers
arguments:
# arguments dictionary
The following arguments are supported:
- Domain string
- Domain of the GAAP realserver to be queried, conflict with
ip
. - Id string
- ID of the GAAP realserver.
- Ip string
- IP of the GAAP realserver to be queried, conflict with
domain
. - Name string
- Name of the GAAP realserver to be queried, the maximum length is 30.
- Project
Id double - ID of the project within the GAAP realserver to be queried, default value is
-1
, no set means all projects. - 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.
- Domain string
- Domain of the GAAP realserver to be queried, conflict with
ip
. - Id string
- ID of the GAAP realserver.
- Ip string
- IP of the GAAP realserver to be queried, conflict with
domain
. - Name string
- Name of the GAAP realserver to be queried, the maximum length is 30.
- Project
Id float64 - ID of the project within the GAAP realserver to be queried, default value is
-1
, no set means all projects. - 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.
- domain String
- Domain of the GAAP realserver to be queried, conflict with
ip
. - id String
- ID of the GAAP realserver.
- ip String
- IP of the GAAP realserver to be queried, conflict with
domain
. - name String
- Name of the GAAP realserver to be queried, the maximum length is 30.
- project
Id Double - ID of the project within the GAAP realserver to be queried, default value is
-1
, no set means all projects. - 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.
- domain string
- Domain of the GAAP realserver to be queried, conflict with
ip
. - id string
- ID of the GAAP realserver.
- ip string
- IP of the GAAP realserver to be queried, conflict with
domain
. - name string
- Name of the GAAP realserver to be queried, the maximum length is 30.
- project
Id number - ID of the project within the GAAP realserver to be queried, default value is
-1
, no set means all projects. - 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.
- domain str
- Domain of the GAAP realserver to be queried, conflict with
ip
. - id str
- ID of the GAAP realserver.
- ip str
- IP of the GAAP realserver to be queried, conflict with
domain
. - name str
- Name of the GAAP realserver to be queried, the maximum length is 30.
- project_
id float - ID of the project within the GAAP realserver to be queried, default value is
-1
, no set means all projects. - 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.
- domain String
- Domain of the GAAP realserver to be queried, conflict with
ip
. - id String
- ID of the GAAP realserver.
- ip String
- IP of the GAAP realserver to be queried, conflict with
domain
. - name String
- Name of the GAAP realserver to be queried, the maximum length is 30.
- project
Id Number - ID of the project within the GAAP realserver to be queried, default value is
-1
, no set means all projects. - 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.
getGaapRealservers Result
The following output properties are available:
- Id string
- ID of the GAAP realserver.
- Realservers
List<Get
Gaap Realservers Realserver> - An information list of GAAP realserver. Each element contains the following attributes:
- Domain string
- Domain of the GAAP realserver.
- Ip string
- IP of the GAAP realserver.
- Name string
- Name of the GAAP realserver.
- Project
Id double - ID of the project within the GAAP realserver.
- Result
Output stringFile - Dictionary<string, string>
- Tags of the GAAP realserver.
- Id string
- ID of the GAAP realserver.
- Realservers
[]Get
Gaap Realservers Realserver - An information list of GAAP realserver. Each element contains the following attributes:
- Domain string
- Domain of the GAAP realserver.
- Ip string
- IP of the GAAP realserver.
- Name string
- Name of the GAAP realserver.
- Project
Id float64 - ID of the project within the GAAP realserver.
- Result
Output stringFile - map[string]string
- Tags of the GAAP realserver.
- id String
- ID of the GAAP realserver.
- realservers
List<Get
Gaap Realservers Realserver> - An information list of GAAP realserver. Each element contains the following attributes:
- domain String
- Domain of the GAAP realserver.
- ip String
- IP of the GAAP realserver.
- name String
- Name of the GAAP realserver.
- project
Id Double - ID of the project within the GAAP realserver.
- result
Output StringFile - Map<String,String>
- Tags of the GAAP realserver.
- id string
- ID of the GAAP realserver.
- realservers
Get
Gaap Realservers Realserver[] - An information list of GAAP realserver. Each element contains the following attributes:
- domain string
- Domain of the GAAP realserver.
- ip string
- IP of the GAAP realserver.
- name string
- Name of the GAAP realserver.
- project
Id number - ID of the project within the GAAP realserver.
- result
Output stringFile - {[key: string]: string}
- Tags of the GAAP realserver.
- id str
- ID of the GAAP realserver.
- realservers
Sequence[Get
Gaap Realservers Realserver] - An information list of GAAP realserver. Each element contains the following attributes:
- domain str
- Domain of the GAAP realserver.
- ip str
- IP of the GAAP realserver.
- name str
- Name of the GAAP realserver.
- project_
id float - ID of the project within the GAAP realserver.
- result_
output_ strfile - Mapping[str, str]
- Tags of the GAAP realserver.
- id String
- ID of the GAAP realserver.
- realservers List<Property Map>
- An information list of GAAP realserver. Each element contains the following attributes:
- domain String
- Domain of the GAAP realserver.
- ip String
- IP of the GAAP realserver.
- name String
- Name of the GAAP realserver.
- project
Id Number - ID of the project within the GAAP realserver.
- result
Output StringFile - Map<String>
- Tags of the GAAP realserver.
Supporting Types
GetGaapRealserversRealserver
- Domain string
- Domain of the GAAP realserver to be queried, conflict with
ip
. - Id string
- ID of the GAAP realserver.
- Ip string
- IP of the GAAP realserver to be queried, conflict with
domain
. - Name string
- Name of the GAAP realserver to be queried, the maximum length is 30.
- Project
Id double - ID of the project within the GAAP realserver to be queried, default value is
-1
, no set means all projects. - Dictionary<string, string>
- Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
- Domain string
- Domain of the GAAP realserver to be queried, conflict with
ip
. - Id string
- ID of the GAAP realserver.
- Ip string
- IP of the GAAP realserver to be queried, conflict with
domain
. - Name string
- Name of the GAAP realserver to be queried, the maximum length is 30.
- Project
Id float64 - ID of the project within the GAAP realserver to be queried, default value is
-1
, no set means all projects. - map[string]string
- Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
- domain String
- Domain of the GAAP realserver to be queried, conflict with
ip
. - id String
- ID of the GAAP realserver.
- ip String
- IP of the GAAP realserver to be queried, conflict with
domain
. - name String
- Name of the GAAP realserver to be queried, the maximum length is 30.
- project
Id Double - ID of the project within the GAAP realserver to be queried, default value is
-1
, no set means all projects. - Map<String,String>
- Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
- domain string
- Domain of the GAAP realserver to be queried, conflict with
ip
. - id string
- ID of the GAAP realserver.
- ip string
- IP of the GAAP realserver to be queried, conflict with
domain
. - name string
- Name of the GAAP realserver to be queried, the maximum length is 30.
- project
Id number - ID of the project within the GAAP realserver to be queried, default value is
-1
, no set means all projects. - {[key: string]: string}
- Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
- domain str
- Domain of the GAAP realserver to be queried, conflict with
ip
. - id str
- ID of the GAAP realserver.
- ip str
- IP of the GAAP realserver to be queried, conflict with
domain
. - name str
- Name of the GAAP realserver to be queried, the maximum length is 30.
- project_
id float - ID of the project within the GAAP realserver to be queried, default value is
-1
, no set means all projects. - Mapping[str, str]
- Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
- domain String
- Domain of the GAAP realserver to be queried, conflict with
ip
. - id String
- ID of the GAAP realserver.
- ip String
- IP of the GAAP realserver to be queried, conflict with
domain
. - name String
- Name of the GAAP realserver to be queried, the maximum length is 30.
- project
Id Number - ID of the project within the GAAP realserver to be queried, default value is
-1
, no set means all projects. - Map<String>
- Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
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