1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. getTeoMultiPathGatewayRegion
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 available regions of TEO multi-path gateway

    Example Usage

    Query multi-path gateway available regions by zone_id

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getTeoMultiPathGatewayRegion({
        zoneId: "zone-2noqxz9b6klw",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_teo_multi_path_gateway_region(zone_id="zone-2noqxz9b6klw")
    
    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.GetTeoMultiPathGatewayRegion(ctx, &tencentcloud.GetTeoMultiPathGatewayRegionArgs{
    			ZoneId: "zone-2noqxz9b6klw",
    		}, 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.GetTeoMultiPathGatewayRegion.Invoke(new()
        {
            ZoneId = "zone-2noqxz9b6klw",
        });
    
    });
    
    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.GetTeoMultiPathGatewayRegionArgs;
    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.getTeoMultiPathGatewayRegion(GetTeoMultiPathGatewayRegionArgs.builder()
                .zoneId("zone-2noqxz9b6klw")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getTeoMultiPathGatewayRegion
          arguments:
            zoneId: zone-2noqxz9b6klw
    
    Example coming soon!
    

    Using getTeoMultiPathGatewayRegion

    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 getTeoMultiPathGatewayRegion(args: GetTeoMultiPathGatewayRegionArgs, opts?: InvokeOptions): Promise<GetTeoMultiPathGatewayRegionResult>
    function getTeoMultiPathGatewayRegionOutput(args: GetTeoMultiPathGatewayRegionOutputArgs, opts?: InvokeOptions): Output<GetTeoMultiPathGatewayRegionResult>
    def get_teo_multi_path_gateway_region(id: Optional[str] = None,
                                          result_output_file: Optional[str] = None,
                                          zone_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetTeoMultiPathGatewayRegionResult
    def get_teo_multi_path_gateway_region_output(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[GetTeoMultiPathGatewayRegionResult]
    func GetTeoMultiPathGatewayRegion(ctx *Context, args *GetTeoMultiPathGatewayRegionArgs, opts ...InvokeOption) (*GetTeoMultiPathGatewayRegionResult, error)
    func GetTeoMultiPathGatewayRegionOutput(ctx *Context, args *GetTeoMultiPathGatewayRegionOutputArgs, opts ...InvokeOption) GetTeoMultiPathGatewayRegionResultOutput

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

    public static class GetTeoMultiPathGatewayRegion 
    {
        public static Task<GetTeoMultiPathGatewayRegionResult> InvokeAsync(GetTeoMultiPathGatewayRegionArgs args, InvokeOptions? opts = null)
        public static Output<GetTeoMultiPathGatewayRegionResult> Invoke(GetTeoMultiPathGatewayRegionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTeoMultiPathGatewayRegionResult> getTeoMultiPathGatewayRegion(GetTeoMultiPathGatewayRegionArgs args, InvokeOptions options)
    public static Output<GetTeoMultiPathGatewayRegionResult> getTeoMultiPathGatewayRegion(GetTeoMultiPathGatewayRegionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getTeoMultiPathGatewayRegion:getTeoMultiPathGatewayRegion
      arguments:
        # arguments dictionary
    data "tencentcloud_getteomultipathgatewayregion" "name" {
        # arguments
    }

    The following arguments are supported:

    ZoneId string
    Site ID.
    Id string
    ResultOutputFile string
    Used to save results.
    ZoneId string
    Site ID.
    Id string
    ResultOutputFile string
    Used to save results.
    zone_id string
    Site ID.
    id string
    result_output_file string
    Used to save results.
    zoneId String
    Site ID.
    id String
    resultOutputFile String
    Used to save results.
    zoneId string
    Site ID.
    id string
    resultOutputFile string
    Used to save results.
    zone_id str
    Site ID.
    id str
    result_output_file str
    Used to save results.
    zoneId String
    Site ID.
    id String
    resultOutputFile String
    Used to save results.

    getTeoMultiPathGatewayRegion Result

    The following output properties are available:

    GatewayRegions []GetTeoMultiPathGatewayRegionGatewayRegion
    List of available gateway regions.
    Id string
    ZoneId string
    ResultOutputFile string
    gateway_regions list(object)
    List of available gateway regions.
    id string
    zone_id string
    result_output_file string
    gatewayRegions GetTeoMultiPathGatewayRegionGatewayRegion[]
    List of available gateway regions.
    id string
    zoneId string
    resultOutputFile string
    gatewayRegions List<Property Map>
    List of available gateway regions.
    id String
    zoneId String
    resultOutputFile String

    Supporting Types

    GetTeoMultiPathGatewayRegionGatewayRegion

    CnName string
    Chinese name of the region.
    EnName string
    English name of the region.
    RegionId string
    Region ID.
    CnName string
    Chinese name of the region.
    EnName string
    English name of the region.
    RegionId string
    Region ID.
    cn_name string
    Chinese name of the region.
    en_name string
    English name of the region.
    region_id string
    Region ID.
    cnName String
    Chinese name of the region.
    enName String
    English name of the region.
    regionId String
    Region ID.
    cnName string
    Chinese name of the region.
    enName string
    English name of the region.
    regionId string
    Region ID.
    cn_name str
    Chinese name of the region.
    en_name str
    English name of the region.
    region_id str
    Region ID.
    cnName String
    Chinese name of the region.
    enName String
    English name of the region.
    regionId String
    Region ID.

    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.