tencentcloud.TseCngwGateway
Explore with Pulumi AI
Provides a resource to create a tse cngw_gateway
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const config = new pulumi.Config();
const availabilityZone = config.get("availabilityZone") || "ap-guangzhou-4";
const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
const subnet = new tencentcloud.Subnet("subnet", {
vpcId: vpc.vpcId,
availabilityZone: availabilityZone,
cidrBlock: "10.0.1.0/24",
});
const cngwGateway = new tencentcloud.TseCngwGateway("cngwGateway", {
description: "terraform test1",
enableCls: true,
engineRegion: "ap-guangzhou",
featureVersion: "STANDARD",
gatewayVersion: "2.5.1",
ingressClassName: "tse-nginx-ingress",
internetMaxBandwidthOut: 0,
tradeType: 0,
type: "kong",
nodeConfig: {
number: 2,
specification: "1c2g",
},
vpcConfig: {
subnetId: subnet.subnetId,
vpcId: vpc.vpcId,
},
tags: {
createdBy: "terraform",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
config = pulumi.Config()
availability_zone = config.get("availabilityZone")
if availability_zone is None:
availability_zone = "ap-guangzhou-4"
vpc = tencentcloud.Vpc("vpc", cidr_block="10.0.0.0/16")
subnet = tencentcloud.Subnet("subnet",
vpc_id=vpc.vpc_id,
availability_zone=availability_zone,
cidr_block="10.0.1.0/24")
cngw_gateway = tencentcloud.TseCngwGateway("cngwGateway",
description="terraform test1",
enable_cls=True,
engine_region="ap-guangzhou",
feature_version="STANDARD",
gateway_version="2.5.1",
ingress_class_name="tse-nginx-ingress",
internet_max_bandwidth_out=0,
trade_type=0,
type="kong",
node_config={
"number": 2,
"specification": "1c2g",
},
vpc_config={
"subnet_id": subnet.subnet_id,
"vpc_id": vpc.vpc_id,
},
tags={
"createdBy": "terraform",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
availabilityZone := "ap-guangzhou-4"
if param := cfg.Get("availabilityZone"); param != "" {
availabilityZone = param
}
vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
VpcId: vpc.VpcId,
AvailabilityZone: pulumi.String(availabilityZone),
CidrBlock: pulumi.String("10.0.1.0/24"),
})
if err != nil {
return err
}
_, err = tencentcloud.NewTseCngwGateway(ctx, "cngwGateway", &tencentcloud.TseCngwGatewayArgs{
Description: pulumi.String("terraform test1"),
EnableCls: pulumi.Bool(true),
EngineRegion: pulumi.String("ap-guangzhou"),
FeatureVersion: pulumi.String("STANDARD"),
GatewayVersion: pulumi.String("2.5.1"),
IngressClassName: pulumi.String("tse-nginx-ingress"),
InternetMaxBandwidthOut: pulumi.Float64(0),
TradeType: pulumi.Float64(0),
Type: pulumi.String("kong"),
NodeConfig: &tencentcloud.TseCngwGatewayNodeConfigArgs{
Number: pulumi.Float64(2),
Specification: pulumi.String("1c2g"),
},
VpcConfig: &tencentcloud.TseCngwGatewayVpcConfigArgs{
SubnetId: subnet.SubnetId,
VpcId: vpc.VpcId,
},
Tags: pulumi.StringMap{
"createdBy": pulumi.String("terraform"),
},
})
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 config = new Config();
var availabilityZone = config.Get("availabilityZone") ?? "ap-guangzhou-4";
var vpc = new Tencentcloud.Vpc("vpc", new()
{
CidrBlock = "10.0.0.0/16",
});
var subnet = new Tencentcloud.Subnet("subnet", new()
{
VpcId = vpc.VpcId,
AvailabilityZone = availabilityZone,
CidrBlock = "10.0.1.0/24",
});
var cngwGateway = new Tencentcloud.TseCngwGateway("cngwGateway", new()
{
Description = "terraform test1",
EnableCls = true,
EngineRegion = "ap-guangzhou",
FeatureVersion = "STANDARD",
GatewayVersion = "2.5.1",
IngressClassName = "tse-nginx-ingress",
InternetMaxBandwidthOut = 0,
TradeType = 0,
Type = "kong",
NodeConfig = new Tencentcloud.Inputs.TseCngwGatewayNodeConfigArgs
{
Number = 2,
Specification = "1c2g",
},
VpcConfig = new Tencentcloud.Inputs.TseCngwGatewayVpcConfigArgs
{
SubnetId = subnet.SubnetId,
VpcId = vpc.VpcId,
},
Tags =
{
{ "createdBy", "terraform" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.Vpc;
import com.pulumi.tencentcloud.VpcArgs;
import com.pulumi.tencentcloud.Subnet;
import com.pulumi.tencentcloud.SubnetArgs;
import com.pulumi.tencentcloud.TseCngwGateway;
import com.pulumi.tencentcloud.TseCngwGatewayArgs;
import com.pulumi.tencentcloud.inputs.TseCngwGatewayNodeConfigArgs;
import com.pulumi.tencentcloud.inputs.TseCngwGatewayVpcConfigArgs;
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 config = ctx.config();
final var availabilityZone = config.get("availabilityZone").orElse("ap-guangzhou-4");
var vpc = new Vpc("vpc", VpcArgs.builder()
.cidrBlock("10.0.0.0/16")
.build());
var subnet = new Subnet("subnet", SubnetArgs.builder()
.vpcId(vpc.vpcId())
.availabilityZone(availabilityZone)
.cidrBlock("10.0.1.0/24")
.build());
var cngwGateway = new TseCngwGateway("cngwGateway", TseCngwGatewayArgs.builder()
.description("terraform test1")
.enableCls(true)
.engineRegion("ap-guangzhou")
.featureVersion("STANDARD")
.gatewayVersion("2.5.1")
.ingressClassName("tse-nginx-ingress")
.internetMaxBandwidthOut(0)
.tradeType(0)
.type("kong")
.nodeConfig(TseCngwGatewayNodeConfigArgs.builder()
.number(2)
.specification("1c2g")
.build())
.vpcConfig(TseCngwGatewayVpcConfigArgs.builder()
.subnetId(subnet.subnetId())
.vpcId(vpc.vpcId())
.build())
.tags(Map.of("createdBy", "terraform"))
.build());
}
}
configuration:
availabilityZone:
type: string
default: ap-guangzhou-4
resources:
vpc:
type: tencentcloud:Vpc
properties:
cidrBlock: 10.0.0.0/16
subnet:
type: tencentcloud:Subnet
properties:
vpcId: ${vpc.vpcId}
availabilityZone: ${availabilityZone}
cidrBlock: 10.0.1.0/24
cngwGateway:
type: tencentcloud:TseCngwGateway
properties:
description: terraform test1
enableCls: true
engineRegion: ap-guangzhou
featureVersion: STANDARD
gatewayVersion: 2.5.1
ingressClassName: tse-nginx-ingress
internetMaxBandwidthOut: 0
tradeType: 0
type: kong
nodeConfig:
number: 2
specification: 1c2g
vpcConfig:
subnetId: ${subnet.subnetId}
vpcId: ${vpc.vpcId}
tags:
createdBy: terraform
Create TseCngwGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TseCngwGateway(name: string, args: TseCngwGatewayArgs, opts?: CustomResourceOptions);
@overload
def TseCngwGateway(resource_name: str,
args: TseCngwGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TseCngwGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
gateway_version: Optional[str] = None,
vpc_config: Optional[TseCngwGatewayVpcConfigArgs] = None,
type: Optional[str] = None,
node_config: Optional[TseCngwGatewayNodeConfigArgs] = None,
feature_version: Optional[str] = None,
ingress_class_name: Optional[str] = None,
internet_config: Optional[TseCngwGatewayInternetConfigArgs] = None,
internet_max_bandwidth_out: Optional[float] = None,
name: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
trade_type: Optional[float] = None,
tse_cngw_gateway_id: Optional[str] = None,
engine_region: Optional[str] = None,
enable_cls: Optional[bool] = None)
func NewTseCngwGateway(ctx *Context, name string, args TseCngwGatewayArgs, opts ...ResourceOption) (*TseCngwGateway, error)
public TseCngwGateway(string name, TseCngwGatewayArgs args, CustomResourceOptions? opts = null)
public TseCngwGateway(String name, TseCngwGatewayArgs args)
public TseCngwGateway(String name, TseCngwGatewayArgs args, CustomResourceOptions options)
type: tencentcloud:TseCngwGateway
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 TseCngwGatewayArgs
- 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 TseCngwGatewayArgs
- 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 TseCngwGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TseCngwGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TseCngwGatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TseCngwGateway 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 TseCngwGateway resource accepts the following input properties:
- Gateway
Version string - gateway vwersion. Reference value:
2.4.1
,2.5.1
. - Node
Config TseCngw Gateway Node Config - gateway node configration.
- Type string
- gateway type,currently only supports kong.
- Vpc
Config TseCngw Gateway Vpc Config - vpc information.
- Description string
- description information, up to 120 characters.
- Enable
Cls bool - whether to enable CLS log. Default value: fasle.
- Engine
Region string - engine region of gateway.
- Feature
Version string - product version. Reference value:
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - Ingress
Class stringName - ingress class name.
- Internet
Config TseCngw Gateway Internet Config - internet configration.
- Internet
Max doubleBandwidth Out - public network outbound traffic bandwidth,[1,2048]Mbps.
- Name string
- gateway name, supports up to 60 characters.
- Dictionary<string, string>
- Tag description list.
- Trade
Type double - trade type. Reference value:
0
: postpaid,1
:Prepaid (Interface does not support the creation of prepaid instances yet). - Tse
Cngw stringGateway Id - ID of the resource.
- Gateway
Version string - gateway vwersion. Reference value:
2.4.1
,2.5.1
. - Node
Config TseCngw Gateway Node Config Args - gateway node configration.
- Type string
- gateway type,currently only supports kong.
- Vpc
Config TseCngw Gateway Vpc Config Args - vpc information.
- Description string
- description information, up to 120 characters.
- Enable
Cls bool - whether to enable CLS log. Default value: fasle.
- Engine
Region string - engine region of gateway.
- Feature
Version string - product version. Reference value:
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - Ingress
Class stringName - ingress class name.
- Internet
Config TseCngw Gateway Internet Config Args - internet configration.
- Internet
Max float64Bandwidth Out - public network outbound traffic bandwidth,[1,2048]Mbps.
- Name string
- gateway name, supports up to 60 characters.
- map[string]string
- Tag description list.
- Trade
Type float64 - trade type. Reference value:
0
: postpaid,1
:Prepaid (Interface does not support the creation of prepaid instances yet). - Tse
Cngw stringGateway Id - ID of the resource.
- gateway
Version String - gateway vwersion. Reference value:
2.4.1
,2.5.1
. - node
Config TseCngw Gateway Node Config - gateway node configration.
- type String
- gateway type,currently only supports kong.
- vpc
Config TseCngw Gateway Vpc Config - vpc information.
- description String
- description information, up to 120 characters.
- enable
Cls Boolean - whether to enable CLS log. Default value: fasle.
- engine
Region String - engine region of gateway.
- feature
Version String - product version. Reference value:
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - ingress
Class StringName - ingress class name.
- internet
Config TseCngw Gateway Internet Config - internet configration.
- internet
Max DoubleBandwidth Out - public network outbound traffic bandwidth,[1,2048]Mbps.
- name String
- gateway name, supports up to 60 characters.
- Map<String,String>
- Tag description list.
- trade
Type Double - trade type. Reference value:
0
: postpaid,1
:Prepaid (Interface does not support the creation of prepaid instances yet). - tse
Cngw StringGateway Id - ID of the resource.
- gateway
Version string - gateway vwersion. Reference value:
2.4.1
,2.5.1
. - node
Config TseCngw Gateway Node Config - gateway node configration.
- type string
- gateway type,currently only supports kong.
- vpc
Config TseCngw Gateway Vpc Config - vpc information.
- description string
- description information, up to 120 characters.
- enable
Cls boolean - whether to enable CLS log. Default value: fasle.
- engine
Region string - engine region of gateway.
- feature
Version string - product version. Reference value:
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - ingress
Class stringName - ingress class name.
- internet
Config TseCngw Gateway Internet Config - internet configration.
- internet
Max numberBandwidth Out - public network outbound traffic bandwidth,[1,2048]Mbps.
- name string
- gateway name, supports up to 60 characters.
- {[key: string]: string}
- Tag description list.
- trade
Type number - trade type. Reference value:
0
: postpaid,1
:Prepaid (Interface does not support the creation of prepaid instances yet). - tse
Cngw stringGateway Id - ID of the resource.
- gateway_
version str - gateway vwersion. Reference value:
2.4.1
,2.5.1
. - node_
config TseCngw Gateway Node Config Args - gateway node configration.
- type str
- gateway type,currently only supports kong.
- vpc_
config TseCngw Gateway Vpc Config Args - vpc information.
- description str
- description information, up to 120 characters.
- enable_
cls bool - whether to enable CLS log. Default value: fasle.
- engine_
region str - engine region of gateway.
- feature_
version str - product version. Reference value:
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - ingress_
class_ strname - ingress class name.
- internet_
config TseCngw Gateway Internet Config Args - internet configration.
- internet_
max_ floatbandwidth_ out - public network outbound traffic bandwidth,[1,2048]Mbps.
- name str
- gateway name, supports up to 60 characters.
- Mapping[str, str]
- Tag description list.
- trade_
type float - trade type. Reference value:
0
: postpaid,1
:Prepaid (Interface does not support the creation of prepaid instances yet). - tse_
cngw_ strgateway_ id - ID of the resource.
- gateway
Version String - gateway vwersion. Reference value:
2.4.1
,2.5.1
. - node
Config Property Map - gateway node configration.
- type String
- gateway type,currently only supports kong.
- vpc
Config Property Map - vpc information.
- description String
- description information, up to 120 characters.
- enable
Cls Boolean - whether to enable CLS log. Default value: fasle.
- engine
Region String - engine region of gateway.
- feature
Version String - product version. Reference value:
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - ingress
Class StringName - ingress class name.
- internet
Config Property Map - internet configration.
- internet
Max NumberBandwidth Out - public network outbound traffic bandwidth,[1,2048]Mbps.
- name String
- gateway name, supports up to 60 characters.
- Map<String>
- Tag description list.
- trade
Type Number - trade type. Reference value:
0
: postpaid,1
:Prepaid (Interface does not support the creation of prepaid instances yet). - tse
Cngw StringGateway Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the TseCngwGateway resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Ports List<TseCngw Gateway Instance Port> - Port information that the instance listens to.
- Public
Ip List<string>Addresses - Public IP address list.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Ports []TseCngw Gateway Instance Port - Port information that the instance listens to.
- Public
Ip []stringAddresses - Public IP address list.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Ports List<TseCngw Gateway Instance Port> - Port information that the instance listens to.
- public
Ip List<String>Addresses - Public IP address list.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Ports TseCngw Gateway Instance Port[] - Port information that the instance listens to.
- public
Ip string[]Addresses - Public IP address list.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
ports Sequence[TseCngw Gateway Instance Port] - Port information that the instance listens to.
- public_
ip_ Sequence[str]addresses - Public IP address list.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Ports List<Property Map> - Port information that the instance listens to.
- public
Ip List<String>Addresses - Public IP address list.
Look up Existing TseCngwGateway Resource
Get an existing TseCngwGateway 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?: TseCngwGatewayState, opts?: CustomResourceOptions): TseCngwGateway
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
enable_cls: Optional[bool] = None,
engine_region: Optional[str] = None,
feature_version: Optional[str] = None,
gateway_version: Optional[str] = None,
ingress_class_name: Optional[str] = None,
instance_ports: Optional[Sequence[TseCngwGatewayInstancePortArgs]] = None,
internet_config: Optional[TseCngwGatewayInternetConfigArgs] = None,
internet_max_bandwidth_out: Optional[float] = None,
name: Optional[str] = None,
node_config: Optional[TseCngwGatewayNodeConfigArgs] = None,
public_ip_addresses: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
trade_type: Optional[float] = None,
tse_cngw_gateway_id: Optional[str] = None,
type: Optional[str] = None,
vpc_config: Optional[TseCngwGatewayVpcConfigArgs] = None) -> TseCngwGateway
func GetTseCngwGateway(ctx *Context, name string, id IDInput, state *TseCngwGatewayState, opts ...ResourceOption) (*TseCngwGateway, error)
public static TseCngwGateway Get(string name, Input<string> id, TseCngwGatewayState? state, CustomResourceOptions? opts = null)
public static TseCngwGateway get(String name, Output<String> id, TseCngwGatewayState state, CustomResourceOptions options)
resources: _: type: tencentcloud:TseCngwGateway 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.
- Description string
- description information, up to 120 characters.
- Enable
Cls bool - whether to enable CLS log. Default value: fasle.
- Engine
Region string - engine region of gateway.
- Feature
Version string - product version. Reference value:
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - Gateway
Version string - gateway vwersion. Reference value:
2.4.1
,2.5.1
. - Ingress
Class stringName - ingress class name.
- Instance
Ports List<TseCngw Gateway Instance Port> - Port information that the instance listens to.
- Internet
Config TseCngw Gateway Internet Config - internet configration.
- Internet
Max doubleBandwidth Out - public network outbound traffic bandwidth,[1,2048]Mbps.
- Name string
- gateway name, supports up to 60 characters.
- Node
Config TseCngw Gateway Node Config - gateway node configration.
- Public
Ip List<string>Addresses - Public IP address list.
- Dictionary<string, string>
- Tag description list.
- Trade
Type double - trade type. Reference value:
0
: postpaid,1
:Prepaid (Interface does not support the creation of prepaid instances yet). - Tse
Cngw stringGateway Id - ID of the resource.
- Type string
- gateway type,currently only supports kong.
- Vpc
Config TseCngw Gateway Vpc Config - vpc information.
- Description string
- description information, up to 120 characters.
- Enable
Cls bool - whether to enable CLS log. Default value: fasle.
- Engine
Region string - engine region of gateway.
- Feature
Version string - product version. Reference value:
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - Gateway
Version string - gateway vwersion. Reference value:
2.4.1
,2.5.1
. - Ingress
Class stringName - ingress class name.
- Instance
Ports []TseCngw Gateway Instance Port Args - Port information that the instance listens to.
- Internet
Config TseCngw Gateway Internet Config Args - internet configration.
- Internet
Max float64Bandwidth Out - public network outbound traffic bandwidth,[1,2048]Mbps.
- Name string
- gateway name, supports up to 60 characters.
- Node
Config TseCngw Gateway Node Config Args - gateway node configration.
- Public
Ip []stringAddresses - Public IP address list.
- map[string]string
- Tag description list.
- Trade
Type float64 - trade type. Reference value:
0
: postpaid,1
:Prepaid (Interface does not support the creation of prepaid instances yet). - Tse
Cngw stringGateway Id - ID of the resource.
- Type string
- gateway type,currently only supports kong.
- Vpc
Config TseCngw Gateway Vpc Config Args - vpc information.
- description String
- description information, up to 120 characters.
- enable
Cls Boolean - whether to enable CLS log. Default value: fasle.
- engine
Region String - engine region of gateway.
- feature
Version String - product version. Reference value:
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - gateway
Version String - gateway vwersion. Reference value:
2.4.1
,2.5.1
. - ingress
Class StringName - ingress class name.
- instance
Ports List<TseCngw Gateway Instance Port> - Port information that the instance listens to.
- internet
Config TseCngw Gateway Internet Config - internet configration.
- internet
Max DoubleBandwidth Out - public network outbound traffic bandwidth,[1,2048]Mbps.
- name String
- gateway name, supports up to 60 characters.
- node
Config TseCngw Gateway Node Config - gateway node configration.
- public
Ip List<String>Addresses - Public IP address list.
- Map<String,String>
- Tag description list.
- trade
Type Double - trade type. Reference value:
0
: postpaid,1
:Prepaid (Interface does not support the creation of prepaid instances yet). - tse
Cngw StringGateway Id - ID of the resource.
- type String
- gateway type,currently only supports kong.
- vpc
Config TseCngw Gateway Vpc Config - vpc information.
- description string
- description information, up to 120 characters.
- enable
Cls boolean - whether to enable CLS log. Default value: fasle.
- engine
Region string - engine region of gateway.
- feature
Version string - product version. Reference value:
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - gateway
Version string - gateway vwersion. Reference value:
2.4.1
,2.5.1
. - ingress
Class stringName - ingress class name.
- instance
Ports TseCngw Gateway Instance Port[] - Port information that the instance listens to.
- internet
Config TseCngw Gateway Internet Config - internet configration.
- internet
Max numberBandwidth Out - public network outbound traffic bandwidth,[1,2048]Mbps.
- name string
- gateway name, supports up to 60 characters.
- node
Config TseCngw Gateway Node Config - gateway node configration.
- public
Ip string[]Addresses - Public IP address list.
- {[key: string]: string}
- Tag description list.
- trade
Type number - trade type. Reference value:
0
: postpaid,1
:Prepaid (Interface does not support the creation of prepaid instances yet). - tse
Cngw stringGateway Id - ID of the resource.
- type string
- gateway type,currently only supports kong.
- vpc
Config TseCngw Gateway Vpc Config - vpc information.
- description str
- description information, up to 120 characters.
- enable_
cls bool - whether to enable CLS log. Default value: fasle.
- engine_
region str - engine region of gateway.
- feature_
version str - product version. Reference value:
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - gateway_
version str - gateway vwersion. Reference value:
2.4.1
,2.5.1
. - ingress_
class_ strname - ingress class name.
- instance_
ports Sequence[TseCngw Gateway Instance Port Args] - Port information that the instance listens to.
- internet_
config TseCngw Gateway Internet Config Args - internet configration.
- internet_
max_ floatbandwidth_ out - public network outbound traffic bandwidth,[1,2048]Mbps.
- name str
- gateway name, supports up to 60 characters.
- node_
config TseCngw Gateway Node Config Args - gateway node configration.
- public_
ip_ Sequence[str]addresses - Public IP address list.
- Mapping[str, str]
- Tag description list.
- trade_
type float - trade type. Reference value:
0
: postpaid,1
:Prepaid (Interface does not support the creation of prepaid instances yet). - tse_
cngw_ strgateway_ id - ID of the resource.
- type str
- gateway type,currently only supports kong.
- vpc_
config TseCngw Gateway Vpc Config Args - vpc information.
- description String
- description information, up to 120 characters.
- enable
Cls Boolean - whether to enable CLS log. Default value: fasle.
- engine
Region String - engine region of gateway.
- feature
Version String - product version. Reference value:
TRIAL
,STANDARD
(default value),PROFESSIONAL
. - gateway
Version String - gateway vwersion. Reference value:
2.4.1
,2.5.1
. - ingress
Class StringName - ingress class name.
- instance
Ports List<Property Map> - Port information that the instance listens to.
- internet
Config Property Map - internet configration.
- internet
Max NumberBandwidth Out - public network outbound traffic bandwidth,[1,2048]Mbps.
- name String
- gateway name, supports up to 60 characters.
- node
Config Property Map - gateway node configration.
- public
Ip List<String>Addresses - Public IP address list.
- Map<String>
- Tag description list.
- trade
Type Number - trade type. Reference value:
0
: postpaid,1
:Prepaid (Interface does not support the creation of prepaid instances yet). - tse
Cngw StringGateway Id - ID of the resource.
- type String
- gateway type,currently only supports kong.
- vpc
Config Property Map - vpc information.
Supporting Types
TseCngwGatewayInstancePort, TseCngwGatewayInstancePortArgs
- http_
port str - Http port range.
- https_
port str - Https port range.
- tcp_
port str - Tcp port range.
- udp_
port str - Udp port range.
TseCngwGatewayInternetConfig, TseCngwGatewayInternetConfigArgs
- Description string
- description of clb.
- Internet
Address stringVersion - internet type. Reference value:
IPV4
(default value),IPV6
. - Internet
Max doubleBandwidth Out - public network bandwidth.
- Internet
Pay stringMode - trade type of internet. Reference value:
BANDWIDTH
,TRAFFIC
(default value). - Master
Zone stringId - primary availability zone.
- Multi
Zone boolFlag - Whether load balancing has multiple availability zones.
- Sla
Type string - specification type of clb. Default shared type when this parameter is empty. Reference value:- SLA LCU-supported.
- Slave
Zone stringId - alternate availability zone.
- Description string
- description of clb.
- Internet
Address stringVersion - internet type. Reference value:
IPV4
(default value),IPV6
. - Internet
Max float64Bandwidth Out - public network bandwidth.
- Internet
Pay stringMode - trade type of internet. Reference value:
BANDWIDTH
,TRAFFIC
(default value). - Master
Zone stringId - primary availability zone.
- Multi
Zone boolFlag - Whether load balancing has multiple availability zones.
- Sla
Type string - specification type of clb. Default shared type when this parameter is empty. Reference value:- SLA LCU-supported.
- Slave
Zone stringId - alternate availability zone.
- description String
- description of clb.
- internet
Address StringVersion - internet type. Reference value:
IPV4
(default value),IPV6
. - internet
Max DoubleBandwidth Out - public network bandwidth.
- internet
Pay StringMode - trade type of internet. Reference value:
BANDWIDTH
,TRAFFIC
(default value). - master
Zone StringId - primary availability zone.
- multi
Zone BooleanFlag - Whether load balancing has multiple availability zones.
- sla
Type String - specification type of clb. Default shared type when this parameter is empty. Reference value:- SLA LCU-supported.
- slave
Zone StringId - alternate availability zone.
- description string
- description of clb.
- internet
Address stringVersion - internet type. Reference value:
IPV4
(default value),IPV6
. - internet
Max numberBandwidth Out - public network bandwidth.
- internet
Pay stringMode - trade type of internet. Reference value:
BANDWIDTH
,TRAFFIC
(default value). - master
Zone stringId - primary availability zone.
- multi
Zone booleanFlag - Whether load balancing has multiple availability zones.
- sla
Type string - specification type of clb. Default shared type when this parameter is empty. Reference value:- SLA LCU-supported.
- slave
Zone stringId - alternate availability zone.
- description str
- description of clb.
- internet_
address_ strversion - internet type. Reference value:
IPV4
(default value),IPV6
. - internet_
max_ floatbandwidth_ out - public network bandwidth.
- internet_
pay_ strmode - trade type of internet. Reference value:
BANDWIDTH
,TRAFFIC
(default value). - master_
zone_ strid - primary availability zone.
- multi_
zone_ boolflag - Whether load balancing has multiple availability zones.
- sla_
type str - specification type of clb. Default shared type when this parameter is empty. Reference value:- SLA LCU-supported.
- slave_
zone_ strid - alternate availability zone.
- description String
- description of clb.
- internet
Address StringVersion - internet type. Reference value:
IPV4
(default value),IPV6
. - internet
Max NumberBandwidth Out - public network bandwidth.
- internet
Pay StringMode - trade type of internet. Reference value:
BANDWIDTH
,TRAFFIC
(default value). - master
Zone StringId - primary availability zone.
- multi
Zone BooleanFlag - Whether load balancing has multiple availability zones.
- sla
Type String - specification type of clb. Default shared type when this parameter is empty. Reference value:- SLA LCU-supported.
- slave
Zone StringId - alternate availability zone.
TseCngwGatewayNodeConfig, TseCngwGatewayNodeConfigArgs
- Number double
- node number, 2-50.
- Specification string
- specification, 1c2g|2c4g|4c8g|8c16g.
- Number float64
- node number, 2-50.
- Specification string
- specification, 1c2g|2c4g|4c8g|8c16g.
- number Double
- node number, 2-50.
- specification String
- specification, 1c2g|2c4g|4c8g|8c16g.
- number number
- node number, 2-50.
- specification string
- specification, 1c2g|2c4g|4c8g|8c16g.
- number float
- node number, 2-50.
- specification str
- specification, 1c2g|2c4g|4c8g|8c16g.
- number Number
- node number, 2-50.
- specification String
- specification, 1c2g|2c4g|4c8g|8c16g.
TseCngwGatewayVpcConfig, TseCngwGatewayVpcConfigArgs
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.