tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getGaapHttpDomains
Start a Neo task
Explain and create a tencentcloud.getGaapHttpDomains resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query forward domain of layer7 listeners.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const fooGaapProxy = new tencentcloud.GaapProxy("foo", {
name: "ci-test-gaap-proxy",
bandwidth: 10,
concurrent: 2,
accessRegion: "SouthChina",
realserverRegion: "NorthChina",
});
const fooGaapLayer7Listener = new tencentcloud.GaapLayer7Listener("foo", {
protocol: "HTTP",
name: "ci-test-gaap-l7-listener",
port: 80,
proxyId: fooGaapProxy.gaapProxyId,
});
const fooGaapHttpDomain = new tencentcloud.GaapHttpDomain("foo", {
listenerId: fooGaapLayer7Listener.gaapLayer7ListenerId,
domain: "www.qq.com",
});
const foo = tencentcloud.getGaapHttpDomainsOutput({
listenerId: fooGaapLayer7Listener.gaapLayer7ListenerId,
domain: fooGaapHttpDomain.domain,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo_gaap_proxy = tencentcloud.GaapProxy("foo",
name="ci-test-gaap-proxy",
bandwidth=10,
concurrent=2,
access_region="SouthChina",
realserver_region="NorthChina")
foo_gaap_layer7_listener = tencentcloud.GaapLayer7Listener("foo",
protocol="HTTP",
name="ci-test-gaap-l7-listener",
port=80,
proxy_id=foo_gaap_proxy.gaap_proxy_id)
foo_gaap_http_domain = tencentcloud.GaapHttpDomain("foo",
listener_id=foo_gaap_layer7_listener.gaap_layer7_listener_id,
domain="www.qq.com")
foo = tencentcloud.get_gaap_http_domains_output(listener_id=foo_gaap_layer7_listener.gaap_layer7_listener_id,
domain=foo_gaap_http_domain.domain)
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, "foo", &tencentcloud.GaapProxyArgs{
Name: pulumi.String("ci-test-gaap-proxy"),
Bandwidth: pulumi.Float64(10),
Concurrent: pulumi.Float64(2),
AccessRegion: pulumi.String("SouthChina"),
RealserverRegion: pulumi.String("NorthChina"),
})
if err != nil {
return err
}
fooGaapLayer7Listener, err := tencentcloud.NewGaapLayer7Listener(ctx, "foo", &tencentcloud.GaapLayer7ListenerArgs{
Protocol: pulumi.String("HTTP"),
Name: pulumi.String("ci-test-gaap-l7-listener"),
Port: pulumi.Float64(80),
ProxyId: fooGaapProxy.GaapProxyId,
})
if err != nil {
return err
}
fooGaapHttpDomain, err := tencentcloud.NewGaapHttpDomain(ctx, "foo", &tencentcloud.GaapHttpDomainArgs{
ListenerId: fooGaapLayer7Listener.GaapLayer7ListenerId,
Domain: pulumi.String("www.qq.com"),
})
if err != nil {
return err
}
_ = tencentcloud.GetGaapHttpDomainsOutput(ctx, tencentcloud.GetGaapHttpDomainsOutputArgs{
ListenerId: fooGaapLayer7Listener.GaapLayer7ListenerId,
Domain: fooGaapHttpDomain.Domain,
}, 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("foo", new()
{
Name = "ci-test-gaap-proxy",
Bandwidth = 10,
Concurrent = 2,
AccessRegion = "SouthChina",
RealserverRegion = "NorthChina",
});
var fooGaapLayer7Listener = new Tencentcloud.GaapLayer7Listener("foo", new()
{
Protocol = "HTTP",
Name = "ci-test-gaap-l7-listener",
Port = 80,
ProxyId = fooGaapProxy.GaapProxyId,
});
var fooGaapHttpDomain = new Tencentcloud.GaapHttpDomain("foo", new()
{
ListenerId = fooGaapLayer7Listener.GaapLayer7ListenerId,
Domain = "www.qq.com",
});
var foo = Tencentcloud.GetGaapHttpDomains.Invoke(new()
{
ListenerId = fooGaapLayer7Listener.GaapLayer7ListenerId,
Domain = fooGaapHttpDomain.Domain,
});
});
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.GaapLayer7Listener;
import com.pulumi.tencentcloud.GaapLayer7ListenerArgs;
import com.pulumi.tencentcloud.GaapHttpDomain;
import com.pulumi.tencentcloud.GaapHttpDomainArgs;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetGaapHttpDomainsArgs;
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()
.name("ci-test-gaap-proxy")
.bandwidth(10.0)
.concurrent(2.0)
.accessRegion("SouthChina")
.realserverRegion("NorthChina")
.build());
var fooGaapLayer7Listener = new GaapLayer7Listener("fooGaapLayer7Listener", GaapLayer7ListenerArgs.builder()
.protocol("HTTP")
.name("ci-test-gaap-l7-listener")
.port(80.0)
.proxyId(fooGaapProxy.gaapProxyId())
.build());
var fooGaapHttpDomain = new GaapHttpDomain("fooGaapHttpDomain", GaapHttpDomainArgs.builder()
.listenerId(fooGaapLayer7Listener.gaapLayer7ListenerId())
.domain("www.qq.com")
.build());
final var foo = TencentcloudFunctions.getGaapHttpDomains(GetGaapHttpDomainsArgs.builder()
.listenerId(fooGaapLayer7Listener.gaapLayer7ListenerId())
.domain(fooGaapHttpDomain.domain())
.build());
}
}
resources:
fooGaapProxy:
type: tencentcloud:GaapProxy
name: foo
properties:
name: ci-test-gaap-proxy
bandwidth: 10
concurrent: 2
accessRegion: SouthChina
realserverRegion: NorthChina
fooGaapLayer7Listener:
type: tencentcloud:GaapLayer7Listener
name: foo
properties:
protocol: HTTP
name: ci-test-gaap-l7-listener
port: 80
proxyId: ${fooGaapProxy.gaapProxyId}
fooGaapHttpDomain:
type: tencentcloud:GaapHttpDomain
name: foo
properties:
listenerId: ${fooGaapLayer7Listener.gaapLayer7ListenerId}
domain: www.qq.com
variables:
foo:
fn::invoke:
function: tencentcloud:getGaapHttpDomains
arguments:
listenerId: ${fooGaapLayer7Listener.gaapLayer7ListenerId}
domain: ${fooGaapHttpDomain.domain}
Using getGaapHttpDomains
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 getGaapHttpDomains(args: GetGaapHttpDomainsArgs, opts?: InvokeOptions): Promise<GetGaapHttpDomainsResult>
function getGaapHttpDomainsOutput(args: GetGaapHttpDomainsOutputArgs, opts?: InvokeOptions): Output<GetGaapHttpDomainsResult>def get_gaap_http_domains(domain: Optional[str] = None,
id: Optional[str] = None,
listener_id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGaapHttpDomainsResult
def get_gaap_http_domains_output(domain: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
listener_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGaapHttpDomainsResult]func GetGaapHttpDomains(ctx *Context, args *GetGaapHttpDomainsArgs, opts ...InvokeOption) (*GetGaapHttpDomainsResult, error)
func GetGaapHttpDomainsOutput(ctx *Context, args *GetGaapHttpDomainsOutputArgs, opts ...InvokeOption) GetGaapHttpDomainsResultOutput> Note: This function is named GetGaapHttpDomains in the Go SDK.
public static class GetGaapHttpDomains
{
public static Task<GetGaapHttpDomainsResult> InvokeAsync(GetGaapHttpDomainsArgs args, InvokeOptions? opts = null)
public static Output<GetGaapHttpDomainsResult> Invoke(GetGaapHttpDomainsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGaapHttpDomainsResult> getGaapHttpDomains(GetGaapHttpDomainsArgs args, InvokeOptions options)
public static Output<GetGaapHttpDomainsResult> getGaapHttpDomains(GetGaapHttpDomainsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getGaapHttpDomains:getGaapHttpDomains
arguments:
# arguments dictionaryThe following arguments are supported:
- Domain string
- Forward domain of the layer7 listener to be queried.
- Listener
Id string - ID of the layer7 listener to be queried.
- Id string
- Result
Output stringFile - Used to save results.
- Domain string
- Forward domain of the layer7 listener to be queried.
- Listener
Id string - ID of the layer7 listener to be queried.
- Id string
- Result
Output stringFile - Used to save results.
- domain String
- Forward domain of the layer7 listener to be queried.
- listener
Id String - ID of the layer7 listener to be queried.
- id String
- result
Output StringFile - Used to save results.
- domain string
- Forward domain of the layer7 listener to be queried.
- listener
Id string - ID of the layer7 listener to be queried.
- id string
- result
Output stringFile - Used to save results.
- domain str
- Forward domain of the layer7 listener to be queried.
- listener_
id str - ID of the layer7 listener to be queried.
- id str
- result_
output_ strfile - Used to save results.
- domain String
- Forward domain of the layer7 listener to be queried.
- listener
Id String - ID of the layer7 listener to be queried.
- id String
- result
Output StringFile - Used to save results.
getGaapHttpDomains Result
The following output properties are available:
- Domain string
- Forward domain of the layer7 listener.
- Domains
List<Get
Gaap Http Domains Domain> - An information list of forward domain of the layer7 listeners. Each element contains the following attributes:
- Id string
- Listener
Id string - Result
Output stringFile
- Domain string
- Forward domain of the layer7 listener.
- Domains
[]Get
Gaap Http Domains Domain - An information list of forward domain of the layer7 listeners. Each element contains the following attributes:
- Id string
- Listener
Id string - Result
Output stringFile
- domain String
- Forward domain of the layer7 listener.
- domains
List<Get
Gaap Http Domains Domain> - An information list of forward domain of the layer7 listeners. Each element contains the following attributes:
- id String
- listener
Id String - result
Output StringFile
- domain string
- Forward domain of the layer7 listener.
- domains
Get
Gaap Http Domains Domain[] - An information list of forward domain of the layer7 listeners. Each element contains the following attributes:
- id string
- listener
Id string - result
Output stringFile
- domain str
- Forward domain of the layer7 listener.
- domains
Sequence[Get
Gaap Http Domains Domain] - An information list of forward domain of the layer7 listeners. Each element contains the following attributes:
- id str
- listener_
id str - result_
output_ strfile
- domain String
- Forward domain of the layer7 listener.
- domains List<Property Map>
- An information list of forward domain of the layer7 listeners. Each element contains the following attributes:
- id String
- listener
Id String - result
Output StringFile
Supporting Types
GetGaapHttpDomainsDomain
- Basic
Auth bool - Indicates whether basic authentication is enable.
- Basic
Auth stringId - ID of the basic authentication.
- Certificate
Id string - ID of the server certificate.
- Client
Certificate stringId - (Deprecated) It has been deprecated from version 1.26.0. Use
client_certificate_idsinstead. ID of the client certificate. - Client
Certificate List<string>Ids - ID list of the client certificate.
- Domain string
- Forward domain of the layer7 listener to be queried.
- Gaap
Auth bool - Indicates whether SSL certificate authentication is enable.
- Gaap
Auth stringId - ID of the SSL certificate.
- Is
Default boolServer - Whether to use as the default domain name.
- Realserver
Auth bool - Indicates whether realserver authentication is enable.
- Realserver
Certificate stringDomain - CA certificate domain of the realserver.
- Realserver
Certificate stringId - (Deprecated) It has been deprecated from version 1.28.0. Use
realserver_certificate_idsinstead. CA certificate ID of the realserver. - Realserver
Certificate List<string>Ids - CA certificate ID list of the realserver.
- Basic
Auth bool - Indicates whether basic authentication is enable.
- Basic
Auth stringId - ID of the basic authentication.
- Certificate
Id string - ID of the server certificate.
- Client
Certificate stringId - (Deprecated) It has been deprecated from version 1.26.0. Use
client_certificate_idsinstead. ID of the client certificate. - Client
Certificate []stringIds - ID list of the client certificate.
- Domain string
- Forward domain of the layer7 listener to be queried.
- Gaap
Auth bool - Indicates whether SSL certificate authentication is enable.
- Gaap
Auth stringId - ID of the SSL certificate.
- Is
Default boolServer - Whether to use as the default domain name.
- Realserver
Auth bool - Indicates whether realserver authentication is enable.
- Realserver
Certificate stringDomain - CA certificate domain of the realserver.
- Realserver
Certificate stringId - (Deprecated) It has been deprecated from version 1.28.0. Use
realserver_certificate_idsinstead. CA certificate ID of the realserver. - Realserver
Certificate []stringIds - CA certificate ID list of the realserver.
- basic
Auth Boolean - Indicates whether basic authentication is enable.
- basic
Auth StringId - ID of the basic authentication.
- certificate
Id String - ID of the server certificate.
- client
Certificate StringId - (Deprecated) It has been deprecated from version 1.26.0. Use
client_certificate_idsinstead. ID of the client certificate. - client
Certificate List<String>Ids - ID list of the client certificate.
- domain String
- Forward domain of the layer7 listener to be queried.
- gaap
Auth Boolean - Indicates whether SSL certificate authentication is enable.
- gaap
Auth StringId - ID of the SSL certificate.
- is
Default BooleanServer - Whether to use as the default domain name.
- realserver
Auth Boolean - Indicates whether realserver authentication is enable.
- realserver
Certificate StringDomain - CA certificate domain of the realserver.
- realserver
Certificate StringId - (Deprecated) It has been deprecated from version 1.28.0. Use
realserver_certificate_idsinstead. CA certificate ID of the realserver. - realserver
Certificate List<String>Ids - CA certificate ID list of the realserver.
- basic
Auth boolean - Indicates whether basic authentication is enable.
- basic
Auth stringId - ID of the basic authentication.
- certificate
Id string - ID of the server certificate.
- client
Certificate stringId - (Deprecated) It has been deprecated from version 1.26.0. Use
client_certificate_idsinstead. ID of the client certificate. - client
Certificate string[]Ids - ID list of the client certificate.
- domain string
- Forward domain of the layer7 listener to be queried.
- gaap
Auth boolean - Indicates whether SSL certificate authentication is enable.
- gaap
Auth stringId - ID of the SSL certificate.
- is
Default booleanServer - Whether to use as the default domain name.
- realserver
Auth boolean - Indicates whether realserver authentication is enable.
- realserver
Certificate stringDomain - CA certificate domain of the realserver.
- realserver
Certificate stringId - (Deprecated) It has been deprecated from version 1.28.0. Use
realserver_certificate_idsinstead. CA certificate ID of the realserver. - realserver
Certificate string[]Ids - CA certificate ID list of the realserver.
- basic_
auth bool - Indicates whether basic authentication is enable.
- basic_
auth_ strid - ID of the basic authentication.
- certificate_
id str - ID of the server certificate.
- client_
certificate_ strid - (Deprecated) It has been deprecated from version 1.26.0. Use
client_certificate_idsinstead. ID of the client certificate. - client_
certificate_ Sequence[str]ids - ID list of the client certificate.
- domain str
- Forward domain of the layer7 listener to be queried.
- gaap_
auth bool - Indicates whether SSL certificate authentication is enable.
- gaap_
auth_ strid - ID of the SSL certificate.
- is_
default_ boolserver - Whether to use as the default domain name.
- realserver_
auth bool - Indicates whether realserver authentication is enable.
- realserver_
certificate_ strdomain - CA certificate domain of the realserver.
- realserver_
certificate_ strid - (Deprecated) It has been deprecated from version 1.28.0. Use
realserver_certificate_idsinstead. CA certificate ID of the realserver. - realserver_
certificate_ Sequence[str]ids - CA certificate ID list of the realserver.
- basic
Auth Boolean - Indicates whether basic authentication is enable.
- basic
Auth StringId - ID of the basic authentication.
- certificate
Id String - ID of the server certificate.
- client
Certificate StringId - (Deprecated) It has been deprecated from version 1.26.0. Use
client_certificate_idsinstead. ID of the client certificate. - client
Certificate List<String>Ids - ID list of the client certificate.
- domain String
- Forward domain of the layer7 listener to be queried.
- gaap
Auth Boolean - Indicates whether SSL certificate authentication is enable.
- gaap
Auth StringId - ID of the SSL certificate.
- is
Default BooleanServer - Whether to use as the default domain name.
- realserver
Auth Boolean - Indicates whether realserver authentication is enable.
- realserver
Certificate StringDomain - CA certificate domain of the realserver.
- realserver
Certificate StringId - (Deprecated) It has been deprecated from version 1.28.0. Use
realserver_certificate_idsinstead. CA certificate ID of the realserver. - realserver
Certificate List<String>Ids - CA certificate ID list of the realserver.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
