tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTseGateways
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of tse gateways
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const gateways = tencentcloud.getTseGateways({
filters: [{
name: "GatewayId",
values: ["gateway-ddbb709b"],
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
gateways = tencentcloud.get_tse_gateways(filters=[{
"name": "GatewayId",
"values": ["gateway-ddbb709b"],
}])
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.LookupTseGateways(ctx, &tencentcloud.LookupTseGatewaysArgs{
Filters: []tencentcloud.GetTseGatewaysFilter{
{
Name: "GatewayId",
Values: []string{
"gateway-ddbb709b",
},
},
},
}, 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 gateways = Tencentcloud.GetTseGateways.Invoke(new()
{
Filters = new[]
{
new Tencentcloud.Inputs.GetTseGatewaysFilterInputArgs
{
Name = "GatewayId",
Values = new[]
{
"gateway-ddbb709b",
},
},
},
});
});
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.GetTseGatewaysArgs;
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 gateways = TencentcloudFunctions.getTseGateways(GetTseGatewaysArgs.builder()
.filters(GetTseGatewaysFilterArgs.builder()
.name("GatewayId")
.values("gateway-ddbb709b")
.build())
.build());
}
}
variables:
gateways:
fn::invoke:
function: tencentcloud:getTseGateways
arguments:
filters:
- name: GatewayId
values:
- gateway-ddbb709b
Using getTseGateways
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 getTseGateways(args: GetTseGatewaysArgs, opts?: InvokeOptions): Promise<GetTseGatewaysResult>
function getTseGatewaysOutput(args: GetTseGatewaysOutputArgs, opts?: InvokeOptions): Output<GetTseGatewaysResult>
def get_tse_gateways(filters: Optional[Sequence[GetTseGatewaysFilter]] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTseGatewaysResult
def get_tse_gateways_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetTseGatewaysFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTseGatewaysResult]
func LookupTseGateways(ctx *Context, args *LookupTseGatewaysArgs, opts ...InvokeOption) (*LookupTseGatewaysResult, error)
func LookupTseGatewaysOutput(ctx *Context, args *LookupTseGatewaysOutputArgs, opts ...InvokeOption) LookupTseGatewaysResultOutput
> Note: This function is named LookupTseGateways
in the Go SDK.
public static class GetTseGateways
{
public static Task<GetTseGatewaysResult> InvokeAsync(GetTseGatewaysArgs args, InvokeOptions? opts = null)
public static Output<GetTseGatewaysResult> Invoke(GetTseGatewaysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTseGatewaysResult> getTseGateways(GetTseGatewaysArgs args, InvokeOptions options)
public static Output<GetTseGatewaysResult> getTseGateways(GetTseGatewaysArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTseGateways:getTseGateways
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Tse Gateways Filter> - filter conditions, valid value:Type,Name,GatewayId,Tag,TradeType,InternetPaymode,Region.
- Id string
- Result
Output stringFile - Used to save results.
- Filters
[]Get
Tse Gateways Filter - filter conditions, valid value:Type,Name,GatewayId,Tag,TradeType,InternetPaymode,Region.
- Id string
- Result
Output stringFile - Used to save results.
- filters
List<Get
Tse Gateways Filter> - filter conditions, valid value:Type,Name,GatewayId,Tag,TradeType,InternetPaymode,Region.
- id String
- result
Output StringFile - Used to save results.
- filters
Get
Tse Gateways Filter[] - filter conditions, valid value:Type,Name,GatewayId,Tag,TradeType,InternetPaymode,Region.
- id string
- result
Output stringFile - Used to save results.
- filters
Sequence[Get
Tse Gateways Filter] - filter conditions, valid value:Type,Name,GatewayId,Tag,TradeType,InternetPaymode,Region.
- id str
- result_
output_ strfile - Used to save results.
- filters List<Property Map>
- filter conditions, valid value:Type,Name,GatewayId,Tag,TradeType,InternetPaymode,Region.
- id String
- result
Output StringFile - Used to save results.
getTseGateways Result
The following output properties are available:
- Id string
- Results
List<Get
Tse Gateways Result> - gateways information.
- Filters
List<Get
Tse Gateways Filter> - Result
Output stringFile
- Id string
- Results
[]Get
Tse Gateways Result - gateways information.
- Filters
[]Get
Tse Gateways Filter - Result
Output stringFile
- id String
- results
List<Get
Tse Gateways Result> - gateways information.
- filters
List<Get
Tse Gateways Filter> - result
Output StringFile
- id string
- results
Get
Tse Gateways Result[] - gateways information.
- filters
Get
Tse Gateways Filter[] - result
Output stringFile
- id str
- results
Sequence[Get
Tse Gateways Result] - gateways information.
- filters
Sequence[Get
Tse Gateways Filter] - result_
output_ strfile
- id String
- results List<Property Map>
- gateways information.
- filters List<Property Map>
- result
Output StringFile
Supporting Types
GetTseGatewaysFilter
GetTseGatewaysResult
- Gateway
Lists List<GetTse Gateways Result Gateway List> - gateway list.
- Total
Count double - total count.
- Gateway
Lists []GetTse Gateways Result Gateway List - gateway list.
- Total
Count float64 - total count.
- gateway
Lists List<GetTse Gateways Result Gateway List> - gateway list.
- total
Count Double - total count.
- gateway
Lists GetTse Gateways Result Gateway List[] - gateway list.
- total
Count number - total count.
- gateway_
lists Sequence[GetTse Gateways Result Gateway List] - gateway list.
- total_
count float - total count.
- gateway
Lists List<Property Map> - gateway list.
- total
Count Number - total count.
GetTseGatewaysResultGatewayList
- Auto
Renew doubleFlag - auto renew flag,
0
: default status,1
: auto renew,2
: auto not renew. - Create
Time string - create time.
- Cur
Deadline string - expire date, for prepaid type.Note: This field may return null, indicating that a valid value is not available.
- Description string
- description of gateway.
- Enable
Cls bool - whether to enable CLS log.
- Enable
Internet bool - whether to open the public network of client.Note: This field may return null, indicating that a valid value is not available.
- Engine
Region string - engine region of gateway.
- Feature
Version string - product version.
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - Gateway
Id string - gateway ID.
- Gateway
Minor stringVersion - minor version of gateway.
- Gateway
Version string - gateway version. Reference value:
2.4.1
,2.5.1
. - Ingress
Class stringName - ingress class name.
- Instance
Ports List<GetTse Gateways Result Gateway List Instance Port> - the port information that the instance monitors.
- Internet
Max doubleBandwidth Out - public network outbound traffic bandwidth.
- Internet
Pay stringMode - trade type of internet.
BANDWIDTH
,TRAFFIC
. - Isolate
Time string - isolation time, used when the gateway is isolated.
- Load
Balancer stringType - load balance type of public internet.
- Name string
- gateway name.
- Node
Configs List<GetTse Gateways Result Gateway List Node Config> - original node config.
- Public
Ip List<string>Addresses - addresses of public internet.
- Status string
- status of gateway. May return values:
Creating
,CreateFailed
,Running
,Modifying
,UpdatingSpec
,UpdateFailed
,Deleting
,DeleteFailed
,Isolating
. - List<Get
Tse Gateways Result Gateway List Tag> - tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
- Trade
Type double - trade type.
0
: postpaid,1
: Prepaid. - Type string
- gateway type.
- Vpc
Configs List<GetTse Gateways Result Gateway List Vpc Config> - vpc information.
- Auto
Renew float64Flag - auto renew flag,
0
: default status,1
: auto renew,2
: auto not renew. - Create
Time string - create time.
- Cur
Deadline string - expire date, for prepaid type.Note: This field may return null, indicating that a valid value is not available.
- Description string
- description of gateway.
- Enable
Cls bool - whether to enable CLS log.
- Enable
Internet bool - whether to open the public network of client.Note: This field may return null, indicating that a valid value is not available.
- Engine
Region string - engine region of gateway.
- Feature
Version string - product version.
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - Gateway
Id string - gateway ID.
- Gateway
Minor stringVersion - minor version of gateway.
- Gateway
Version string - gateway version. Reference value:
2.4.1
,2.5.1
. - Ingress
Class stringName - ingress class name.
- Instance
Ports []GetTse Gateways Result Gateway List Instance Port - the port information that the instance monitors.
- Internet
Max float64Bandwidth Out - public network outbound traffic bandwidth.
- Internet
Pay stringMode - trade type of internet.
BANDWIDTH
,TRAFFIC
. - Isolate
Time string - isolation time, used when the gateway is isolated.
- Load
Balancer stringType - load balance type of public internet.
- Name string
- gateway name.
- Node
Configs []GetTse Gateways Result Gateway List Node Config - original node config.
- Public
Ip []stringAddresses - addresses of public internet.
- Status string
- status of gateway. May return values:
Creating
,CreateFailed
,Running
,Modifying
,UpdatingSpec
,UpdateFailed
,Deleting
,DeleteFailed
,Isolating
. - []Get
Tse Gateways Result Gateway List Tag - tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
- Trade
Type float64 - trade type.
0
: postpaid,1
: Prepaid. - Type string
- gateway type.
- Vpc
Configs []GetTse Gateways Result Gateway List Vpc Config - vpc information.
- auto
Renew DoubleFlag - auto renew flag,
0
: default status,1
: auto renew,2
: auto not renew. - create
Time String - create time.
- cur
Deadline String - expire date, for prepaid type.Note: This field may return null, indicating that a valid value is not available.
- description String
- description of gateway.
- enable
Cls Boolean - whether to enable CLS log.
- enable
Internet Boolean - whether to open the public network of client.Note: This field may return null, indicating that a valid value is not available.
- engine
Region String - engine region of gateway.
- feature
Version String - product version.
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - gateway
Id String - gateway ID.
- gateway
Minor StringVersion - minor version of gateway.
- gateway
Version String - gateway version. Reference value:
2.4.1
,2.5.1
. - ingress
Class StringName - ingress class name.
- instance
Ports List<GetTse Gateways Result Gateway List Instance Port> - the port information that the instance monitors.
- internet
Max DoubleBandwidth Out - public network outbound traffic bandwidth.
- internet
Pay StringMode - trade type of internet.
BANDWIDTH
,TRAFFIC
. - isolate
Time String - isolation time, used when the gateway is isolated.
- load
Balancer StringType - load balance type of public internet.
- name String
- gateway name.
- node
Configs List<GetTse Gateways Result Gateway List Node Config> - original node config.
- public
Ip List<String>Addresses - addresses of public internet.
- status String
- status of gateway. May return values:
Creating
,CreateFailed
,Running
,Modifying
,UpdatingSpec
,UpdateFailed
,Deleting
,DeleteFailed
,Isolating
. - List<Get
Tse Gateways Result Gateway List Tag> - tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
- trade
Type Double - trade type.
0
: postpaid,1
: Prepaid. - type String
- gateway type.
- vpc
Configs List<GetTse Gateways Result Gateway List Vpc Config> - vpc information.
- auto
Renew numberFlag - auto renew flag,
0
: default status,1
: auto renew,2
: auto not renew. - create
Time string - create time.
- cur
Deadline string - expire date, for prepaid type.Note: This field may return null, indicating that a valid value is not available.
- description string
- description of gateway.
- enable
Cls boolean - whether to enable CLS log.
- enable
Internet boolean - whether to open the public network of client.Note: This field may return null, indicating that a valid value is not available.
- engine
Region string - engine region of gateway.
- feature
Version string - product version.
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - gateway
Id string - gateway ID.
- gateway
Minor stringVersion - minor version of gateway.
- gateway
Version string - gateway version. Reference value:
2.4.1
,2.5.1
. - ingress
Class stringName - ingress class name.
- instance
Ports GetTse Gateways Result Gateway List Instance Port[] - the port information that the instance monitors.
- internet
Max numberBandwidth Out - public network outbound traffic bandwidth.
- internet
Pay stringMode - trade type of internet.
BANDWIDTH
,TRAFFIC
. - isolate
Time string - isolation time, used when the gateway is isolated.
- load
Balancer stringType - load balance type of public internet.
- name string
- gateway name.
- node
Configs GetTse Gateways Result Gateway List Node Config[] - original node config.
- public
Ip string[]Addresses - addresses of public internet.
- status string
- status of gateway. May return values:
Creating
,CreateFailed
,Running
,Modifying
,UpdatingSpec
,UpdateFailed
,Deleting
,DeleteFailed
,Isolating
. - Get
Tse Gateways Result Gateway List Tag[] - tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
- trade
Type number - trade type.
0
: postpaid,1
: Prepaid. - type string
- gateway type.
- vpc
Configs GetTse Gateways Result Gateway List Vpc Config[] - vpc information.
- auto_
renew_ floatflag - auto renew flag,
0
: default status,1
: auto renew,2
: auto not renew. - create_
time str - create time.
- cur_
deadline str - expire date, for prepaid type.Note: This field may return null, indicating that a valid value is not available.
- description str
- description of gateway.
- enable_
cls bool - whether to enable CLS log.
- enable_
internet bool - whether to open the public network of client.Note: This field may return null, indicating that a valid value is not available.
- engine_
region str - engine region of gateway.
- feature_
version str - product version.
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - gateway_
id str - gateway ID.
- gateway_
minor_ strversion - minor version of gateway.
- gateway_
version str - gateway version. Reference value:
2.4.1
,2.5.1
. - ingress_
class_ strname - ingress class name.
- instance_
ports Sequence[GetTse Gateways Result Gateway List Instance Port] - the port information that the instance monitors.
- internet_
max_ floatbandwidth_ out - public network outbound traffic bandwidth.
- internet_
pay_ strmode - trade type of internet.
BANDWIDTH
,TRAFFIC
. - isolate_
time str - isolation time, used when the gateway is isolated.
- load_
balancer_ strtype - load balance type of public internet.
- name str
- gateway name.
- node_
configs Sequence[GetTse Gateways Result Gateway List Node Config] - original node config.
- public_
ip_ Sequence[str]addresses - addresses of public internet.
- status str
- status of gateway. May return values:
Creating
,CreateFailed
,Running
,Modifying
,UpdatingSpec
,UpdateFailed
,Deleting
,DeleteFailed
,Isolating
. - Sequence[Get
Tse Gateways Result Gateway List Tag] - tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
- trade_
type float - trade type.
0
: postpaid,1
: Prepaid. - type str
- gateway type.
- vpc_
configs Sequence[GetTse Gateways Result Gateway List Vpc Config] - vpc information.
- auto
Renew NumberFlag - auto renew flag,
0
: default status,1
: auto renew,2
: auto not renew. - create
Time String - create time.
- cur
Deadline String - expire date, for prepaid type.Note: This field may return null, indicating that a valid value is not available.
- description String
- description of gateway.
- enable
Cls Boolean - whether to enable CLS log.
- enable
Internet Boolean - whether to open the public network of client.Note: This field may return null, indicating that a valid value is not available.
- engine
Region String - engine region of gateway.
- feature
Version String - product version.
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - gateway
Id String - gateway ID.
- gateway
Minor StringVersion - minor version of gateway.
- gateway
Version String - gateway version. Reference value:
2.4.1
,2.5.1
. - ingress
Class StringName - ingress class name.
- instance
Ports List<Property Map> - the port information that the instance monitors.
- internet
Max NumberBandwidth Out - public network outbound traffic bandwidth.
- internet
Pay StringMode - trade type of internet.
BANDWIDTH
,TRAFFIC
. - isolate
Time String - isolation time, used when the gateway is isolated.
- load
Balancer StringType - load balance type of public internet.
- name String
- gateway name.
- node
Configs List<Property Map> - original node config.
- public
Ip List<String>Addresses - addresses of public internet.
- status String
- status of gateway. May return values:
Creating
,CreateFailed
,Running
,Modifying
,UpdatingSpec
,UpdateFailed
,Deleting
,DeleteFailed
,Isolating
. - List<Property Map>
- tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
- trade
Type Number - trade type.
0
: postpaid,1
: Prepaid. - type String
- gateway type.
- vpc
Configs List<Property Map> - vpc information.
GetTseGatewaysResultGatewayListInstancePort
- http_
port str - http port.
- https_
port str - https port.
GetTseGatewaysResultGatewayListNodeConfig
- Number double
- node number, 2-50.
- Specification string
- specification, 1c2g|2c4g|4c8g|8c16g.
- Number float64
- node number, 2-50.
- Specification string
- specification, 1c2g|2c4g|4c8g|8c16g.
- number Double
- node number, 2-50.
- specification String
- specification, 1c2g|2c4g|4c8g|8c16g.
- number number
- node number, 2-50.
- specification string
- specification, 1c2g|2c4g|4c8g|8c16g.
- number float
- node number, 2-50.
- specification str
- specification, 1c2g|2c4g|4c8g|8c16g.
- number Number
- node number, 2-50.
- specification String
- specification, 1c2g|2c4g|4c8g|8c16g.
GetTseGatewaysResultGatewayListTag
GetTseGatewaysResultGatewayListVpcConfig
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