1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. getTeoMultiPathGateways
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack

    Use this data source to query detailed information of TEO multi path gateways

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getTeoMultiPathGateways({
        zoneId: "zone-2o1xvpmq7nn",
        filters: [{
            name: "gateway-type",
            values: ["cloud"],
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_teo_multi_path_gateways(zone_id="zone-2o1xvpmq7nn",
        filters=[{
            "name": "gateway-type",
            "values": ["cloud"],
        }])
    
    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.GetTeoMultiPathGateways(ctx, &tencentcloud.GetTeoMultiPathGatewaysArgs{
    			ZoneId: "zone-2o1xvpmq7nn",
    			Filters: []tencentcloud.GetTeoMultiPathGatewaysFilter{
    				{
    					Name: "gateway-type",
    					Values: []string{
    						"cloud",
    					},
    				},
    			},
    		}, 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 example = Tencentcloud.GetTeoMultiPathGateways.Invoke(new()
        {
            ZoneId = "zone-2o1xvpmq7nn",
            Filters = new[]
            {
                new Tencentcloud.Inputs.GetTeoMultiPathGatewaysFilterInputArgs
                {
                    Name = "gateway-type",
                    Values = new[]
                    {
                        "cloud",
                    },
                },
            },
        });
    
    });
    
    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.GetTeoMultiPathGatewaysArgs;
    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 example = TencentcloudFunctions.getTeoMultiPathGateways(GetTeoMultiPathGatewaysArgs.builder()
                .zoneId("zone-2o1xvpmq7nn")
                .filters(GetTeoMultiPathGatewaysFilterArgs.builder()
                    .name("gateway-type")
                    .values("cloud")
                    .build())
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getTeoMultiPathGateways
          arguments:
            zoneId: zone-2o1xvpmq7nn
            filters:
              - name: gateway-type
                values:
                  - cloud
    
    Example coming soon!
    

    Using getTeoMultiPathGateways

    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 getTeoMultiPathGateways(args: GetTeoMultiPathGatewaysArgs, opts?: InvokeOptions): Promise<GetTeoMultiPathGatewaysResult>
    function getTeoMultiPathGatewaysOutput(args: GetTeoMultiPathGatewaysOutputArgs, opts?: InvokeOptions): Output<GetTeoMultiPathGatewaysResult>
    def get_teo_multi_path_gateways(filters: Optional[Sequence[GetTeoMultiPathGatewaysFilter]] = None,
                                    id: Optional[str] = None,
                                    result_output_file: Optional[str] = None,
                                    zone_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetTeoMultiPathGatewaysResult
    def get_teo_multi_path_gateways_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetTeoMultiPathGatewaysFilterArgs]]]] = None,
                                    id: pulumi.Input[Optional[str]] = None,
                                    result_output_file: pulumi.Input[Optional[str]] = None,
                                    zone_id: pulumi.Input[Optional[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetTeoMultiPathGatewaysResult]
    func GetTeoMultiPathGateways(ctx *Context, args *GetTeoMultiPathGatewaysArgs, opts ...InvokeOption) (*GetTeoMultiPathGatewaysResult, error)
    func GetTeoMultiPathGatewaysOutput(ctx *Context, args *GetTeoMultiPathGatewaysOutputArgs, opts ...InvokeOption) GetTeoMultiPathGatewaysResultOutput

    > Note: This function is named GetTeoMultiPathGateways in the Go SDK.

    public static class GetTeoMultiPathGateways 
    {
        public static Task<GetTeoMultiPathGatewaysResult> InvokeAsync(GetTeoMultiPathGatewaysArgs args, InvokeOptions? opts = null)
        public static Output<GetTeoMultiPathGatewaysResult> Invoke(GetTeoMultiPathGatewaysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTeoMultiPathGatewaysResult> getTeoMultiPathGateways(GetTeoMultiPathGatewaysArgs args, InvokeOptions options)
    public static Output<GetTeoMultiPathGatewaysResult> getTeoMultiPathGateways(GetTeoMultiPathGatewaysArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getTeoMultiPathGateways:getTeoMultiPathGateways
      arguments:
        # arguments dictionary
    data "tencentcloud_getteomultipathgateways" "name" {
        # arguments
    }

    The following arguments are supported:

    ZoneId string
    Site ID.
    Filters List<GetTeoMultiPathGatewaysFilter>
    Filter conditions. The maximum value of Filters.Values is 20. If this parameter is not filled in, all gateway information under the current appid will be returned. Detailed filter conditions are as follows: gateway-type: filter by gateway type, supporting values cloud and private, representing filtering cloud gateways and private gateways respectively; keyword: filter by gateway name keyword.
    Id string
    ResultOutputFile string
    Used to save results.
    ZoneId string
    Site ID.
    Filters []GetTeoMultiPathGatewaysFilter
    Filter conditions. The maximum value of Filters.Values is 20. If this parameter is not filled in, all gateway information under the current appid will be returned. Detailed filter conditions are as follows: gateway-type: filter by gateway type, supporting values cloud and private, representing filtering cloud gateways and private gateways respectively; keyword: filter by gateway name keyword.
    Id string
    ResultOutputFile string
    Used to save results.
    zone_id string
    Site ID.
    filters list(object)
    Filter conditions. The maximum value of Filters.Values is 20. If this parameter is not filled in, all gateway information under the current appid will be returned. Detailed filter conditions are as follows: gateway-type: filter by gateway type, supporting values cloud and private, representing filtering cloud gateways and private gateways respectively; keyword: filter by gateway name keyword.
    id string
    result_output_file string
    Used to save results.
    zoneId String
    Site ID.
    filters List<GetTeoMultiPathGatewaysFilter>
    Filter conditions. The maximum value of Filters.Values is 20. If this parameter is not filled in, all gateway information under the current appid will be returned. Detailed filter conditions are as follows: gateway-type: filter by gateway type, supporting values cloud and private, representing filtering cloud gateways and private gateways respectively; keyword: filter by gateway name keyword.
    id String
    resultOutputFile String
    Used to save results.
    zoneId string
    Site ID.
    filters GetTeoMultiPathGatewaysFilter[]
    Filter conditions. The maximum value of Filters.Values is 20. If this parameter is not filled in, all gateway information under the current appid will be returned. Detailed filter conditions are as follows: gateway-type: filter by gateway type, supporting values cloud and private, representing filtering cloud gateways and private gateways respectively; keyword: filter by gateway name keyword.
    id string
    resultOutputFile string
    Used to save results.
    zone_id str
    Site ID.
    filters Sequence[GetTeoMultiPathGatewaysFilter]
    Filter conditions. The maximum value of Filters.Values is 20. If this parameter is not filled in, all gateway information under the current appid will be returned. Detailed filter conditions are as follows: gateway-type: filter by gateway type, supporting values cloud and private, representing filtering cloud gateways and private gateways respectively; keyword: filter by gateway name keyword.
    id str
    result_output_file str
    Used to save results.
    zoneId String
    Site ID.
    filters List<Property Map>
    Filter conditions. The maximum value of Filters.Values is 20. If this parameter is not filled in, all gateway information under the current appid will be returned. Detailed filter conditions are as follows: gateway-type: filter by gateway type, supporting values cloud and private, representing filtering cloud gateways and private gateways respectively; keyword: filter by gateway name keyword.
    id String
    resultOutputFile String
    Used to save results.

    getTeoMultiPathGateways Result

    The following output properties are available:

    Supporting Types

    GetTeoMultiPathGatewaysFilter

    Name string
    Filter field name.
    Values List<string>
    Filter field values.
    Name string
    Filter field name.
    Values []string
    Filter field values.
    name string
    Filter field name.
    values list(string)
    Filter field values.
    name String
    Filter field name.
    values List<String>
    Filter field values.
    name string
    Filter field name.
    values string[]
    Filter field values.
    name str
    Filter field name.
    values Sequence[str]
    Filter field values.
    name String
    Filter field name.
    values List<String>
    Filter field values.

    GetTeoMultiPathGatewaysGateway

    GatewayId string
    Gateway ID.
    GatewayIp string
    Gateway IP, in IPv4 format.
    GatewayName string
    Gateway name.
    GatewayPort double
    Gateway port, range 1-65535 (excluding 8888).
    GatewayType string
    Gateway type. Valid values: cloud (cloud gateway managed by Tencent Cloud), private (private gateway deployed by user).
    Lines List<GetTeoMultiPathGatewaysGatewayLine>
    Line information. Returned when querying gateway details via DescribeMultiPathGateway, not returned when querying gateway list via DescribeMultiPathGateways.
    NeedConfirm string
    Whether the gateway origin IP list has changed and needs re-confirmation. true: origin IP list changed, needs confirmation; false: origin IP list unchanged, no confirmation needed.
    RegionId string
    Gateway region ID, can be obtained from DescribeMultiPathGatewayRegions API.
    Status string
    Gateway status. Valid values: creating, online, offline, disable.
    GatewayId string
    Gateway ID.
    GatewayIp string
    Gateway IP, in IPv4 format.
    GatewayName string
    Gateway name.
    GatewayPort float64
    Gateway port, range 1-65535 (excluding 8888).
    GatewayType string
    Gateway type. Valid values: cloud (cloud gateway managed by Tencent Cloud), private (private gateway deployed by user).
    Lines []GetTeoMultiPathGatewaysGatewayLine
    Line information. Returned when querying gateway details via DescribeMultiPathGateway, not returned when querying gateway list via DescribeMultiPathGateways.
    NeedConfirm string
    Whether the gateway origin IP list has changed and needs re-confirmation. true: origin IP list changed, needs confirmation; false: origin IP list unchanged, no confirmation needed.
    RegionId string
    Gateway region ID, can be obtained from DescribeMultiPathGatewayRegions API.
    Status string
    Gateway status. Valid values: creating, online, offline, disable.
    gateway_id string
    Gateway ID.
    gateway_ip string
    Gateway IP, in IPv4 format.
    gateway_name string
    Gateway name.
    gateway_port number
    Gateway port, range 1-65535 (excluding 8888).
    gateway_type string
    Gateway type. Valid values: cloud (cloud gateway managed by Tencent Cloud), private (private gateway deployed by user).
    lines list(object)
    Line information. Returned when querying gateway details via DescribeMultiPathGateway, not returned when querying gateway list via DescribeMultiPathGateways.
    need_confirm string
    Whether the gateway origin IP list has changed and needs re-confirmation. true: origin IP list changed, needs confirmation; false: origin IP list unchanged, no confirmation needed.
    region_id string
    Gateway region ID, can be obtained from DescribeMultiPathGatewayRegions API.
    status string
    Gateway status. Valid values: creating, online, offline, disable.
    gatewayId String
    Gateway ID.
    gatewayIp String
    Gateway IP, in IPv4 format.
    gatewayName String
    Gateway name.
    gatewayPort Double
    Gateway port, range 1-65535 (excluding 8888).
    gatewayType String
    Gateway type. Valid values: cloud (cloud gateway managed by Tencent Cloud), private (private gateway deployed by user).
    lines List<GetTeoMultiPathGatewaysGatewayLine>
    Line information. Returned when querying gateway details via DescribeMultiPathGateway, not returned when querying gateway list via DescribeMultiPathGateways.
    needConfirm String
    Whether the gateway origin IP list has changed and needs re-confirmation. true: origin IP list changed, needs confirmation; false: origin IP list unchanged, no confirmation needed.
    regionId String
    Gateway region ID, can be obtained from DescribeMultiPathGatewayRegions API.
    status String
    Gateway status. Valid values: creating, online, offline, disable.
    gatewayId string
    Gateway ID.
    gatewayIp string
    Gateway IP, in IPv4 format.
    gatewayName string
    Gateway name.
    gatewayPort number
    Gateway port, range 1-65535 (excluding 8888).
    gatewayType string
    Gateway type. Valid values: cloud (cloud gateway managed by Tencent Cloud), private (private gateway deployed by user).
    lines GetTeoMultiPathGatewaysGatewayLine[]
    Line information. Returned when querying gateway details via DescribeMultiPathGateway, not returned when querying gateway list via DescribeMultiPathGateways.
    needConfirm string
    Whether the gateway origin IP list has changed and needs re-confirmation. true: origin IP list changed, needs confirmation; false: origin IP list unchanged, no confirmation needed.
    regionId string
    Gateway region ID, can be obtained from DescribeMultiPathGatewayRegions API.
    status string
    Gateway status. Valid values: creating, online, offline, disable.
    gateway_id str
    Gateway ID.
    gateway_ip str
    Gateway IP, in IPv4 format.
    gateway_name str
    Gateway name.
    gateway_port float
    Gateway port, range 1-65535 (excluding 8888).
    gateway_type str
    Gateway type. Valid values: cloud (cloud gateway managed by Tencent Cloud), private (private gateway deployed by user).
    lines Sequence[GetTeoMultiPathGatewaysGatewayLine]
    Line information. Returned when querying gateway details via DescribeMultiPathGateway, not returned when querying gateway list via DescribeMultiPathGateways.
    need_confirm str
    Whether the gateway origin IP list has changed and needs re-confirmation. true: origin IP list changed, needs confirmation; false: origin IP list unchanged, no confirmation needed.
    region_id str
    Gateway region ID, can be obtained from DescribeMultiPathGatewayRegions API.
    status str
    Gateway status. Valid values: creating, online, offline, disable.
    gatewayId String
    Gateway ID.
    gatewayIp String
    Gateway IP, in IPv4 format.
    gatewayName String
    Gateway name.
    gatewayPort Number
    Gateway port, range 1-65535 (excluding 8888).
    gatewayType String
    Gateway type. Valid values: cloud (cloud gateway managed by Tencent Cloud), private (private gateway deployed by user).
    lines List<Property Map>
    Line information. Returned when querying gateway details via DescribeMultiPathGateway, not returned when querying gateway list via DescribeMultiPathGateways.
    needConfirm String
    Whether the gateway origin IP list has changed and needs re-confirmation. true: origin IP list changed, needs confirmation; false: origin IP list unchanged, no confirmation needed.
    regionId String
    Gateway region ID, can be obtained from DescribeMultiPathGatewayRegions API.
    status String
    Gateway status. Valid values: creating, online, offline, disable.

    GetTeoMultiPathGatewaysGatewayLine

    LineAddress string
    Line address, in host:port format.
    LineId string
    Line ID. line-0 and line-1 are built-in line IDs. line-0: direct line, does not support add/edit/delete; line-1: EdgeOne L4 proxy line, supports modifying instances and rules, does not support delete; line-2 and above: EdgeOne L4 proxy line or custom line, supports modify/delete instances and rules.
    LineType string
    Line type. Valid values: direct (direct line, does not support edit/delete), proxy (EdgeOne L4 proxy line, supports editing instances and rules, does not support delete), custom (custom line, supports edit and delete).
    ProxyId string
    L4 proxy instance ID, returned when LineType is proxy (EdgeOne L4 proxy).
    RuleId string
    Forwarding rule ID, returned when LineType is proxy (EdgeOne L4 proxy).
    LineAddress string
    Line address, in host:port format.
    LineId string
    Line ID. line-0 and line-1 are built-in line IDs. line-0: direct line, does not support add/edit/delete; line-1: EdgeOne L4 proxy line, supports modifying instances and rules, does not support delete; line-2 and above: EdgeOne L4 proxy line or custom line, supports modify/delete instances and rules.
    LineType string
    Line type. Valid values: direct (direct line, does not support edit/delete), proxy (EdgeOne L4 proxy line, supports editing instances and rules, does not support delete), custom (custom line, supports edit and delete).
    ProxyId string
    L4 proxy instance ID, returned when LineType is proxy (EdgeOne L4 proxy).
    RuleId string
    Forwarding rule ID, returned when LineType is proxy (EdgeOne L4 proxy).
    line_address string
    Line address, in host:port format.
    line_id string
    Line ID. line-0 and line-1 are built-in line IDs. line-0: direct line, does not support add/edit/delete; line-1: EdgeOne L4 proxy line, supports modifying instances and rules, does not support delete; line-2 and above: EdgeOne L4 proxy line or custom line, supports modify/delete instances and rules.
    line_type string
    Line type. Valid values: direct (direct line, does not support edit/delete), proxy (EdgeOne L4 proxy line, supports editing instances and rules, does not support delete), custom (custom line, supports edit and delete).
    proxy_id string
    L4 proxy instance ID, returned when LineType is proxy (EdgeOne L4 proxy).
    rule_id string
    Forwarding rule ID, returned when LineType is proxy (EdgeOne L4 proxy).
    lineAddress String
    Line address, in host:port format.
    lineId String
    Line ID. line-0 and line-1 are built-in line IDs. line-0: direct line, does not support add/edit/delete; line-1: EdgeOne L4 proxy line, supports modifying instances and rules, does not support delete; line-2 and above: EdgeOne L4 proxy line or custom line, supports modify/delete instances and rules.
    lineType String
    Line type. Valid values: direct (direct line, does not support edit/delete), proxy (EdgeOne L4 proxy line, supports editing instances and rules, does not support delete), custom (custom line, supports edit and delete).
    proxyId String
    L4 proxy instance ID, returned when LineType is proxy (EdgeOne L4 proxy).
    ruleId String
    Forwarding rule ID, returned when LineType is proxy (EdgeOne L4 proxy).
    lineAddress string
    Line address, in host:port format.
    lineId string
    Line ID. line-0 and line-1 are built-in line IDs. line-0: direct line, does not support add/edit/delete; line-1: EdgeOne L4 proxy line, supports modifying instances and rules, does not support delete; line-2 and above: EdgeOne L4 proxy line or custom line, supports modify/delete instances and rules.
    lineType string
    Line type. Valid values: direct (direct line, does not support edit/delete), proxy (EdgeOne L4 proxy line, supports editing instances and rules, does not support delete), custom (custom line, supports edit and delete).
    proxyId string
    L4 proxy instance ID, returned when LineType is proxy (EdgeOne L4 proxy).
    ruleId string
    Forwarding rule ID, returned when LineType is proxy (EdgeOne L4 proxy).
    line_address str
    Line address, in host:port format.
    line_id str
    Line ID. line-0 and line-1 are built-in line IDs. line-0: direct line, does not support add/edit/delete; line-1: EdgeOne L4 proxy line, supports modifying instances and rules, does not support delete; line-2 and above: EdgeOne L4 proxy line or custom line, supports modify/delete instances and rules.
    line_type str
    Line type. Valid values: direct (direct line, does not support edit/delete), proxy (EdgeOne L4 proxy line, supports editing instances and rules, does not support delete), custom (custom line, supports edit and delete).
    proxy_id str
    L4 proxy instance ID, returned when LineType is proxy (EdgeOne L4 proxy).
    rule_id str
    Forwarding rule ID, returned when LineType is proxy (EdgeOne L4 proxy).
    lineAddress String
    Line address, in host:port format.
    lineId String
    Line ID. line-0 and line-1 are built-in line IDs. line-0: direct line, does not support add/edit/delete; line-1: EdgeOne L4 proxy line, supports modifying instances and rules, does not support delete; line-2 and above: EdgeOne L4 proxy line or custom line, supports modify/delete instances and rules.
    lineType String
    Line type. Valid values: direct (direct line, does not support edit/delete), proxy (EdgeOne L4 proxy line, supports editing instances and rules, does not support delete), custom (custom line, supports edit and delete).
    proxyId String
    L4 proxy instance ID, returned when LineType is proxy (EdgeOne L4 proxy).
    ruleId String
    Forwarding rule ID, returned when LineType is proxy (EdgeOne L4 proxy).

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.82.93
    published on Monday, May 11, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.