1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getTseGateways
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getTseGateways

Explore with Pulumi AI

tencentcloud logo
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<GetTseGatewaysFilter>
    filter conditions, valid value:Type,Name,GatewayId,Tag,TradeType,InternetPaymode,Region.
    Id string
    ResultOutputFile string
    Used to save results.
    Filters []GetTseGatewaysFilter
    filter conditions, valid value:Type,Name,GatewayId,Tag,TradeType,InternetPaymode,Region.
    Id string
    ResultOutputFile string
    Used to save results.
    filters List<GetTseGatewaysFilter>
    filter conditions, valid value:Type,Name,GatewayId,Tag,TradeType,InternetPaymode,Region.
    id String
    resultOutputFile String
    Used to save results.
    filters GetTseGatewaysFilter[]
    filter conditions, valid value:Type,Name,GatewayId,Tag,TradeType,InternetPaymode,Region.
    id string
    resultOutputFile string
    Used to save results.
    filters Sequence[GetTseGatewaysFilter]
    filter conditions, valid value:Type,Name,GatewayId,Tag,TradeType,InternetPaymode,Region.
    id str
    result_output_file str
    Used to save results.
    filters List<Property Map>
    filter conditions, valid value:Type,Name,GatewayId,Tag,TradeType,InternetPaymode,Region.
    id String
    resultOutputFile String
    Used to save results.

    getTseGateways Result

    The following output properties are available:

    Supporting Types

    GetTseGatewaysFilter

    Name string
    filter name.
    Values List<string>
    filter value.
    Name string
    filter name.
    Values []string
    filter value.
    name String
    filter name.
    values List<String>
    filter value.
    name string
    filter name.
    values string[]
    filter value.
    name str
    filter name.
    values Sequence[str]
    filter value.
    name String
    filter name.
    values List<String>
    filter value.

    GetTseGatewaysResult

    gatewayLists List<Property Map>
    gateway list.
    totalCount Number
    total count.

    GetTseGatewaysResultGatewayList

    AutoRenewFlag double
    auto renew flag, 0: default status, 1: auto renew, 2: auto not renew.
    CreateTime string
    create time.
    CurDeadline 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.
    EnableCls bool
    whether to enable CLS log.
    EnableInternet bool
    whether to open the public network of client.Note: This field may return null, indicating that a valid value is not available.
    EngineRegion string
    engine region of gateway.
    FeatureVersion string
    product version. TRIAL, STANDARD(default value), PROFESSIONAL.
    GatewayId string
    gateway ID.
    GatewayMinorVersion string
    minor version of gateway.
    GatewayVersion string
    gateway version. Reference value: 2.4.1, 2.5.1.
    IngressClassName string
    ingress class name.
    InstancePorts List<GetTseGatewaysResultGatewayListInstancePort>
    the port information that the instance monitors.
    InternetMaxBandwidthOut double
    public network outbound traffic bandwidth.
    InternetPayMode string
    trade type of internet. BANDWIDTH, TRAFFIC.
    IsolateTime string
    isolation time, used when the gateway is isolated.
    LoadBalancerType string
    load balance type of public internet.
    Name string
    gateway name.
    NodeConfigs List<GetTseGatewaysResultGatewayListNodeConfig>
    original node config.
    PublicIpAddresses List<string>
    addresses of public internet.
    Status string
    status of gateway. May return values: Creating, CreateFailed, Running, Modifying, UpdatingSpec, UpdateFailed, Deleting, DeleteFailed, Isolating.
    Tags List<GetTseGatewaysResultGatewayListTag>
    tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
    TradeType double
    trade type. 0: postpaid, 1: Prepaid.
    Type string
    gateway type.
    VpcConfigs List<GetTseGatewaysResultGatewayListVpcConfig>
    vpc information.
    AutoRenewFlag float64
    auto renew flag, 0: default status, 1: auto renew, 2: auto not renew.
    CreateTime string
    create time.
    CurDeadline 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.
    EnableCls bool
    whether to enable CLS log.
    EnableInternet bool
    whether to open the public network of client.Note: This field may return null, indicating that a valid value is not available.
    EngineRegion string
    engine region of gateway.
    FeatureVersion string
    product version. TRIAL, STANDARD(default value), PROFESSIONAL.
    GatewayId string
    gateway ID.
    GatewayMinorVersion string
    minor version of gateway.
    GatewayVersion string
    gateway version. Reference value: 2.4.1, 2.5.1.
    IngressClassName string
    ingress class name.
    InstancePorts []GetTseGatewaysResultGatewayListInstancePort
    the port information that the instance monitors.
    InternetMaxBandwidthOut float64
    public network outbound traffic bandwidth.
    InternetPayMode string
    trade type of internet. BANDWIDTH, TRAFFIC.
    IsolateTime string
    isolation time, used when the gateway is isolated.
    LoadBalancerType string
    load balance type of public internet.
    Name string
    gateway name.
    NodeConfigs []GetTseGatewaysResultGatewayListNodeConfig
    original node config.
    PublicIpAddresses []string
    addresses of public internet.
    Status string
    status of gateway. May return values: Creating, CreateFailed, Running, Modifying, UpdatingSpec, UpdateFailed, Deleting, DeleteFailed, Isolating.
    Tags []GetTseGatewaysResultGatewayListTag
    tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
    TradeType float64
    trade type. 0: postpaid, 1: Prepaid.
    Type string
    gateway type.
    VpcConfigs []GetTseGatewaysResultGatewayListVpcConfig
    vpc information.
    autoRenewFlag Double
    auto renew flag, 0: default status, 1: auto renew, 2: auto not renew.
    createTime String
    create time.
    curDeadline 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.
    enableCls Boolean
    whether to enable CLS log.
    enableInternet Boolean
    whether to open the public network of client.Note: This field may return null, indicating that a valid value is not available.
    engineRegion String
    engine region of gateway.
    featureVersion String
    product version. TRIAL, STANDARD(default value), PROFESSIONAL.
    gatewayId String
    gateway ID.
    gatewayMinorVersion String
    minor version of gateway.
    gatewayVersion String
    gateway version. Reference value: 2.4.1, 2.5.1.
    ingressClassName String
    ingress class name.
    instancePorts List<GetTseGatewaysResultGatewayListInstancePort>
    the port information that the instance monitors.
    internetMaxBandwidthOut Double
    public network outbound traffic bandwidth.
    internetPayMode String
    trade type of internet. BANDWIDTH, TRAFFIC.
    isolateTime String
    isolation time, used when the gateway is isolated.
    loadBalancerType String
    load balance type of public internet.
    name String
    gateway name.
    nodeConfigs List<GetTseGatewaysResultGatewayListNodeConfig>
    original node config.
    publicIpAddresses List<String>
    addresses of public internet.
    status String
    status of gateway. May return values: Creating, CreateFailed, Running, Modifying, UpdatingSpec, UpdateFailed, Deleting, DeleteFailed, Isolating.
    tags List<GetTseGatewaysResultGatewayListTag>
    tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
    tradeType Double
    trade type. 0: postpaid, 1: Prepaid.
    type String
    gateway type.
    vpcConfigs List<GetTseGatewaysResultGatewayListVpcConfig>
    vpc information.
    autoRenewFlag number
    auto renew flag, 0: default status, 1: auto renew, 2: auto not renew.
    createTime string
    create time.
    curDeadline 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.
    enableCls boolean
    whether to enable CLS log.
    enableInternet boolean
    whether to open the public network of client.Note: This field may return null, indicating that a valid value is not available.
    engineRegion string
    engine region of gateway.
    featureVersion string
    product version. TRIAL, STANDARD(default value), PROFESSIONAL.
    gatewayId string
    gateway ID.
    gatewayMinorVersion string
    minor version of gateway.
    gatewayVersion string
    gateway version. Reference value: 2.4.1, 2.5.1.
    ingressClassName string
    ingress class name.
    instancePorts GetTseGatewaysResultGatewayListInstancePort[]
    the port information that the instance monitors.
    internetMaxBandwidthOut number
    public network outbound traffic bandwidth.
    internetPayMode string
    trade type of internet. BANDWIDTH, TRAFFIC.
    isolateTime string
    isolation time, used when the gateway is isolated.
    loadBalancerType string
    load balance type of public internet.
    name string
    gateway name.
    nodeConfigs GetTseGatewaysResultGatewayListNodeConfig[]
    original node config.
    publicIpAddresses string[]
    addresses of public internet.
    status string
    status of gateway. May return values: Creating, CreateFailed, Running, Modifying, UpdatingSpec, UpdateFailed, Deleting, DeleteFailed, Isolating.
    tags GetTseGatewaysResultGatewayListTag[]
    tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
    tradeType number
    trade type. 0: postpaid, 1: Prepaid.
    type string
    gateway type.
    vpcConfigs GetTseGatewaysResultGatewayListVpcConfig[]
    vpc information.
    auto_renew_flag float
    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_version str
    minor version of gateway.
    gateway_version str
    gateway version. Reference value: 2.4.1, 2.5.1.
    ingress_class_name str
    ingress class name.
    instance_ports Sequence[GetTseGatewaysResultGatewayListInstancePort]
    the port information that the instance monitors.
    internet_max_bandwidth_out float
    public network outbound traffic bandwidth.
    internet_pay_mode str
    trade type of internet. BANDWIDTH, TRAFFIC.
    isolate_time str
    isolation time, used when the gateway is isolated.
    load_balancer_type str
    load balance type of public internet.
    name str
    gateway name.
    node_configs Sequence[GetTseGatewaysResultGatewayListNodeConfig]
    original node config.
    public_ip_addresses Sequence[str]
    addresses of public internet.
    status str
    status of gateway. May return values: Creating, CreateFailed, Running, Modifying, UpdatingSpec, UpdateFailed, Deleting, DeleteFailed, Isolating.
    tags Sequence[GetTseGatewaysResultGatewayListTag]
    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[GetTseGatewaysResultGatewayListVpcConfig]
    vpc information.
    autoRenewFlag Number
    auto renew flag, 0: default status, 1: auto renew, 2: auto not renew.
    createTime String
    create time.
    curDeadline 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.
    enableCls Boolean
    whether to enable CLS log.
    enableInternet Boolean
    whether to open the public network of client.Note: This field may return null, indicating that a valid value is not available.
    engineRegion String
    engine region of gateway.
    featureVersion String
    product version. TRIAL, STANDARD(default value), PROFESSIONAL.
    gatewayId String
    gateway ID.
    gatewayMinorVersion String
    minor version of gateway.
    gatewayVersion String
    gateway version. Reference value: 2.4.1, 2.5.1.
    ingressClassName String
    ingress class name.
    instancePorts List<Property Map>
    the port information that the instance monitors.
    internetMaxBandwidthOut Number
    public network outbound traffic bandwidth.
    internetPayMode String
    trade type of internet. BANDWIDTH, TRAFFIC.
    isolateTime String
    isolation time, used when the gateway is isolated.
    loadBalancerType String
    load balance type of public internet.
    name String
    gateway name.
    nodeConfigs List<Property Map>
    original node config.
    publicIpAddresses List<String>
    addresses of public internet.
    status String
    status of gateway. May return values: Creating, CreateFailed, Running, Modifying, UpdatingSpec, UpdateFailed, Deleting, DeleteFailed, Isolating.
    tags List<Property Map>
    tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
    tradeType Number
    trade type. 0: postpaid, 1: Prepaid.
    type String
    gateway type.
    vpcConfigs List<Property Map>
    vpc information.

    GetTseGatewaysResultGatewayListInstancePort

    HttpPort string
    http port.
    HttpsPort string
    https port.
    HttpPort string
    http port.
    HttpsPort string
    https port.
    httpPort String
    http port.
    httpsPort String
    https port.
    httpPort string
    http port.
    httpsPort string
    https port.
    http_port str
    http port.
    https_port str
    https port.
    httpPort String
    http port.
    httpsPort String
    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

    TagKey string
    tag key.
    TagValue string
    tag value.
    TagKey string
    tag key.
    TagValue string
    tag value.
    tagKey String
    tag key.
    tagValue String
    tag value.
    tagKey string
    tag key.
    tagValue string
    tag value.
    tag_key str
    tag key.
    tag_value str
    tag value.
    tagKey String
    tag key.
    tagValue String
    tag value.

    GetTseGatewaysResultGatewayListVpcConfig

    SubnetId string
    subnet ID. Assign an IP address to the engine in the VPC subnet.
    VpcId string
    subnet ID. Assign an IP address to the engine in the VPC subnet.
    SubnetId string
    subnet ID. Assign an IP address to the engine in the VPC subnet.
    VpcId string
    subnet ID. Assign an IP address to the engine in the VPC subnet.
    subnetId String
    subnet ID. Assign an IP address to the engine in the VPC subnet.
    vpcId String
    subnet ID. Assign an IP address to the engine in the VPC subnet.
    subnetId string
    subnet ID. Assign an IP address to the engine in the VPC subnet.
    vpcId string
    subnet ID. Assign an IP address to the engine in the VPC subnet.
    subnet_id str
    subnet ID. Assign an IP address to the engine in the VPC subnet.
    vpc_id str
    subnet ID. Assign an IP address to the engine in the VPC subnet.
    subnetId String
    subnet ID. Assign an IP address to the engine in the VPC subnet.
    vpcId String
    subnet ID. Assign an IP address to the engine in the VPC subnet.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack