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

tencentcloud.TeoL4Proxy

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a teo teo_l4_proxy

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const proxy = new tencentcloud.TeoL4Proxy("proxy", {
        accelerateMainland: "off",
        area: "overseas",
        ipv6: "off",
        proxyName: "proxy-test",
        staticIp: "off",
        zoneId: "zone-2qtuhspy6cr7",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    proxy = tencentcloud.TeoL4Proxy("proxy",
        accelerate_mainland="off",
        area="overseas",
        ipv6="off",
        proxy_name="proxy-test",
        static_ip="off",
        zone_id="zone-2qtuhspy6cr7")
    
    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.NewTeoL4Proxy(ctx, "proxy", &tencentcloud.TeoL4ProxyArgs{
    			AccelerateMainland: pulumi.String("off"),
    			Area:               pulumi.String("overseas"),
    			Ipv6:               pulumi.String("off"),
    			ProxyName:          pulumi.String("proxy-test"),
    			StaticIp:           pulumi.String("off"),
    			ZoneId:             pulumi.String("zone-2qtuhspy6cr7"),
    		})
    		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 proxy = new Tencentcloud.TeoL4Proxy("proxy", new()
        {
            AccelerateMainland = "off",
            Area = "overseas",
            Ipv6 = "off",
            ProxyName = "proxy-test",
            StaticIp = "off",
            ZoneId = "zone-2qtuhspy6cr7",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TeoL4Proxy;
    import com.pulumi.tencentcloud.TeoL4ProxyArgs;
    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 proxy = new TeoL4Proxy("proxy", TeoL4ProxyArgs.builder()
                .accelerateMainland("off")
                .area("overseas")
                .ipv6("off")
                .proxyName("proxy-test")
                .staticIp("off")
                .zoneId("zone-2qtuhspy6cr7")
                .build());
    
        }
    }
    
    resources:
      proxy:
        type: tencentcloud:TeoL4Proxy
        properties:
          accelerateMainland: off
          area: overseas
          ipv6: off
          proxyName: proxy-test
          staticIp: off
          zoneId: zone-2qtuhspy6cr7
    

    Create TeoL4Proxy Resource

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

    Constructor syntax

    new TeoL4Proxy(name: string, args: TeoL4ProxyArgs, opts?: CustomResourceOptions);
    @overload
    def TeoL4Proxy(resource_name: str,
                   args: TeoL4ProxyArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeoL4Proxy(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   proxy_name: Optional[str] = None,
                   zone_id: Optional[str] = None,
                   accelerate_mainland: Optional[str] = None,
                   area: Optional[str] = None,
                   ddos_protection_config: Optional[TeoL4ProxyDdosProtectionConfigArgs] = None,
                   ipv6: Optional[str] = None,
                   static_ip: Optional[str] = None,
                   teo_l4_proxy_id: Optional[str] = None)
    func NewTeoL4Proxy(ctx *Context, name string, args TeoL4ProxyArgs, opts ...ResourceOption) (*TeoL4Proxy, error)
    public TeoL4Proxy(string name, TeoL4ProxyArgs args, CustomResourceOptions? opts = null)
    public TeoL4Proxy(String name, TeoL4ProxyArgs args)
    public TeoL4Proxy(String name, TeoL4ProxyArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TeoL4Proxy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TeoL4ProxyArgs
    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 TeoL4ProxyArgs
    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 TeoL4ProxyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeoL4ProxyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeoL4ProxyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TeoL4Proxy 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 TeoL4Proxy resource accepts the following input properties:

    ProxyName string
    Layer 4 proxy instance name. You can enter 1-50 characters. Valid characters are a-z, 0-9, and hyphens (-). However, hyphens (-) cannot be used individually or consecutively and should not be placed at the beginning or end of the name. Modifications are not allowed after creation.
    ZoneId string
    Site ID.
    AccelerateMainland string
    Specifies whether to enable network optimization in the Chinese mainland. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    Area string
    Acceleration zone of the Layer 4 proxy instance. mainland: Availability zone in the Chinese mainland; overseas: Global availability zone (excluding the Chinese mainland); global: Global availability zone.
    DdosProtectionConfig TeoL4ProxyDdosProtectionConfig
    Layer 3/Layer 4 DDoS protection. The default protection option of the platform will be used if it is left empty. For details, see Exclusive DDoS Protection Usage.
    Ipv6 string
    Specifies whether to enable IPv6 access. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    StaticIp string
    Specifies whether to enable the fixed IP address. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    TeoL4ProxyId string
    ID of the resource.
    ProxyName string
    Layer 4 proxy instance name. You can enter 1-50 characters. Valid characters are a-z, 0-9, and hyphens (-). However, hyphens (-) cannot be used individually or consecutively and should not be placed at the beginning or end of the name. Modifications are not allowed after creation.
    ZoneId string
    Site ID.
    AccelerateMainland string
    Specifies whether to enable network optimization in the Chinese mainland. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    Area string
    Acceleration zone of the Layer 4 proxy instance. mainland: Availability zone in the Chinese mainland; overseas: Global availability zone (excluding the Chinese mainland); global: Global availability zone.
    DdosProtectionConfig TeoL4ProxyDdosProtectionConfigArgs
    Layer 3/Layer 4 DDoS protection. The default protection option of the platform will be used if it is left empty. For details, see Exclusive DDoS Protection Usage.
    Ipv6 string
    Specifies whether to enable IPv6 access. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    StaticIp string
    Specifies whether to enable the fixed IP address. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    TeoL4ProxyId string
    ID of the resource.
    proxyName String
    Layer 4 proxy instance name. You can enter 1-50 characters. Valid characters are a-z, 0-9, and hyphens (-). However, hyphens (-) cannot be used individually or consecutively and should not be placed at the beginning or end of the name. Modifications are not allowed after creation.
    zoneId String
    Site ID.
    accelerateMainland String
    Specifies whether to enable network optimization in the Chinese mainland. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    area String
    Acceleration zone of the Layer 4 proxy instance. mainland: Availability zone in the Chinese mainland; overseas: Global availability zone (excluding the Chinese mainland); global: Global availability zone.
    ddosProtectionConfig TeoL4ProxyDdosProtectionConfig
    Layer 3/Layer 4 DDoS protection. The default protection option of the platform will be used if it is left empty. For details, see Exclusive DDoS Protection Usage.
    ipv6 String
    Specifies whether to enable IPv6 access. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    staticIp String
    Specifies whether to enable the fixed IP address. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    teoL4ProxyId String
    ID of the resource.
    proxyName string
    Layer 4 proxy instance name. You can enter 1-50 characters. Valid characters are a-z, 0-9, and hyphens (-). However, hyphens (-) cannot be used individually or consecutively and should not be placed at the beginning or end of the name. Modifications are not allowed after creation.
    zoneId string
    Site ID.
    accelerateMainland string
    Specifies whether to enable network optimization in the Chinese mainland. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    area string
    Acceleration zone of the Layer 4 proxy instance. mainland: Availability zone in the Chinese mainland; overseas: Global availability zone (excluding the Chinese mainland); global: Global availability zone.
    ddosProtectionConfig TeoL4ProxyDdosProtectionConfig
    Layer 3/Layer 4 DDoS protection. The default protection option of the platform will be used if it is left empty. For details, see Exclusive DDoS Protection Usage.
    ipv6 string
    Specifies whether to enable IPv6 access. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    staticIp string
    Specifies whether to enable the fixed IP address. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    teoL4ProxyId string
    ID of the resource.
    proxy_name str
    Layer 4 proxy instance name. You can enter 1-50 characters. Valid characters are a-z, 0-9, and hyphens (-). However, hyphens (-) cannot be used individually or consecutively and should not be placed at the beginning or end of the name. Modifications are not allowed after creation.
    zone_id str
    Site ID.
    accelerate_mainland str
    Specifies whether to enable network optimization in the Chinese mainland. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    area str
    Acceleration zone of the Layer 4 proxy instance. mainland: Availability zone in the Chinese mainland; overseas: Global availability zone (excluding the Chinese mainland); global: Global availability zone.
    ddos_protection_config TeoL4ProxyDdosProtectionConfigArgs
    Layer 3/Layer 4 DDoS protection. The default protection option of the platform will be used if it is left empty. For details, see Exclusive DDoS Protection Usage.
    ipv6 str
    Specifies whether to enable IPv6 access. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    static_ip str
    Specifies whether to enable the fixed IP address. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    teo_l4_proxy_id str
    ID of the resource.
    proxyName String
    Layer 4 proxy instance name. You can enter 1-50 characters. Valid characters are a-z, 0-9, and hyphens (-). However, hyphens (-) cannot be used individually or consecutively and should not be placed at the beginning or end of the name. Modifications are not allowed after creation.
    zoneId String
    Site ID.
    accelerateMainland String
    Specifies whether to enable network optimization in the Chinese mainland. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    area String
    Acceleration zone of the Layer 4 proxy instance. mainland: Availability zone in the Chinese mainland; overseas: Global availability zone (excluding the Chinese mainland); global: Global availability zone.
    ddosProtectionConfig Property Map
    Layer 3/Layer 4 DDoS protection. The default protection option of the platform will be used if it is left empty. For details, see Exclusive DDoS Protection Usage.
    ipv6 String
    Specifies whether to enable IPv6 access. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    staticIp String
    Specifies whether to enable the fixed IP address. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    teoL4ProxyId String
    ID of the resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TeoL4Proxy Resource

    Get an existing TeoL4Proxy 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?: TeoL4ProxyState, opts?: CustomResourceOptions): TeoL4Proxy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accelerate_mainland: Optional[str] = None,
            area: Optional[str] = None,
            ddos_protection_config: Optional[TeoL4ProxyDdosProtectionConfigArgs] = None,
            ipv6: Optional[str] = None,
            proxy_name: Optional[str] = None,
            static_ip: Optional[str] = None,
            teo_l4_proxy_id: Optional[str] = None,
            zone_id: Optional[str] = None) -> TeoL4Proxy
    func GetTeoL4Proxy(ctx *Context, name string, id IDInput, state *TeoL4ProxyState, opts ...ResourceOption) (*TeoL4Proxy, error)
    public static TeoL4Proxy Get(string name, Input<string> id, TeoL4ProxyState? state, CustomResourceOptions? opts = null)
    public static TeoL4Proxy get(String name, Output<String> id, TeoL4ProxyState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TeoL4Proxy    get:      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:
    AccelerateMainland string
    Specifies whether to enable network optimization in the Chinese mainland. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    Area string
    Acceleration zone of the Layer 4 proxy instance. mainland: Availability zone in the Chinese mainland; overseas: Global availability zone (excluding the Chinese mainland); global: Global availability zone.
    DdosProtectionConfig TeoL4ProxyDdosProtectionConfig
    Layer 3/Layer 4 DDoS protection. The default protection option of the platform will be used if it is left empty. For details, see Exclusive DDoS Protection Usage.
    Ipv6 string
    Specifies whether to enable IPv6 access. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    ProxyName string
    Layer 4 proxy instance name. You can enter 1-50 characters. Valid characters are a-z, 0-9, and hyphens (-). However, hyphens (-) cannot be used individually or consecutively and should not be placed at the beginning or end of the name. Modifications are not allowed after creation.
    StaticIp string
    Specifies whether to enable the fixed IP address. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    TeoL4ProxyId string
    ID of the resource.
    ZoneId string
    Site ID.
    AccelerateMainland string
    Specifies whether to enable network optimization in the Chinese mainland. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    Area string
    Acceleration zone of the Layer 4 proxy instance. mainland: Availability zone in the Chinese mainland; overseas: Global availability zone (excluding the Chinese mainland); global: Global availability zone.
    DdosProtectionConfig TeoL4ProxyDdosProtectionConfigArgs
    Layer 3/Layer 4 DDoS protection. The default protection option of the platform will be used if it is left empty. For details, see Exclusive DDoS Protection Usage.
    Ipv6 string
    Specifies whether to enable IPv6 access. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    ProxyName string
    Layer 4 proxy instance name. You can enter 1-50 characters. Valid characters are a-z, 0-9, and hyphens (-). However, hyphens (-) cannot be used individually or consecutively and should not be placed at the beginning or end of the name. Modifications are not allowed after creation.
    StaticIp string
    Specifies whether to enable the fixed IP address. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    TeoL4ProxyId string
    ID of the resource.
    ZoneId string
    Site ID.
    accelerateMainland String
    Specifies whether to enable network optimization in the Chinese mainland. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    area String
    Acceleration zone of the Layer 4 proxy instance. mainland: Availability zone in the Chinese mainland; overseas: Global availability zone (excluding the Chinese mainland); global: Global availability zone.
    ddosProtectionConfig TeoL4ProxyDdosProtectionConfig
    Layer 3/Layer 4 DDoS protection. The default protection option of the platform will be used if it is left empty. For details, see Exclusive DDoS Protection Usage.
    ipv6 String
    Specifies whether to enable IPv6 access. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    proxyName String
    Layer 4 proxy instance name. You can enter 1-50 characters. Valid characters are a-z, 0-9, and hyphens (-). However, hyphens (-) cannot be used individually or consecutively and should not be placed at the beginning or end of the name. Modifications are not allowed after creation.
    staticIp String
    Specifies whether to enable the fixed IP address. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    teoL4ProxyId String
    ID of the resource.
    zoneId String
    Site ID.
    accelerateMainland string
    Specifies whether to enable network optimization in the Chinese mainland. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    area string
    Acceleration zone of the Layer 4 proxy instance. mainland: Availability zone in the Chinese mainland; overseas: Global availability zone (excluding the Chinese mainland); global: Global availability zone.
    ddosProtectionConfig TeoL4ProxyDdosProtectionConfig
    Layer 3/Layer 4 DDoS protection. The default protection option of the platform will be used if it is left empty. For details, see Exclusive DDoS Protection Usage.
    ipv6 string
    Specifies whether to enable IPv6 access. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    proxyName string
    Layer 4 proxy instance name. You can enter 1-50 characters. Valid characters are a-z, 0-9, and hyphens (-). However, hyphens (-) cannot be used individually or consecutively and should not be placed at the beginning or end of the name. Modifications are not allowed after creation.
    staticIp string
    Specifies whether to enable the fixed IP address. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    teoL4ProxyId string
    ID of the resource.
    zoneId string
    Site ID.
    accelerate_mainland str
    Specifies whether to enable network optimization in the Chinese mainland. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    area str
    Acceleration zone of the Layer 4 proxy instance. mainland: Availability zone in the Chinese mainland; overseas: Global availability zone (excluding the Chinese mainland); global: Global availability zone.
    ddos_protection_config TeoL4ProxyDdosProtectionConfigArgs
    Layer 3/Layer 4 DDoS protection. The default protection option of the platform will be used if it is left empty. For details, see Exclusive DDoS Protection Usage.
    ipv6 str
    Specifies whether to enable IPv6 access. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    proxy_name str
    Layer 4 proxy instance name. You can enter 1-50 characters. Valid characters are a-z, 0-9, and hyphens (-). However, hyphens (-) cannot be used individually or consecutively and should not be placed at the beginning or end of the name. Modifications are not allowed after creation.
    static_ip str
    Specifies whether to enable the fixed IP address. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    teo_l4_proxy_id str
    ID of the resource.
    zone_id str
    Site ID.
    accelerateMainland String
    Specifies whether to enable network optimization in the Chinese mainland. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    area String
    Acceleration zone of the Layer 4 proxy instance. mainland: Availability zone in the Chinese mainland; overseas: Global availability zone (excluding the Chinese mainland); global: Global availability zone.
    ddosProtectionConfig Property Map
    Layer 3/Layer 4 DDoS protection. The default protection option of the platform will be used if it is left empty. For details, see Exclusive DDoS Protection Usage.
    ipv6 String
    Specifies whether to enable IPv6 access. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    proxyName String
    Layer 4 proxy instance name. You can enter 1-50 characters. Valid characters are a-z, 0-9, and hyphens (-). However, hyphens (-) cannot be used individually or consecutively and should not be placed at the beginning or end of the name. Modifications are not allowed after creation.
    staticIp String
    Specifies whether to enable the fixed IP address. The default value off is used if left empty. This configuration can only be enabled in certain acceleration zones and security protection configurations. For details, see Creating an L4 Proxy Instance. Valid values: on: Enable; off: Disable.
    teoL4ProxyId String
    ID of the resource.
    zoneId String
    Site ID.

    Supporting Types

    TeoL4ProxyDdosProtectionConfig, TeoL4ProxyDdosProtectionConfigArgs

    LevelMainland string
    Exclusive DDoS protection specifications in the Chinese mainland. For details, see [Dedicated DDoS Mitigation Fee (Pay-as-You-Go)] (https://intl.cloud.tencent.com/document/product/1552/94162?from_cn_redirect=1). PLATFORM: Default protection of the platform, i.e., Exclusive DDoS protection is not enabled; BASE30_MAX300: Exclusive DDoS protection enabled, providing a baseline protection bandwidth of 30 Gbps and an elastic protection bandwidth of up to 300 Gbps; BASE60_MAX600: Exclusive DDoS protection enabled, providing a baseline protection bandwidth of 60 Gbps and an elastic protection bandwidth of up to 600 Gbps. If no parameters are filled, the default value PLATFORM is used.
    LevelOverseas string
    Exclusive DDoS protection specifications in the worldwide region (excluding the Chinese mainland). PLATFORM: Default protection of the platform, i.e., Exclusive DDoS protection is not enabled; ANYCAST300: Exclusive DDoS protection enabled, offering a total maximum protection bandwidth of 300 Gbps; ANYCAST_ALLIN: Exclusive DDoS protection enabled, utilizing all available protection resources for protection. When no parameters are filled, the default value PLATFORM is used.
    MaxBandwidthMainland double
    Configuration of elastic protection bandwidth for exclusive DDoS protection in the Chinese mainland.Valid only when exclusive DDoS protection in the Chinese mainland is enabled (refer to the LevelMainland parameter configuration), and the value has the following limitations: When exclusive DDoS protection is enabled in the Chinese mainland and the 30 Gbps baseline protection bandwidth is used (the LevelMainland parameter value is BASE30_MAX300): the value range is 30 to 300 in Gbps; When exclusive DDoS protection is enabled in the Chinese mainland and the 60 Gbps baseline protection bandwidth is used (the LevelMainland parameter value is BASE60_MAX600): the value range is 60 to 600 in Gbps; When the default protection of the platform is used (the LevelMainland parameter value is PLATFORM): configuration is not supported, and the value of this parameter is invalid.
    LevelMainland string
    Exclusive DDoS protection specifications in the Chinese mainland. For details, see [Dedicated DDoS Mitigation Fee (Pay-as-You-Go)] (https://intl.cloud.tencent.com/document/product/1552/94162?from_cn_redirect=1). PLATFORM: Default protection of the platform, i.e., Exclusive DDoS protection is not enabled; BASE30_MAX300: Exclusive DDoS protection enabled, providing a baseline protection bandwidth of 30 Gbps and an elastic protection bandwidth of up to 300 Gbps; BASE60_MAX600: Exclusive DDoS protection enabled, providing a baseline protection bandwidth of 60 Gbps and an elastic protection bandwidth of up to 600 Gbps. If no parameters are filled, the default value PLATFORM is used.
    LevelOverseas string
    Exclusive DDoS protection specifications in the worldwide region (excluding the Chinese mainland). PLATFORM: Default protection of the platform, i.e., Exclusive DDoS protection is not enabled; ANYCAST300: Exclusive DDoS protection enabled, offering a total maximum protection bandwidth of 300 Gbps; ANYCAST_ALLIN: Exclusive DDoS protection enabled, utilizing all available protection resources for protection. When no parameters are filled, the default value PLATFORM is used.
    MaxBandwidthMainland float64
    Configuration of elastic protection bandwidth for exclusive DDoS protection in the Chinese mainland.Valid only when exclusive DDoS protection in the Chinese mainland is enabled (refer to the LevelMainland parameter configuration), and the value has the following limitations: When exclusive DDoS protection is enabled in the Chinese mainland and the 30 Gbps baseline protection bandwidth is used (the LevelMainland parameter value is BASE30_MAX300): the value range is 30 to 300 in Gbps; When exclusive DDoS protection is enabled in the Chinese mainland and the 60 Gbps baseline protection bandwidth is used (the LevelMainland parameter value is BASE60_MAX600): the value range is 60 to 600 in Gbps; When the default protection of the platform is used (the LevelMainland parameter value is PLATFORM): configuration is not supported, and the value of this parameter is invalid.
    levelMainland String
    Exclusive DDoS protection specifications in the Chinese mainland. For details, see [Dedicated DDoS Mitigation Fee (Pay-as-You-Go)] (https://intl.cloud.tencent.com/document/product/1552/94162?from_cn_redirect=1). PLATFORM: Default protection of the platform, i.e., Exclusive DDoS protection is not enabled; BASE30_MAX300: Exclusive DDoS protection enabled, providing a baseline protection bandwidth of 30 Gbps and an elastic protection bandwidth of up to 300 Gbps; BASE60_MAX600: Exclusive DDoS protection enabled, providing a baseline protection bandwidth of 60 Gbps and an elastic protection bandwidth of up to 600 Gbps. If no parameters are filled, the default value PLATFORM is used.
    levelOverseas String
    Exclusive DDoS protection specifications in the worldwide region (excluding the Chinese mainland). PLATFORM: Default protection of the platform, i.e., Exclusive DDoS protection is not enabled; ANYCAST300: Exclusive DDoS protection enabled, offering a total maximum protection bandwidth of 300 Gbps; ANYCAST_ALLIN: Exclusive DDoS protection enabled, utilizing all available protection resources for protection. When no parameters are filled, the default value PLATFORM is used.
    maxBandwidthMainland Double
    Configuration of elastic protection bandwidth for exclusive DDoS protection in the Chinese mainland.Valid only when exclusive DDoS protection in the Chinese mainland is enabled (refer to the LevelMainland parameter configuration), and the value has the following limitations: When exclusive DDoS protection is enabled in the Chinese mainland and the 30 Gbps baseline protection bandwidth is used (the LevelMainland parameter value is BASE30_MAX300): the value range is 30 to 300 in Gbps; When exclusive DDoS protection is enabled in the Chinese mainland and the 60 Gbps baseline protection bandwidth is used (the LevelMainland parameter value is BASE60_MAX600): the value range is 60 to 600 in Gbps; When the default protection of the platform is used (the LevelMainland parameter value is PLATFORM): configuration is not supported, and the value of this parameter is invalid.
    levelMainland string
    Exclusive DDoS protection specifications in the Chinese mainland. For details, see [Dedicated DDoS Mitigation Fee (Pay-as-You-Go)] (https://intl.cloud.tencent.com/document/product/1552/94162?from_cn_redirect=1). PLATFORM: Default protection of the platform, i.e., Exclusive DDoS protection is not enabled; BASE30_MAX300: Exclusive DDoS protection enabled, providing a baseline protection bandwidth of 30 Gbps and an elastic protection bandwidth of up to 300 Gbps; BASE60_MAX600: Exclusive DDoS protection enabled, providing a baseline protection bandwidth of 60 Gbps and an elastic protection bandwidth of up to 600 Gbps. If no parameters are filled, the default value PLATFORM is used.
    levelOverseas string
    Exclusive DDoS protection specifications in the worldwide region (excluding the Chinese mainland). PLATFORM: Default protection of the platform, i.e., Exclusive DDoS protection is not enabled; ANYCAST300: Exclusive DDoS protection enabled, offering a total maximum protection bandwidth of 300 Gbps; ANYCAST_ALLIN: Exclusive DDoS protection enabled, utilizing all available protection resources for protection. When no parameters are filled, the default value PLATFORM is used.
    maxBandwidthMainland number
    Configuration of elastic protection bandwidth for exclusive DDoS protection in the Chinese mainland.Valid only when exclusive DDoS protection in the Chinese mainland is enabled (refer to the LevelMainland parameter configuration), and the value has the following limitations: When exclusive DDoS protection is enabled in the Chinese mainland and the 30 Gbps baseline protection bandwidth is used (the LevelMainland parameter value is BASE30_MAX300): the value range is 30 to 300 in Gbps; When exclusive DDoS protection is enabled in the Chinese mainland and the 60 Gbps baseline protection bandwidth is used (the LevelMainland parameter value is BASE60_MAX600): the value range is 60 to 600 in Gbps; When the default protection of the platform is used (the LevelMainland parameter value is PLATFORM): configuration is not supported, and the value of this parameter is invalid.
    level_mainland str
    Exclusive DDoS protection specifications in the Chinese mainland. For details, see [Dedicated DDoS Mitigation Fee (Pay-as-You-Go)] (https://intl.cloud.tencent.com/document/product/1552/94162?from_cn_redirect=1). PLATFORM: Default protection of the platform, i.e., Exclusive DDoS protection is not enabled; BASE30_MAX300: Exclusive DDoS protection enabled, providing a baseline protection bandwidth of 30 Gbps and an elastic protection bandwidth of up to 300 Gbps; BASE60_MAX600: Exclusive DDoS protection enabled, providing a baseline protection bandwidth of 60 Gbps and an elastic protection bandwidth of up to 600 Gbps. If no parameters are filled, the default value PLATFORM is used.
    level_overseas str
    Exclusive DDoS protection specifications in the worldwide region (excluding the Chinese mainland). PLATFORM: Default protection of the platform, i.e., Exclusive DDoS protection is not enabled; ANYCAST300: Exclusive DDoS protection enabled, offering a total maximum protection bandwidth of 300 Gbps; ANYCAST_ALLIN: Exclusive DDoS protection enabled, utilizing all available protection resources for protection. When no parameters are filled, the default value PLATFORM is used.
    max_bandwidth_mainland float
    Configuration of elastic protection bandwidth for exclusive DDoS protection in the Chinese mainland.Valid only when exclusive DDoS protection in the Chinese mainland is enabled (refer to the LevelMainland parameter configuration), and the value has the following limitations: When exclusive DDoS protection is enabled in the Chinese mainland and the 30 Gbps baseline protection bandwidth is used (the LevelMainland parameter value is BASE30_MAX300): the value range is 30 to 300 in Gbps; When exclusive DDoS protection is enabled in the Chinese mainland and the 60 Gbps baseline protection bandwidth is used (the LevelMainland parameter value is BASE60_MAX600): the value range is 60 to 600 in Gbps; When the default protection of the platform is used (the LevelMainland parameter value is PLATFORM): configuration is not supported, and the value of this parameter is invalid.
    levelMainland String
    Exclusive DDoS protection specifications in the Chinese mainland. For details, see [Dedicated DDoS Mitigation Fee (Pay-as-You-Go)] (https://intl.cloud.tencent.com/document/product/1552/94162?from_cn_redirect=1). PLATFORM: Default protection of the platform, i.e., Exclusive DDoS protection is not enabled; BASE30_MAX300: Exclusive DDoS protection enabled, providing a baseline protection bandwidth of 30 Gbps and an elastic protection bandwidth of up to 300 Gbps; BASE60_MAX600: Exclusive DDoS protection enabled, providing a baseline protection bandwidth of 60 Gbps and an elastic protection bandwidth of up to 600 Gbps. If no parameters are filled, the default value PLATFORM is used.
    levelOverseas String
    Exclusive DDoS protection specifications in the worldwide region (excluding the Chinese mainland). PLATFORM: Default protection of the platform, i.e., Exclusive DDoS protection is not enabled; ANYCAST300: Exclusive DDoS protection enabled, offering a total maximum protection bandwidth of 300 Gbps; ANYCAST_ALLIN: Exclusive DDoS protection enabled, utilizing all available protection resources for protection. When no parameters are filled, the default value PLATFORM is used.
    maxBandwidthMainland Number
    Configuration of elastic protection bandwidth for exclusive DDoS protection in the Chinese mainland.Valid only when exclusive DDoS protection in the Chinese mainland is enabled (refer to the LevelMainland parameter configuration), and the value has the following limitations: When exclusive DDoS protection is enabled in the Chinese mainland and the 30 Gbps baseline protection bandwidth is used (the LevelMainland parameter value is BASE30_MAX300): the value range is 30 to 300 in Gbps; When exclusive DDoS protection is enabled in the Chinese mainland and the 60 Gbps baseline protection bandwidth is used (the LevelMainland parameter value is BASE60_MAX600): the value range is 60 to 600 in Gbps; When the default protection of the platform is used (the LevelMainland parameter value is PLATFORM): configuration is not supported, and the value of this parameter is invalid.

    Import

    teo teo_l4_proxy can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/teoL4Proxy:TeoL4Proxy teo_l4_proxy teo_l4_proxy_id
    

    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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack