tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getTseGatewayServices
Start a Neo task
Explain and create a tencentcloud.getTseGatewayServices resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of tse gateway_services
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const gatewayServices = tencentcloud.getTseGatewayServices({
gatewayId: "gateway-ddbb709b",
filters: [{
key: "name",
value: "test",
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
gateway_services = tencentcloud.get_tse_gateway_services(gateway_id="gateway-ddbb709b",
filters=[{
"key": "name",
"value": "test",
}])
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.LookupTseGatewayServices(ctx, &tencentcloud.LookupTseGatewayServicesArgs{
GatewayId: "gateway-ddbb709b",
Filters: []tencentcloud.GetTseGatewayServicesFilter{
{
Key: pulumi.StringRef("name"),
Value: pulumi.StringRef("test"),
},
},
}, 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 gatewayServices = Tencentcloud.GetTseGatewayServices.Invoke(new()
{
GatewayId = "gateway-ddbb709b",
Filters = new[]
{
new Tencentcloud.Inputs.GetTseGatewayServicesFilterInputArgs
{
Key = "name",
Value = "test",
},
},
});
});
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.GetTseGatewayServicesArgs;
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 gatewayServices = TencentcloudFunctions.getTseGatewayServices(GetTseGatewayServicesArgs.builder()
.gatewayId("gateway-ddbb709b")
.filters(GetTseGatewayServicesFilterArgs.builder()
.key("name")
.value("test")
.build())
.build());
}
}
variables:
gatewayServices:
fn::invoke:
function: tencentcloud:getTseGatewayServices
arguments:
gatewayId: gateway-ddbb709b
filters:
- key: name
value: test
Using getTseGatewayServices
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 getTseGatewayServices(args: GetTseGatewayServicesArgs, opts?: InvokeOptions): Promise<GetTseGatewayServicesResult>
function getTseGatewayServicesOutput(args: GetTseGatewayServicesOutputArgs, opts?: InvokeOptions): Output<GetTseGatewayServicesResult>def get_tse_gateway_services(filters: Optional[Sequence[GetTseGatewayServicesFilter]] = None,
gateway_id: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTseGatewayServicesResult
def get_tse_gateway_services_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetTseGatewayServicesFilterArgs]]]] = None,
gateway_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTseGatewayServicesResult]func LookupTseGatewayServices(ctx *Context, args *LookupTseGatewayServicesArgs, opts ...InvokeOption) (*LookupTseGatewayServicesResult, error)
func LookupTseGatewayServicesOutput(ctx *Context, args *LookupTseGatewayServicesOutputArgs, opts ...InvokeOption) LookupTseGatewayServicesResultOutput> Note: This function is named LookupTseGatewayServices in the Go SDK.
public static class GetTseGatewayServices
{
public static Task<GetTseGatewayServicesResult> InvokeAsync(GetTseGatewayServicesArgs args, InvokeOptions? opts = null)
public static Output<GetTseGatewayServicesResult> Invoke(GetTseGatewayServicesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTseGatewayServicesResult> getTseGatewayServices(GetTseGatewayServicesArgs args, InvokeOptions options)
public static Output<GetTseGatewayServicesResult> getTseGatewayServices(GetTseGatewayServicesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTseGatewayServices:getTseGatewayServices
arguments:
# arguments dictionaryThe following arguments are supported:
- Gateway
Id string - gateway ID.
- Filters
List<Get
Tse Gateway Services Filter> - filter conditions, valid value:name,upstreamType.
- Id string
- service ID.
- Result
Output stringFile - Used to save results.
- Gateway
Id string - gateway ID.
- Filters
[]Get
Tse Gateway Services Filter - filter conditions, valid value:name,upstreamType.
- Id string
- service ID.
- Result
Output stringFile - Used to save results.
- gateway
Id String - gateway ID.
- filters
List<Get
Tse Gateway Services Filter> - filter conditions, valid value:name,upstreamType.
- id String
- service ID.
- result
Output StringFile - Used to save results.
- gateway
Id string - gateway ID.
- filters
Get
Tse Gateway Services Filter[] - filter conditions, valid value:name,upstreamType.
- id string
- service ID.
- result
Output stringFile - Used to save results.
- gateway_
id str - gateway ID.
- filters
Sequence[Get
Tse Gateway Services Filter] - filter conditions, valid value:name,upstreamType.
- id str
- service ID.
- result_
output_ strfile - Used to save results.
- gateway
Id String - gateway ID.
- filters List<Property Map>
- filter conditions, valid value:name,upstreamType.
- id String
- service ID.
- result
Output StringFile - Used to save results.
getTseGatewayServices Result
The following output properties are available:
- Gateway
Id string - Id string
- service ID.
- Results
List<Get
Tse Gateway Services Result> - result.
- Filters
List<Get
Tse Gateway Services Filter> - Result
Output stringFile
- Gateway
Id string - Id string
- service ID.
- Results
[]Get
Tse Gateway Services Result - result.
- Filters
[]Get
Tse Gateway Services Filter - Result
Output stringFile
- gateway
Id String - id String
- service ID.
- results
List<Get
Tse Gateway Services Result> - result.
- filters
List<Get
Tse Gateway Services Filter> - result
Output StringFile
- gateway
Id string - id string
- service ID.
- results
Get
Tse Gateway Services Result[] - result.
- filters
Get
Tse Gateway Services Filter[] - result
Output stringFile
- gateway_
id str - id str
- service ID.
- results
Sequence[Get
Tse Gateway Services Result] - result.
- filters
Sequence[Get
Tse Gateway Services Filter] - result_
output_ strfile
- gateway
Id String - id String
- service ID.
- results List<Property Map>
- result.
- filters List<Property Map>
- result
Output StringFile
Supporting Types
GetTseGatewayServicesFilter
GetTseGatewayServicesResult
- Service
Lists List<GetTse Gateway Services Result Service List> - service list.
- Total
Count double - total count.
- Service
Lists []GetTse Gateway Services Result Service List - service list.
- Total
Count float64 - total count.
- service
Lists List<GetTse Gateway Services Result Service List> - service list.
- total
Count Double - total count.
- service
Lists GetTse Gateway Services Result Service List[] - service list.
- total
Count number - total count.
- service_
lists Sequence[GetTse Gateway Services Result Service List] - service list.
- total_
count float - total count.
- service
Lists List<Property Map> - service list.
- total
Count Number - total count.
GetTseGatewayServicesResultServiceList
- Created
Time string - created time.
- Editable bool
- editable status.
- Id string
- service ID.
- Name string
- service name.
- List<string>
- tag list.
- Upstream
Infos List<GetTse Gateway Services Result Service List Upstream Info> - upstream information.
- Upstream
Type string - service type.
- Created
Time string - created time.
- Editable bool
- editable status.
- Id string
- service ID.
- Name string
- service name.
- []string
- tag list.
- Upstream
Infos []GetTse Gateway Services Result Service List Upstream Info - upstream information.
- Upstream
Type string - service type.
- created
Time String - created time.
- editable Boolean
- editable status.
- id String
- service ID.
- name String
- service name.
- List<String>
- tag list.
- upstream
Infos List<GetTse Gateway Services Result Service List Upstream Info> - upstream information.
- upstream
Type String - service type.
- created
Time string - created time.
- editable boolean
- editable status.
- id string
- service ID.
- name string
- service name.
- string[]
- tag list.
- upstream
Infos GetTse Gateway Services Result Service List Upstream Info[] - upstream information.
- upstream
Type string - service type.
- created_
time str - created time.
- editable bool
- editable status.
- id str
- service ID.
- name str
- service name.
- Sequence[str]
- tag list.
- upstream_
infos Sequence[GetTse Gateway Services Result Service List Upstream Info] - upstream information.
- upstream_
type str - service type.
- created
Time String - created time.
- editable Boolean
- editable status.
- id String
- service ID.
- name String
- service name.
- List<String>
- tag list.
- upstream
Infos List<Property Map> - upstream information.
- upstream
Type String - service type.
GetTseGatewayServicesResultServiceListUpstreamInfo
- Algorithm string
- load balance algorithm,default:round-robin,least-connections and consisten_hashing also support.
- Auto
Scaling doubleCvm Port - auto scaling group port of cvm.
- Auto
Scaling stringGroup Id - auto scaling group ID of cvm.
- Auto
Scaling stringHook Status - hook status in auto scaling group of cvm.
- Auto
Scaling stringTat Cmd Status - tat cmd status in auto scaling group of cvm.
- Host string
- Host.
- Namespace string
- namespace.
- Port double
- port.
- Real
Source stringType - exact source service type.
- Scf
Lambda stringName - scf lambda name.
- Scf
Lambda stringQualifier - scf lambda version.
- Scf
Namespace string - scf lambda namespace.
- Scf
Type string - scf lambda type.
- Service
Name string - the name of the service in registry or kubernetes.
- Slow
Start double - slow start time, unit:second,when it's enabled, weight of the node is increased from 1 to the target value gradually.
- Source
Id string - service source ID.
- Source
Name string - the name of source service.
- Source
Type string - source service type.
- Targets
List<Get
Tse Gateway Services Result Service List Upstream Info Target> - provided when service type is IPList.
- Algorithm string
- load balance algorithm,default:round-robin,least-connections and consisten_hashing also support.
- Auto
Scaling float64Cvm Port - auto scaling group port of cvm.
- Auto
Scaling stringGroup Id - auto scaling group ID of cvm.
- Auto
Scaling stringHook Status - hook status in auto scaling group of cvm.
- Auto
Scaling stringTat Cmd Status - tat cmd status in auto scaling group of cvm.
- Host string
- Host.
- Namespace string
- namespace.
- Port float64
- port.
- Real
Source stringType - exact source service type.
- Scf
Lambda stringName - scf lambda name.
- Scf
Lambda stringQualifier - scf lambda version.
- Scf
Namespace string - scf lambda namespace.
- Scf
Type string - scf lambda type.
- Service
Name string - the name of the service in registry or kubernetes.
- Slow
Start float64 - slow start time, unit:second,when it's enabled, weight of the node is increased from 1 to the target value gradually.
- Source
Id string - service source ID.
- Source
Name string - the name of source service.
- Source
Type string - source service type.
- Targets
[]Get
Tse Gateway Services Result Service List Upstream Info Target - provided when service type is IPList.
- algorithm String
- load balance algorithm,default:round-robin,least-connections and consisten_hashing also support.
- auto
Scaling DoubleCvm Port - auto scaling group port of cvm.
- auto
Scaling StringGroup Id - auto scaling group ID of cvm.
- auto
Scaling StringHook Status - hook status in auto scaling group of cvm.
- auto
Scaling StringTat Cmd Status - tat cmd status in auto scaling group of cvm.
- host String
- Host.
- namespace String
- namespace.
- port Double
- port.
- real
Source StringType - exact source service type.
- scf
Lambda StringName - scf lambda name.
- scf
Lambda StringQualifier - scf lambda version.
- scf
Namespace String - scf lambda namespace.
- scf
Type String - scf lambda type.
- service
Name String - the name of the service in registry or kubernetes.
- slow
Start Double - slow start time, unit:second,when it's enabled, weight of the node is increased from 1 to the target value gradually.
- source
Id String - service source ID.
- source
Name String - the name of source service.
- source
Type String - source service type.
- targets
List<Get
Tse Gateway Services Result Service List Upstream Info Target> - provided when service type is IPList.
- algorithm string
- load balance algorithm,default:round-robin,least-connections and consisten_hashing also support.
- auto
Scaling numberCvm Port - auto scaling group port of cvm.
- auto
Scaling stringGroup Id - auto scaling group ID of cvm.
- auto
Scaling stringHook Status - hook status in auto scaling group of cvm.
- auto
Scaling stringTat Cmd Status - tat cmd status in auto scaling group of cvm.
- host string
- Host.
- namespace string
- namespace.
- port number
- port.
- real
Source stringType - exact source service type.
- scf
Lambda stringName - scf lambda name.
- scf
Lambda stringQualifier - scf lambda version.
- scf
Namespace string - scf lambda namespace.
- scf
Type string - scf lambda type.
- service
Name string - the name of the service in registry or kubernetes.
- slow
Start number - slow start time, unit:second,when it's enabled, weight of the node is increased from 1 to the target value gradually.
- source
Id string - service source ID.
- source
Name string - the name of source service.
- source
Type string - source service type.
- targets
Get
Tse Gateway Services Result Service List Upstream Info Target[] - provided when service type is IPList.
- algorithm str
- load balance algorithm,default:round-robin,least-connections and consisten_hashing also support.
- auto_
scaling_ floatcvm_ port - auto scaling group port of cvm.
- auto_
scaling_ strgroup_ id - auto scaling group ID of cvm.
- auto_
scaling_ strhook_ status - hook status in auto scaling group of cvm.
- auto_
scaling_ strtat_ cmd_ status - tat cmd status in auto scaling group of cvm.
- host str
- Host.
- namespace str
- namespace.
- port float
- port.
- real_
source_ strtype - exact source service type.
- scf_
lambda_ strname - scf lambda name.
- scf_
lambda_ strqualifier - scf lambda version.
- scf_
namespace str - scf lambda namespace.
- scf_
type str - scf lambda type.
- service_
name str - the name of the service in registry or kubernetes.
- slow_
start float - slow start time, unit:second,when it's enabled, weight of the node is increased from 1 to the target value gradually.
- source_
id str - service source ID.
- source_
name str - the name of source service.
- source_
type str - source service type.
- targets
Sequence[Get
Tse Gateway Services Result Service List Upstream Info Target] - provided when service type is IPList.
- algorithm String
- load balance algorithm,default:round-robin,least-connections and consisten_hashing also support.
- auto
Scaling NumberCvm Port - auto scaling group port of cvm.
- auto
Scaling StringGroup Id - auto scaling group ID of cvm.
- auto
Scaling StringHook Status - hook status in auto scaling group of cvm.
- auto
Scaling StringTat Cmd Status - tat cmd status in auto scaling group of cvm.
- host String
- Host.
- namespace String
- namespace.
- port Number
- port.
- real
Source StringType - exact source service type.
- scf
Lambda StringName - scf lambda name.
- scf
Lambda StringQualifier - scf lambda version.
- scf
Namespace String - scf lambda namespace.
- scf
Type String - scf lambda type.
- service
Name String - the name of the service in registry or kubernetes.
- slow
Start Number - slow start time, unit:second,when it's enabled, weight of the node is increased from 1 to the target value gradually.
- source
Id String - service source ID.
- source
Name String - the name of source service.
- source
Type String - source service type.
- targets List<Property Map>
- provided when service type is IPList.
GetTseGatewayServicesResultServiceListUpstreamInfoTarget
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
