published on Monday, May 11, 2026 by tencentcloudstack
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:
- 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 double - 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 stringPath Gateway Id - ID of the resource.
- Timeouts
Teo
Multi Path Gateway Timeouts
- 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 float64 - 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 stringPath Gateway Id - ID of the resource.
- Timeouts
Teo
Multi Path Gateway Timeouts Args
- 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_ stringpath_ gateway_ id - ID of the resource.
- timeouts object
- 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 Double - 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 StringPath Gateway Id - ID of the resource.
- timeouts
Teo
Multi Path Gateway Timeouts
- 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 stringPath Gateway Id - ID of the resource.
- timeouts
Teo
Multi Path Gateway Timeouts
- 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_ strpath_ gateway_ id - ID of the resource.
- timeouts
Teo
Multi Path Gateway Timeouts Args
- 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 StringPath Gateway Id - 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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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) -> TeoMultiPathGatewayfunc 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.
- 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 double - 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 stringPath Gateway Id - ID of the resource.
- Timeouts
Teo
Multi Path Gateway Timeouts - Zone
Id 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 float64 - 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 stringPath Gateway Id - ID of the resource.
- Timeouts
Teo
Multi Path Gateway Timeouts Args - Zone
Id 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_ stringpath_ gateway_ id - ID of the resource.
- timeouts object
- zone_
id 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 Double - 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 StringPath Gateway Id - ID of the resource.
- timeouts
Teo
Multi Path Gateway Timeouts - zone
Id 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 stringPath Gateway Id - ID of the resource.
- timeouts
Teo
Multi Path Gateway Timeouts - zone
Id 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_ strpath_ gateway_ id - ID of the resource.
- timeouts
Teo
Multi Path Gateway Timeouts Args - zone_
id str - 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 StringPath Gateway Id - ID of the resource.
- timeouts Property Map
- zone
Id String - Site ID.
Supporting Types
TeoMultiPathGatewayTimeouts, TeoMultiPathGatewayTimeoutsArgs
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
tencentcloudTerraform Provider.
published on Monday, May 11, 2026 by tencentcloudstack
