1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. TeoMultiPathGateway
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

    Provides a resource to create a teo multi path gateway for EdgeOne(TEO).

    Example Usage

    Cloud type gateway

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const cloud = new tencentcloud.TeoMultiPathGateway("cloud", {
        zoneId: "zone-359h792djt7h",
        gatewayType: "cloud",
        gatewayName: "test-cloud-gw",
        regionId: "ap-guangzhou",
        status: "online",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    cloud = tencentcloud.TeoMultiPathGateway("cloud",
        zone_id="zone-359h792djt7h",
        gateway_type="cloud",
        gateway_name="test-cloud-gw",
        region_id="ap-guangzhou",
        status="online")
    
    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.NewTeoMultiPathGateway(ctx, "cloud", &tencentcloud.TeoMultiPathGatewayArgs{
    			ZoneId:      pulumi.String("zone-359h792djt7h"),
    			GatewayType: pulumi.String("cloud"),
    			GatewayName: pulumi.String("test-cloud-gw"),
    			RegionId:    pulumi.String("ap-guangzhou"),
    			Status:      pulumi.String("online"),
    		})
    		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 cloud = new Tencentcloud.TeoMultiPathGateway("cloud", new()
        {
            ZoneId = "zone-359h792djt7h",
            GatewayType = "cloud",
            GatewayName = "test-cloud-gw",
            RegionId = "ap-guangzhou",
            Status = "online",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TeoMultiPathGateway;
    import com.pulumi.tencentcloud.TeoMultiPathGatewayArgs;
    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) {
            var cloud = new TeoMultiPathGateway("cloud", TeoMultiPathGatewayArgs.builder()
                .zoneId("zone-359h792djt7h")
                .gatewayType("cloud")
                .gatewayName("test-cloud-gw")
                .regionId("ap-guangzhou")
                .status("online")
                .build());
    
        }
    }
    
    resources:
      cloud:
        type: tencentcloud:TeoMultiPathGateway
        properties:
          zoneId: zone-359h792djt7h
          gatewayType: cloud
          gatewayName: test-cloud-gw
          regionId: ap-guangzhou
          status: online
    
    Example coming soon!
    

    Private type gateway

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const _private = new tencentcloud.TeoMultiPathGateway("private", {
        zoneId: "zone-359h792djt7h",
        gatewayType: "private",
        gatewayName: "test-private-gw",
        gatewayIp: "1.2.3.4",
        gatewayPort: 8080,
        status: "online",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    private = tencentcloud.TeoMultiPathGateway("private",
        zone_id="zone-359h792djt7h",
        gateway_type="private",
        gateway_name="test-private-gw",
        gateway_ip="1.2.3.4",
        gateway_port=8080,
        status="online")
    
    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.NewTeoMultiPathGateway(ctx, "private", &tencentcloud.TeoMultiPathGatewayArgs{
    			ZoneId:      pulumi.String("zone-359h792djt7h"),
    			GatewayType: pulumi.String("private"),
    			GatewayName: pulumi.String("test-private-gw"),
    			GatewayIp:   pulumi.String("1.2.3.4"),
    			GatewayPort: pulumi.Float64(8080),
    			Status:      pulumi.String("online"),
    		})
    		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 @private = new Tencentcloud.TeoMultiPathGateway("private", new()
        {
            ZoneId = "zone-359h792djt7h",
            GatewayType = "private",
            GatewayName = "test-private-gw",
            GatewayIp = "1.2.3.4",
            GatewayPort = 8080,
            Status = "online",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TeoMultiPathGateway;
    import com.pulumi.tencentcloud.TeoMultiPathGatewayArgs;
    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) {
            var private_ = new TeoMultiPathGateway("private", TeoMultiPathGatewayArgs.builder()
                .zoneId("zone-359h792djt7h")
                .gatewayType("private")
                .gatewayName("test-private-gw")
                .gatewayIp("1.2.3.4")
                .gatewayPort(8080.0)
                .status("online")
                .build());
    
        }
    }
    
    resources:
      private:
        type: tencentcloud:TeoMultiPathGateway
        properties:
          zoneId: zone-359h792djt7h
          gatewayType: private
          gatewayName: test-private-gw
          gatewayIp: 1.2.3.4
          gatewayPort: 8080
          status: online
    
    Example coming soon!
    

    Create TeoMultiPathGateway Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TeoMultiPathGateway(name: string, args: TeoMultiPathGatewayArgs, opts?: CustomResourceOptions);
    @overload
    def TeoMultiPathGateway(resource_name: str,
                            args: TeoMultiPathGatewayArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeoMultiPathGateway(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            gateway_name: Optional[str] = None,
                            gateway_type: Optional[str] = None,
                            zone_id: Optional[str] = None,
                            gateway_ip: Optional[str] = None,
                            gateway_port: Optional[float] = None,
                            region_id: Optional[str] = None,
                            status: Optional[str] = None,
                            teo_multi_path_gateway_id: Optional[str] = None,
                            timeouts: Optional[TeoMultiPathGatewayTimeoutsArgs] = None)
    func NewTeoMultiPathGateway(ctx *Context, name string, args TeoMultiPathGatewayArgs, opts ...ResourceOption) (*TeoMultiPathGateway, error)
    public TeoMultiPathGateway(string name, TeoMultiPathGatewayArgs args, CustomResourceOptions? opts = null)
    public TeoMultiPathGateway(String name, TeoMultiPathGatewayArgs args)
    public TeoMultiPathGateway(String name, TeoMultiPathGatewayArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TeoMultiPathGateway
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_teomultipathgateway" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TeoMultiPathGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TeoMultiPathGatewayArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TeoMultiPathGatewayArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeoMultiPathGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeoMultiPathGatewayArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TeoMultiPathGateway Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TeoMultiPathGateway resource accepts the following input properties:

    GatewayName string
    Gateway name, up to 16 characters.
    GatewayType string
    Gateway type. Valid values: cloud, private.
    ZoneId string
    Site ID.
    GatewayIp string
    Gateway IP address, required when GatewayType is private.
    GatewayPort double
    Gateway port, range 1-65535 (excluding 8888).
    RegionId string
    Gateway region, required when GatewayType is cloud.
    Status string
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    TeoMultiPathGatewayId string
    ID of the resource.
    Timeouts TeoMultiPathGatewayTimeouts
    GatewayName string
    Gateway name, up to 16 characters.
    GatewayType string
    Gateway type. Valid values: cloud, private.
    ZoneId string
    Site ID.
    GatewayIp string
    Gateway IP address, required when GatewayType is private.
    GatewayPort float64
    Gateway port, range 1-65535 (excluding 8888).
    RegionId string
    Gateway region, required when GatewayType is cloud.
    Status string
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    TeoMultiPathGatewayId string
    ID of the resource.
    Timeouts TeoMultiPathGatewayTimeoutsArgs
    gateway_name string
    Gateway name, up to 16 characters.
    gateway_type string
    Gateway type. Valid values: cloud, private.
    zone_id string
    Site ID.
    gateway_ip string
    Gateway IP address, required when GatewayType is private.
    gateway_port number
    Gateway port, range 1-65535 (excluding 8888).
    region_id string
    Gateway region, required when GatewayType is cloud.
    status string
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    teo_multi_path_gateway_id string
    ID of the resource.
    timeouts object
    gatewayName String
    Gateway name, up to 16 characters.
    gatewayType String
    Gateway type. Valid values: cloud, private.
    zoneId String
    Site ID.
    gatewayIp String
    Gateway IP address, required when GatewayType is private.
    gatewayPort Double
    Gateway port, range 1-65535 (excluding 8888).
    regionId String
    Gateway region, required when GatewayType is cloud.
    status String
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    teoMultiPathGatewayId String
    ID of the resource.
    timeouts TeoMultiPathGatewayTimeouts
    gatewayName string
    Gateway name, up to 16 characters.
    gatewayType string
    Gateway type. Valid values: cloud, private.
    zoneId string
    Site ID.
    gatewayIp string
    Gateway IP address, required when GatewayType is private.
    gatewayPort number
    Gateway port, range 1-65535 (excluding 8888).
    regionId string
    Gateway region, required when GatewayType is cloud.
    status string
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    teoMultiPathGatewayId string
    ID of the resource.
    timeouts TeoMultiPathGatewayTimeouts
    gateway_name str
    Gateway name, up to 16 characters.
    gateway_type str
    Gateway type. Valid values: cloud, private.
    zone_id str
    Site ID.
    gateway_ip str
    Gateway IP address, required when GatewayType is private.
    gateway_port float
    Gateway port, range 1-65535 (excluding 8888).
    region_id str
    Gateway region, required when GatewayType is cloud.
    status str
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    teo_multi_path_gateway_id str
    ID of the resource.
    timeouts TeoMultiPathGatewayTimeoutsArgs
    gatewayName String
    Gateway name, up to 16 characters.
    gatewayType String
    Gateway type. Valid values: cloud, private.
    zoneId String
    Site ID.
    gatewayIp String
    Gateway IP address, required when GatewayType is private.
    gatewayPort Number
    Gateway port, range 1-65535 (excluding 8888).
    regionId String
    Gateway region, required when GatewayType is cloud.
    status String
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    teoMultiPathGatewayId String
    ID of the resource.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TeoMultiPathGateway resource produces the following output properties:

    GatewayId string
    Gateway ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    NeedConfirm string
    Whether the gateway origin IP list needs reconfirmation.
    GatewayId string
    Gateway ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    NeedConfirm string
    Whether the gateway origin IP list needs reconfirmation.
    gateway_id string
    Gateway ID.
    id string
    The provider-assigned unique ID for this managed resource.
    need_confirm string
    Whether the gateway origin IP list needs reconfirmation.
    gatewayId String
    Gateway ID.
    id String
    The provider-assigned unique ID for this managed resource.
    needConfirm String
    Whether the gateway origin IP list needs reconfirmation.
    gatewayId string
    Gateway ID.
    id string
    The provider-assigned unique ID for this managed resource.
    needConfirm string
    Whether the gateway origin IP list needs reconfirmation.
    gateway_id str
    Gateway ID.
    id str
    The provider-assigned unique ID for this managed resource.
    need_confirm str
    Whether the gateway origin IP list needs reconfirmation.
    gatewayId String
    Gateway ID.
    id String
    The provider-assigned unique ID for this managed resource.
    needConfirm String
    Whether the gateway origin IP list needs reconfirmation.

    Look up Existing TeoMultiPathGateway Resource

    Get an existing TeoMultiPathGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TeoMultiPathGatewayState, opts?: CustomResourceOptions): TeoMultiPathGateway
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            gateway_id: Optional[str] = None,
            gateway_ip: Optional[str] = None,
            gateway_name: Optional[str] = None,
            gateway_port: Optional[float] = None,
            gateway_type: Optional[str] = None,
            need_confirm: Optional[str] = None,
            region_id: Optional[str] = None,
            status: Optional[str] = None,
            teo_multi_path_gateway_id: Optional[str] = None,
            timeouts: Optional[TeoMultiPathGatewayTimeoutsArgs] = None,
            zone_id: Optional[str] = None) -> TeoMultiPathGateway
    func GetTeoMultiPathGateway(ctx *Context, name string, id IDInput, state *TeoMultiPathGatewayState, opts ...ResourceOption) (*TeoMultiPathGateway, error)
    public static TeoMultiPathGateway Get(string name, Input<string> id, TeoMultiPathGatewayState? state, CustomResourceOptions? opts = null)
    public static TeoMultiPathGateway get(String name, Output<String> id, TeoMultiPathGatewayState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TeoMultiPathGateway    get:      id: ${id}
    import {
      to = tencentcloud_teomultipathgateway.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    GatewayId string
    Gateway ID.
    GatewayIp string
    Gateway IP address, required when GatewayType is private.
    GatewayName string
    Gateway name, up to 16 characters.
    GatewayPort double
    Gateway port, range 1-65535 (excluding 8888).
    GatewayType string
    Gateway type. Valid values: cloud, private.
    NeedConfirm string
    Whether the gateway origin IP list needs reconfirmation.
    RegionId string
    Gateway region, required when GatewayType is cloud.
    Status string
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    TeoMultiPathGatewayId string
    ID of the resource.
    Timeouts TeoMultiPathGatewayTimeouts
    ZoneId string
    Site ID.
    GatewayId string
    Gateway ID.
    GatewayIp string
    Gateway IP address, required when GatewayType is private.
    GatewayName string
    Gateway name, up to 16 characters.
    GatewayPort float64
    Gateway port, range 1-65535 (excluding 8888).
    GatewayType string
    Gateway type. Valid values: cloud, private.
    NeedConfirm string
    Whether the gateway origin IP list needs reconfirmation.
    RegionId string
    Gateway region, required when GatewayType is cloud.
    Status string
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    TeoMultiPathGatewayId string
    ID of the resource.
    Timeouts TeoMultiPathGatewayTimeoutsArgs
    ZoneId string
    Site ID.
    gateway_id string
    Gateway ID.
    gateway_ip string
    Gateway IP address, required when GatewayType is private.
    gateway_name string
    Gateway name, up to 16 characters.
    gateway_port number
    Gateway port, range 1-65535 (excluding 8888).
    gateway_type string
    Gateway type. Valid values: cloud, private.
    need_confirm string
    Whether the gateway origin IP list needs reconfirmation.
    region_id string
    Gateway region, required when GatewayType is cloud.
    status string
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    teo_multi_path_gateway_id string
    ID of the resource.
    timeouts object
    zone_id string
    Site ID.
    gatewayId String
    Gateway ID.
    gatewayIp String
    Gateway IP address, required when GatewayType is private.
    gatewayName String
    Gateway name, up to 16 characters.
    gatewayPort Double
    Gateway port, range 1-65535 (excluding 8888).
    gatewayType String
    Gateway type. Valid values: cloud, private.
    needConfirm String
    Whether the gateway origin IP list needs reconfirmation.
    regionId String
    Gateway region, required when GatewayType is cloud.
    status String
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    teoMultiPathGatewayId String
    ID of the resource.
    timeouts TeoMultiPathGatewayTimeouts
    zoneId String
    Site ID.
    gatewayId string
    Gateway ID.
    gatewayIp string
    Gateway IP address, required when GatewayType is private.
    gatewayName string
    Gateway name, up to 16 characters.
    gatewayPort number
    Gateway port, range 1-65535 (excluding 8888).
    gatewayType string
    Gateway type. Valid values: cloud, private.
    needConfirm string
    Whether the gateway origin IP list needs reconfirmation.
    regionId string
    Gateway region, required when GatewayType is cloud.
    status string
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    teoMultiPathGatewayId string
    ID of the resource.
    timeouts TeoMultiPathGatewayTimeouts
    zoneId string
    Site ID.
    gateway_id str
    Gateway ID.
    gateway_ip str
    Gateway IP address, required when GatewayType is private.
    gateway_name str
    Gateway name, up to 16 characters.
    gateway_port float
    Gateway port, range 1-65535 (excluding 8888).
    gateway_type str
    Gateway type. Valid values: cloud, private.
    need_confirm str
    Whether the gateway origin IP list needs reconfirmation.
    region_id str
    Gateway region, required when GatewayType is cloud.
    status str
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    teo_multi_path_gateway_id str
    ID of the resource.
    timeouts TeoMultiPathGatewayTimeoutsArgs
    zone_id str
    Site ID.
    gatewayId String
    Gateway ID.
    gatewayIp String
    Gateway IP address, required when GatewayType is private.
    gatewayName String
    Gateway name, up to 16 characters.
    gatewayPort Number
    Gateway port, range 1-65535 (excluding 8888).
    gatewayType String
    Gateway type. Valid values: cloud, private.
    needConfirm String
    Whether the gateway origin IP list needs reconfirmation.
    regionId String
    Gateway region, required when GatewayType is cloud.
    status String
    Gateway status. Valid values: online (enable), offline (disable). If not set, the value is populated by the server.
    teoMultiPathGatewayId String
    ID of the resource.
    timeouts Property Map
    zoneId String
    Site ID.

    Supporting Types

    TeoMultiPathGatewayTimeouts, TeoMultiPathGatewayTimeoutsArgs

    Create string
    Update string
    Create string
    Update string
    create string
    update string
    create String
    update String
    create string
    update string
    create str
    update str
    create String
    update String

    Import

    teo multi path gateway can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/teoMultiPathGateway:TeoMultiPathGateway example zone-279qso5a4cw9#mpgw-g3176ppeye
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.