tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getTseGateways
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 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 This property is required. List<GetTse Gateways Result Gateway List> - gateway list.
- Total
Count This property is required. double - total count.
- Gateway
Lists This property is required. []GetTse Gateways Result Gateway List - gateway list.
- Total
Count This property is required. float64 - total count.
- gateway
Lists This property is required. List<GetTse Gateways Result Gateway List> - gateway list.
- total
Count This property is required. Double - total count.
- gateway
Lists This property is required. GetTse Gateways Result Gateway List[] - gateway list.
- total
Count This property is required. number - total count.
- gateway_
lists This property is required. Sequence[GetTse Gateways Result Gateway List] - gateway list.
- total_
count This property is required. float - total count.
- gateway
Lists This property is required. List<Property Map> - gateway list.
- total
Count This property is required. Number - total count.
GetTseGatewaysResultGatewayList
- Auto
Renew Flag This property is required. double - auto renew flag,
0
: default status,1
: auto renew,2
: auto not renew. - Create
Time This property is required. string - create time.
- Cur
Deadline This property is required. string - expire date, for prepaid type.Note: This field may return null, indicating that a valid value is not available.
- Description
This property is required. string - description of gateway.
- Enable
Cls This property is required. bool - whether to enable CLS log.
- Enable
Internet This property is required. 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 This property is required. string - engine region of gateway.
- Feature
Version This property is required. string - product version.
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - Gateway
Id This property is required. string - gateway ID.
- Gateway
Minor Version This property is required. string - minor version of gateway.
- Gateway
Version This property is required. string - gateway version. Reference value:
2.4.1
,2.5.1
. - Ingress
Class Name This property is required. string - ingress class name.
- Instance
Ports This property is required. List<GetTse Gateways Result Gateway List Instance Port> - the port information that the instance monitors.
- Internet
Max Bandwidth Out This property is required. double - public network outbound traffic bandwidth.
- Internet
Pay Mode This property is required. string - trade type of internet.
BANDWIDTH
,TRAFFIC
. - Isolate
Time This property is required. string - isolation time, used when the gateway is isolated.
- Load
Balancer Type This property is required. string - load balance type of public internet.
- Name
This property is required. string - gateway name.
- Node
Configs This property is required. List<GetTse Gateways Result Gateway List Node Config> - original node config.
- Public
Ip Addresses This property is required. List<string> - addresses of public internet.
- Status
This property is required. string - status of gateway. May return values:
Creating
,CreateFailed
,Running
,Modifying
,UpdatingSpec
,UpdateFailed
,Deleting
,DeleteFailed
,Isolating
. This property is required. List<GetTse Gateways Result Gateway List Tag> - tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
- Trade
Type This property is required. double - trade type.
0
: postpaid,1
: Prepaid. - Type
This property is required. string - gateway type.
- Vpc
Configs This property is required. List<GetTse Gateways Result Gateway List Vpc Config> - vpc information.
- Auto
Renew Flag This property is required. float64 - auto renew flag,
0
: default status,1
: auto renew,2
: auto not renew. - Create
Time This property is required. string - create time.
- Cur
Deadline This property is required. string - expire date, for prepaid type.Note: This field may return null, indicating that a valid value is not available.
- Description
This property is required. string - description of gateway.
- Enable
Cls This property is required. bool - whether to enable CLS log.
- Enable
Internet This property is required. 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 This property is required. string - engine region of gateway.
- Feature
Version This property is required. string - product version.
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - Gateway
Id This property is required. string - gateway ID.
- Gateway
Minor Version This property is required. string - minor version of gateway.
- Gateway
Version This property is required. string - gateway version. Reference value:
2.4.1
,2.5.1
. - Ingress
Class Name This property is required. string - ingress class name.
- Instance
Ports This property is required. []GetTse Gateways Result Gateway List Instance Port - the port information that the instance monitors.
- Internet
Max Bandwidth Out This property is required. float64 - public network outbound traffic bandwidth.
- Internet
Pay Mode This property is required. string - trade type of internet.
BANDWIDTH
,TRAFFIC
. - Isolate
Time This property is required. string - isolation time, used when the gateway is isolated.
- Load
Balancer Type This property is required. string - load balance type of public internet.
- Name
This property is required. string - gateway name.
- Node
Configs This property is required. []GetTse Gateways Result Gateway List Node Config - original node config.
- Public
Ip Addresses This property is required. []string - addresses of public internet.
- Status
This property is required. string - status of gateway. May return values:
Creating
,CreateFailed
,Running
,Modifying
,UpdatingSpec
,UpdateFailed
,Deleting
,DeleteFailed
,Isolating
. This property is required. []GetTse Gateways Result Gateway List Tag - tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
- Trade
Type This property is required. float64 - trade type.
0
: postpaid,1
: Prepaid. - Type
This property is required. string - gateway type.
- Vpc
Configs This property is required. []GetTse Gateways Result Gateway List Vpc Config - vpc information.
- auto
Renew Flag This property is required. Double - auto renew flag,
0
: default status,1
: auto renew,2
: auto not renew. - create
Time This property is required. String - create time.
- cur
Deadline This property is required. String - expire date, for prepaid type.Note: This field may return null, indicating that a valid value is not available.
- description
This property is required. String - description of gateway.
- enable
Cls This property is required. Boolean - whether to enable CLS log.
- enable
Internet This property is required. 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 This property is required. String - engine region of gateway.
- feature
Version This property is required. String - product version.
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - gateway
Id This property is required. String - gateway ID.
- gateway
Minor Version This property is required. String - minor version of gateway.
- gateway
Version This property is required. String - gateway version. Reference value:
2.4.1
,2.5.1
. - ingress
Class Name This property is required. String - ingress class name.
- instance
Ports This property is required. List<GetTse Gateways Result Gateway List Instance Port> - the port information that the instance monitors.
- internet
Max Bandwidth Out This property is required. Double - public network outbound traffic bandwidth.
- internet
Pay Mode This property is required. String - trade type of internet.
BANDWIDTH
,TRAFFIC
. - isolate
Time This property is required. String - isolation time, used when the gateway is isolated.
- load
Balancer Type This property is required. String - load balance type of public internet.
- name
This property is required. String - gateway name.
- node
Configs This property is required. List<GetTse Gateways Result Gateway List Node Config> - original node config.
- public
Ip Addresses This property is required. List<String> - addresses of public internet.
- status
This property is required. String - status of gateway. May return values:
Creating
,CreateFailed
,Running
,Modifying
,UpdatingSpec
,UpdateFailed
,Deleting
,DeleteFailed
,Isolating
. This property is required. List<GetTse Gateways Result Gateway List Tag> - tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
- trade
Type This property is required. Double - trade type.
0
: postpaid,1
: Prepaid. - type
This property is required. String - gateway type.
- vpc
Configs This property is required. List<GetTse Gateways Result Gateway List Vpc Config> - vpc information.
- auto
Renew Flag This property is required. number - auto renew flag,
0
: default status,1
: auto renew,2
: auto not renew. - create
Time This property is required. string - create time.
- cur
Deadline This property is required. string - expire date, for prepaid type.Note: This field may return null, indicating that a valid value is not available.
- description
This property is required. string - description of gateway.
- enable
Cls This property is required. boolean - whether to enable CLS log.
- enable
Internet This property is required. 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 This property is required. string - engine region of gateway.
- feature
Version This property is required. string - product version.
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - gateway
Id This property is required. string - gateway ID.
- gateway
Minor Version This property is required. string - minor version of gateway.
- gateway
Version This property is required. string - gateway version. Reference value:
2.4.1
,2.5.1
. - ingress
Class Name This property is required. string - ingress class name.
- instance
Ports This property is required. GetTse Gateways Result Gateway List Instance Port[] - the port information that the instance monitors.
- internet
Max Bandwidth Out This property is required. number - public network outbound traffic bandwidth.
- internet
Pay Mode This property is required. string - trade type of internet.
BANDWIDTH
,TRAFFIC
. - isolate
Time This property is required. string - isolation time, used when the gateway is isolated.
- load
Balancer Type This property is required. string - load balance type of public internet.
- name
This property is required. string - gateway name.
- node
Configs This property is required. GetTse Gateways Result Gateway List Node Config[] - original node config.
- public
Ip Addresses This property is required. string[] - addresses of public internet.
- status
This property is required. string - status of gateway. May return values:
Creating
,CreateFailed
,Running
,Modifying
,UpdatingSpec
,UpdateFailed
,Deleting
,DeleteFailed
,Isolating
. This property is required. GetTse Gateways Result Gateway List Tag[] - tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
- trade
Type This property is required. number - trade type.
0
: postpaid,1
: Prepaid. - type
This property is required. string - gateway type.
- vpc
Configs This property is required. GetTse Gateways Result Gateway List Vpc Config[] - vpc information.
- auto_
renew_ flag This property is required. float - auto renew flag,
0
: default status,1
: auto renew,2
: auto not renew. - create_
time This property is required. str - create time.
- cur_
deadline This property is required. str - expire date, for prepaid type.Note: This field may return null, indicating that a valid value is not available.
- description
This property is required. str - description of gateway.
- enable_
cls This property is required. bool - whether to enable CLS log.
- enable_
internet This property is required. 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 This property is required. str - engine region of gateway.
- feature_
version This property is required. str - product version.
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - gateway_
id This property is required. str - gateway ID.
- gateway_
minor_ version This property is required. str - minor version of gateway.
- gateway_
version This property is required. str - gateway version. Reference value:
2.4.1
,2.5.1
. - ingress_
class_ name This property is required. str - ingress class name.
- instance_
ports This property is required. Sequence[GetTse Gateways Result Gateway List Instance Port] - the port information that the instance monitors.
- internet_
max_ bandwidth_ out This property is required. float - public network outbound traffic bandwidth.
- internet_
pay_ mode This property is required. str - trade type of internet.
BANDWIDTH
,TRAFFIC
. - isolate_
time This property is required. str - isolation time, used when the gateway is isolated.
- load_
balancer_ type This property is required. str - load balance type of public internet.
- name
This property is required. str - gateway name.
- node_
configs This property is required. Sequence[GetTse Gateways Result Gateway List Node Config] - original node config.
- public_
ip_ addresses This property is required. Sequence[str] - addresses of public internet.
- status
This property is required. str - status of gateway. May return values:
Creating
,CreateFailed
,Running
,Modifying
,UpdatingSpec
,UpdateFailed
,Deleting
,DeleteFailed
,Isolating
. This property is required. Sequence[GetTse Gateways Result Gateway List Tag] - tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
- trade_
type This property is required. float - trade type.
0
: postpaid,1
: Prepaid. - type
This property is required. str - gateway type.
- vpc_
configs This property is required. Sequence[GetTse Gateways Result Gateway List Vpc Config] - vpc information.
- auto
Renew Flag This property is required. Number - auto renew flag,
0
: default status,1
: auto renew,2
: auto not renew. - create
Time This property is required. String - create time.
- cur
Deadline This property is required. String - expire date, for prepaid type.Note: This field may return null, indicating that a valid value is not available.
- description
This property is required. String - description of gateway.
- enable
Cls This property is required. Boolean - whether to enable CLS log.
- enable
Internet This property is required. 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 This property is required. String - engine region of gateway.
- feature
Version This property is required. String - product version.
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - gateway
Id This property is required. String - gateway ID.
- gateway
Minor Version This property is required. String - minor version of gateway.
- gateway
Version This property is required. String - gateway version. Reference value:
2.4.1
,2.5.1
. - ingress
Class Name This property is required. String - ingress class name.
- instance
Ports This property is required. List<Property Map> - the port information that the instance monitors.
- internet
Max Bandwidth Out This property is required. Number - public network outbound traffic bandwidth.
- internet
Pay Mode This property is required. String - trade type of internet.
BANDWIDTH
,TRAFFIC
. - isolate
Time This property is required. String - isolation time, used when the gateway is isolated.
- load
Balancer Type This property is required. String - load balance type of public internet.
- name
This property is required. String - gateway name.
- node
Configs This property is required. List<Property Map> - original node config.
- public
Ip Addresses This property is required. List<String> - addresses of public internet.
- status
This property is required. String - status of gateway. May return values:
Creating
,CreateFailed
,Running
,Modifying
,UpdatingSpec
,UpdateFailed
,Deleting
,DeleteFailed
,Isolating
. This property is required. List<Property Map>- tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
- trade
Type This property is required. Number - trade type.
0
: postpaid,1
: Prepaid. - type
This property is required. String - gateway type.
- vpc
Configs This property is required. List<Property Map> - vpc information.
GetTseGatewaysResultGatewayListInstancePort
- http_
port This property is required. str - http port.
- https_
port This property is required. str - https port.
GetTseGatewaysResultGatewayListNodeConfig
- Number
This property is required. double - node number, 2-50.
- Specification
This property is required. string - specification, 1c2g|2c4g|4c8g|8c16g.
- Number
This property is required. float64 - node number, 2-50.
- Specification
This property is required. string - specification, 1c2g|2c4g|4c8g|8c16g.
- number
This property is required. Double - node number, 2-50.
- specification
This property is required. String - specification, 1c2g|2c4g|4c8g|8c16g.
- number
This property is required. number - node number, 2-50.
- specification
This property is required. string - specification, 1c2g|2c4g|4c8g|8c16g.
- number
This property is required. float - node number, 2-50.
- specification
This property is required. str - specification, 1c2g|2c4g|4c8g|8c16g.
- number
This property is required. Number - node number, 2-50.
- specification
This property is required. 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.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack