tencentcloud.VpnGateway
Explore with Pulumi AI
Example Usage
VPC SSL VPN gateway
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VpnGateway("example", {
bandwidth: 5,
tags: {
createBy: "Terraform",
},
type: "SSL",
vpcId: "vpc-86v957zb",
zone: "ap-guangzhou-3",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VpnGateway("example",
bandwidth=5,
tags={
"createBy": "Terraform",
},
type="SSL",
vpc_id="vpc-86v957zb",
zone="ap-guangzhou-3")
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.NewVpnGateway(ctx, "example", &tencentcloud.VpnGatewayArgs{
Bandwidth: pulumi.Float64(5),
Tags: pulumi.StringMap{
"createBy": pulumi.String("Terraform"),
},
Type: pulumi.String("SSL"),
VpcId: pulumi.String("vpc-86v957zb"),
Zone: pulumi.String("ap-guangzhou-3"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.VpnGateway("example", new()
{
Bandwidth = 5,
Tags =
{
{ "createBy", "Terraform" },
},
Type = "SSL",
VpcId = "vpc-86v957zb",
Zone = "ap-guangzhou-3",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VpnGateway;
import com.pulumi.tencentcloud.VpnGatewayArgs;
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 example = new VpnGateway("example", VpnGatewayArgs.builder()
.bandwidth(5)
.tags(Map.of("createBy", "Terraform"))
.type("SSL")
.vpcId("vpc-86v957zb")
.zone("ap-guangzhou-3")
.build());
}
}
resources:
example:
type: tencentcloud:VpnGateway
properties:
bandwidth: 5
tags:
createBy: Terraform
type: SSL
vpcId: vpc-86v957zb
zone: ap-guangzhou-3
CCN IPSEC VPN gateway
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VpnGateway("example", {
bandwidth: 5,
tags: {
createBy: "Terraform",
},
type: "IPSEC",
zone: "ap-guangzhou-3",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VpnGateway("example",
bandwidth=5,
tags={
"createBy": "Terraform",
},
type="IPSEC",
zone="ap-guangzhou-3")
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.NewVpnGateway(ctx, "example", &tencentcloud.VpnGatewayArgs{
Bandwidth: pulumi.Float64(5),
Tags: pulumi.StringMap{
"createBy": pulumi.String("Terraform"),
},
Type: pulumi.String("IPSEC"),
Zone: pulumi.String("ap-guangzhou-3"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.VpnGateway("example", new()
{
Bandwidth = 5,
Tags =
{
{ "createBy", "Terraform" },
},
Type = "IPSEC",
Zone = "ap-guangzhou-3",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VpnGateway;
import com.pulumi.tencentcloud.VpnGatewayArgs;
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 example = new VpnGateway("example", VpnGatewayArgs.builder()
.bandwidth(5)
.tags(Map.of("createBy", "Terraform"))
.type("IPSEC")
.zone("ap-guangzhou-3")
.build());
}
}
resources:
example:
type: tencentcloud:VpnGateway
properties:
bandwidth: 5
tags:
createBy: Terraform
type: IPSEC
zone: ap-guangzhou-3
CCN SSL VPN gateway
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VpnGateway("example", {
bandwidth: 5,
tags: {
createBy: "Terraform",
},
type: "SSL_CCN",
zone: "ap-guangzhou-3",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VpnGateway("example",
bandwidth=5,
tags={
"createBy": "Terraform",
},
type="SSL_CCN",
zone="ap-guangzhou-3")
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.NewVpnGateway(ctx, "example", &tencentcloud.VpnGatewayArgs{
Bandwidth: pulumi.Float64(5),
Tags: pulumi.StringMap{
"createBy": pulumi.String("Terraform"),
},
Type: pulumi.String("SSL_CCN"),
Zone: pulumi.String("ap-guangzhou-3"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.VpnGateway("example", new()
{
Bandwidth = 5,
Tags =
{
{ "createBy", "Terraform" },
},
Type = "SSL_CCN",
Zone = "ap-guangzhou-3",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VpnGateway;
import com.pulumi.tencentcloud.VpnGatewayArgs;
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 example = new VpnGateway("example", VpnGatewayArgs.builder()
.bandwidth(5)
.tags(Map.of("createBy", "Terraform"))
.type("SSL_CCN")
.zone("ap-guangzhou-3")
.build());
}
}
resources:
example:
type: tencentcloud:VpnGateway
properties:
bandwidth: 5
tags:
createBy: Terraform
type: SSL_CCN
zone: ap-guangzhou-3
CCN VPN gateway
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VpnGateway("example", {
bandwidth: 200,
bgpAsn: 9000,
tags: {
createBy: "Terraform",
},
type: "CCN",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VpnGateway("example",
bandwidth=200,
bgp_asn=9000,
tags={
"createBy": "Terraform",
},
type="CCN")
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.NewVpnGateway(ctx, "example", &tencentcloud.VpnGatewayArgs{
Bandwidth: pulumi.Float64(200),
BgpAsn: pulumi.Float64(9000),
Tags: pulumi.StringMap{
"createBy": pulumi.String("Terraform"),
},
Type: pulumi.String("CCN"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.VpnGateway("example", new()
{
Bandwidth = 200,
BgpAsn = 9000,
Tags =
{
{ "createBy", "Terraform" },
},
Type = "CCN",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VpnGateway;
import com.pulumi.tencentcloud.VpnGatewayArgs;
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 example = new VpnGateway("example", VpnGatewayArgs.builder()
.bandwidth(200)
.bgpAsn(9000)
.tags(Map.of("createBy", "Terraform"))
.type("CCN")
.build());
}
}
resources:
example:
type: tencentcloud:VpnGateway
properties:
bandwidth: 200
bgpAsn: 9000
tags:
createBy: Terraform
type: CCN
POSTPAID_BY_HOUR VPN gateway
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VpnGateway("example", {
bandwidth: 5,
tags: {
createBy: "Terraform",
},
vpcId: "vpc-dk8zmwuf",
zone: "ap-guangzhou-3",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VpnGateway("example",
bandwidth=5,
tags={
"createBy": "Terraform",
},
vpc_id="vpc-dk8zmwuf",
zone="ap-guangzhou-3")
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.NewVpnGateway(ctx, "example", &tencentcloud.VpnGatewayArgs{
Bandwidth: pulumi.Float64(5),
Tags: pulumi.StringMap{
"createBy": pulumi.String("Terraform"),
},
VpcId: pulumi.String("vpc-dk8zmwuf"),
Zone: pulumi.String("ap-guangzhou-3"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.VpnGateway("example", new()
{
Bandwidth = 5,
Tags =
{
{ "createBy", "Terraform" },
},
VpcId = "vpc-dk8zmwuf",
Zone = "ap-guangzhou-3",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VpnGateway;
import com.pulumi.tencentcloud.VpnGatewayArgs;
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 example = new VpnGateway("example", VpnGatewayArgs.builder()
.bandwidth(5)
.tags(Map.of("createBy", "Terraform"))
.vpcId("vpc-dk8zmwuf")
.zone("ap-guangzhou-3")
.build());
}
}
resources:
example:
type: tencentcloud:VpnGateway
properties:
bandwidth: 5
tags:
createBy: Terraform
vpcId: vpc-dk8zmwuf
zone: ap-guangzhou-3
PREPAID VPN gateway
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VpnGateway("example", {
bandwidth: 5,
chargeType: "PREPAID",
prepaidPeriod: 1,
tags: {
createBy: "Terraform",
},
vpcId: "vpc-dk8zmwuf",
zone: "ap-guangzhou-3",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VpnGateway("example",
bandwidth=5,
charge_type="PREPAID",
prepaid_period=1,
tags={
"createBy": "Terraform",
},
vpc_id="vpc-dk8zmwuf",
zone="ap-guangzhou-3")
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.NewVpnGateway(ctx, "example", &tencentcloud.VpnGatewayArgs{
Bandwidth: pulumi.Float64(5),
ChargeType: pulumi.String("PREPAID"),
PrepaidPeriod: pulumi.Float64(1),
Tags: pulumi.StringMap{
"createBy": pulumi.String("Terraform"),
},
VpcId: pulumi.String("vpc-dk8zmwuf"),
Zone: pulumi.String("ap-guangzhou-3"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.VpnGateway("example", new()
{
Bandwidth = 5,
ChargeType = "PREPAID",
PrepaidPeriod = 1,
Tags =
{
{ "createBy", "Terraform" },
},
VpcId = "vpc-dk8zmwuf",
Zone = "ap-guangzhou-3",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VpnGateway;
import com.pulumi.tencentcloud.VpnGatewayArgs;
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 example = new VpnGateway("example", VpnGatewayArgs.builder()
.bandwidth(5)
.chargeType("PREPAID")
.prepaidPeriod(1)
.tags(Map.of("createBy", "Terraform"))
.vpcId("vpc-dk8zmwuf")
.zone("ap-guangzhou-3")
.build());
}
}
resources:
example:
type: tencentcloud:VpnGateway
properties:
bandwidth: 5
chargeType: PREPAID
prepaidPeriod: 1
tags:
createBy: Terraform
vpcId: vpc-dk8zmwuf
zone: ap-guangzhou-3
Create VpnGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpnGateway(name: string, args?: VpnGatewayArgs, opts?: CustomResourceOptions);
@overload
def VpnGateway(resource_name: str,
args: Optional[VpnGatewayArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def VpnGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[float] = None,
bgp_asn: Optional[float] = None,
cdc_id: Optional[str] = None,
charge_type: Optional[str] = None,
max_connection: Optional[float] = None,
name: Optional[str] = None,
prepaid_period: Optional[float] = None,
prepaid_renew_flag: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
type: Optional[str] = None,
vpc_id: Optional[str] = None,
vpn_gateway_id: Optional[str] = None,
zone: Optional[str] = None)
func NewVpnGateway(ctx *Context, name string, args *VpnGatewayArgs, opts ...ResourceOption) (*VpnGateway, error)
public VpnGateway(string name, VpnGatewayArgs? args = null, CustomResourceOptions? opts = null)
public VpnGateway(String name, VpnGatewayArgs args)
public VpnGateway(String name, VpnGatewayArgs args, CustomResourceOptions options)
type: tencentcloud:VpnGateway
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 VpnGatewayArgs
- 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 VpnGatewayArgs
- 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 VpnGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpnGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpnGatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
VpnGateway 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 VpnGateway resource accepts the following input properties:
- Bandwidth double
- The maximum public network output bandwidth of VPN gateway (unit: Mbps), the available values include: 5,10,20,50,100,200,500,1000. Default is 5. When charge type is
PREPAID
, bandwidth degradation operation is unsupported. - Bgp
Asn double - BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
- Cdc
Id string - CDC instance ID.
- Charge
Type string - Charge Type of the VPN gateway. Valid value:
PREPAID
,POSTPAID_BY_HOUR
. The default isPOSTPAID_BY_HOUR
. - Max
Connection double - Maximum number of connected clients allowed for the SSL VPN gateway. Valid values: [5, 10, 20, 50, 100]. This parameter is only required for SSL VPN gateways.
- Name string
- Name of the VPN gateway. The length of character is limited to 1-60.
- Prepaid
Period double - Period of instance to be prepaid. Valid value:
1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be changed onIPSEC
vpn gateway. - Prepaid
Renew stringFlag - Flag indicates whether to renew or not. Valid value:
NOTIFY_AND_AUTO_RENEW
,NOTIFY_AND_MANUAL_RENEW
. - Dictionary<string, string>
- A list of tags used to associate different resources.
- Type string
- Type of gateway instance, Default is
IPSEC
. Valid value:IPSEC
,SSL
,CCN
andSSL_CCN
. - Vpc
Id string - ID of the VPC. Required if vpn gateway is not in
CCN
orSSL_CCN
type, and doesn't make sense forCCN
orSSL_CCN
vpn gateway. - Vpn
Gateway stringId - ID of the resource.
- Zone string
- Zone of the VPN gateway.
- Bandwidth float64
- The maximum public network output bandwidth of VPN gateway (unit: Mbps), the available values include: 5,10,20,50,100,200,500,1000. Default is 5. When charge type is
PREPAID
, bandwidth degradation operation is unsupported. - Bgp
Asn float64 - BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
- Cdc
Id string - CDC instance ID.
- Charge
Type string - Charge Type of the VPN gateway. Valid value:
PREPAID
,POSTPAID_BY_HOUR
. The default isPOSTPAID_BY_HOUR
. - Max
Connection float64 - Maximum number of connected clients allowed for the SSL VPN gateway. Valid values: [5, 10, 20, 50, 100]. This parameter is only required for SSL VPN gateways.
- Name string
- Name of the VPN gateway. The length of character is limited to 1-60.
- Prepaid
Period float64 - Period of instance to be prepaid. Valid value:
1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be changed onIPSEC
vpn gateway. - Prepaid
Renew stringFlag - Flag indicates whether to renew or not. Valid value:
NOTIFY_AND_AUTO_RENEW
,NOTIFY_AND_MANUAL_RENEW
. - map[string]string
- A list of tags used to associate different resources.
- Type string
- Type of gateway instance, Default is
IPSEC
. Valid value:IPSEC
,SSL
,CCN
andSSL_CCN
. - Vpc
Id string - ID of the VPC. Required if vpn gateway is not in
CCN
orSSL_CCN
type, and doesn't make sense forCCN
orSSL_CCN
vpn gateway. - Vpn
Gateway stringId - ID of the resource.
- Zone string
- Zone of the VPN gateway.
- bandwidth Double
- The maximum public network output bandwidth of VPN gateway (unit: Mbps), the available values include: 5,10,20,50,100,200,500,1000. Default is 5. When charge type is
PREPAID
, bandwidth degradation operation is unsupported. - bgp
Asn Double - BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
- cdc
Id String - CDC instance ID.
- charge
Type String - Charge Type of the VPN gateway. Valid value:
PREPAID
,POSTPAID_BY_HOUR
. The default isPOSTPAID_BY_HOUR
. - max
Connection Double - Maximum number of connected clients allowed for the SSL VPN gateway. Valid values: [5, 10, 20, 50, 100]. This parameter is only required for SSL VPN gateways.
- name String
- Name of the VPN gateway. The length of character is limited to 1-60.
- prepaid
Period Double - Period of instance to be prepaid. Valid value:
1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be changed onIPSEC
vpn gateway. - prepaid
Renew StringFlag - Flag indicates whether to renew or not. Valid value:
NOTIFY_AND_AUTO_RENEW
,NOTIFY_AND_MANUAL_RENEW
. - Map<String,String>
- A list of tags used to associate different resources.
- type String
- Type of gateway instance, Default is
IPSEC
. Valid value:IPSEC
,SSL
,CCN
andSSL_CCN
. - vpc
Id String - ID of the VPC. Required if vpn gateway is not in
CCN
orSSL_CCN
type, and doesn't make sense forCCN
orSSL_CCN
vpn gateway. - vpn
Gateway StringId - ID of the resource.
- zone String
- Zone of the VPN gateway.
- bandwidth number
- The maximum public network output bandwidth of VPN gateway (unit: Mbps), the available values include: 5,10,20,50,100,200,500,1000. Default is 5. When charge type is
PREPAID
, bandwidth degradation operation is unsupported. - bgp
Asn number - BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
- cdc
Id string - CDC instance ID.
- charge
Type string - Charge Type of the VPN gateway. Valid value:
PREPAID
,POSTPAID_BY_HOUR
. The default isPOSTPAID_BY_HOUR
. - max
Connection number - Maximum number of connected clients allowed for the SSL VPN gateway. Valid values: [5, 10, 20, 50, 100]. This parameter is only required for SSL VPN gateways.
- name string
- Name of the VPN gateway. The length of character is limited to 1-60.
- prepaid
Period number - Period of instance to be prepaid. Valid value:
1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be changed onIPSEC
vpn gateway. - prepaid
Renew stringFlag - Flag indicates whether to renew or not. Valid value:
NOTIFY_AND_AUTO_RENEW
,NOTIFY_AND_MANUAL_RENEW
. - {[key: string]: string}
- A list of tags used to associate different resources.
- type string
- Type of gateway instance, Default is
IPSEC
. Valid value:IPSEC
,SSL
,CCN
andSSL_CCN
. - vpc
Id string - ID of the VPC. Required if vpn gateway is not in
CCN
orSSL_CCN
type, and doesn't make sense forCCN
orSSL_CCN
vpn gateway. - vpn
Gateway stringId - ID of the resource.
- zone string
- Zone of the VPN gateway.
- bandwidth float
- The maximum public network output bandwidth of VPN gateway (unit: Mbps), the available values include: 5,10,20,50,100,200,500,1000. Default is 5. When charge type is
PREPAID
, bandwidth degradation operation is unsupported. - bgp_
asn float - BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
- cdc_
id str - CDC instance ID.
- charge_
type str - Charge Type of the VPN gateway. Valid value:
PREPAID
,POSTPAID_BY_HOUR
. The default isPOSTPAID_BY_HOUR
. - max_
connection float - Maximum number of connected clients allowed for the SSL VPN gateway. Valid values: [5, 10, 20, 50, 100]. This parameter is only required for SSL VPN gateways.
- name str
- Name of the VPN gateway. The length of character is limited to 1-60.
- prepaid_
period float - Period of instance to be prepaid. Valid value:
1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be changed onIPSEC
vpn gateway. - prepaid_
renew_ strflag - Flag indicates whether to renew or not. Valid value:
NOTIFY_AND_AUTO_RENEW
,NOTIFY_AND_MANUAL_RENEW
. - Mapping[str, str]
- A list of tags used to associate different resources.
- type str
- Type of gateway instance, Default is
IPSEC
. Valid value:IPSEC
,SSL
,CCN
andSSL_CCN
. - vpc_
id str - ID of the VPC. Required if vpn gateway is not in
CCN
orSSL_CCN
type, and doesn't make sense forCCN
orSSL_CCN
vpn gateway. - vpn_
gateway_ strid - ID of the resource.
- zone str
- Zone of the VPN gateway.
- bandwidth Number
- The maximum public network output bandwidth of VPN gateway (unit: Mbps), the available values include: 5,10,20,50,100,200,500,1000. Default is 5. When charge type is
PREPAID
, bandwidth degradation operation is unsupported. - bgp
Asn Number - BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
- cdc
Id String - CDC instance ID.
- charge
Type String - Charge Type of the VPN gateway. Valid value:
PREPAID
,POSTPAID_BY_HOUR
. The default isPOSTPAID_BY_HOUR
. - max
Connection Number - Maximum number of connected clients allowed for the SSL VPN gateway. Valid values: [5, 10, 20, 50, 100]. This parameter is only required for SSL VPN gateways.
- name String
- Name of the VPN gateway. The length of character is limited to 1-60.
- prepaid
Period Number - Period of instance to be prepaid. Valid value:
1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be changed onIPSEC
vpn gateway. - prepaid
Renew StringFlag - Flag indicates whether to renew or not. Valid value:
NOTIFY_AND_AUTO_RENEW
,NOTIFY_AND_MANUAL_RENEW
. - Map<String>
- A list of tags used to associate different resources.
- type String
- Type of gateway instance, Default is
IPSEC
. Valid value:IPSEC
,SSL
,CCN
andSSL_CCN
. - vpc
Id String - ID of the VPC. Required if vpn gateway is not in
CCN
orSSL_CCN
type, and doesn't make sense forCCN
orSSL_CCN
vpn gateway. - vpn
Gateway StringId - ID of the resource.
- zone String
- Zone of the VPN gateway.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpnGateway resource produces the following output properties:
- Create
Time string - Create time of the VPN gateway.
- Expired
Time string - Expired time of the VPN gateway when charge type is
PREPAID
. - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Address boolBlocked - Indicates whether ip address is blocked.
- New
Purchase stringPlan - The plan of new purchase. Valid value:
PREPAID_TO_POSTPAID
. - Public
Ip stringAddress - Public IP of the VPN gateway.
- Restrict
State string - Restrict state of gateway. Valid value:
PRETECIVELY_ISOLATED
,NORMAL
. - State string
- State of the VPN gateway. Valid value:
PENDING
,DELETING
,AVAILABLE
.
- Create
Time string - Create time of the VPN gateway.
- Expired
Time string - Expired time of the VPN gateway when charge type is
PREPAID
. - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Address boolBlocked - Indicates whether ip address is blocked.
- New
Purchase stringPlan - The plan of new purchase. Valid value:
PREPAID_TO_POSTPAID
. - Public
Ip stringAddress - Public IP of the VPN gateway.
- Restrict
State string - Restrict state of gateway. Valid value:
PRETECIVELY_ISOLATED
,NORMAL
. - State string
- State of the VPN gateway. Valid value:
PENDING
,DELETING
,AVAILABLE
.
- create
Time String - Create time of the VPN gateway.
- expired
Time String - Expired time of the VPN gateway when charge type is
PREPAID
. - id String
- The provider-assigned unique ID for this managed resource.
- is
Address BooleanBlocked - Indicates whether ip address is blocked.
- new
Purchase StringPlan - The plan of new purchase. Valid value:
PREPAID_TO_POSTPAID
. - public
Ip StringAddress - Public IP of the VPN gateway.
- restrict
State String - Restrict state of gateway. Valid value:
PRETECIVELY_ISOLATED
,NORMAL
. - state String
- State of the VPN gateway. Valid value:
PENDING
,DELETING
,AVAILABLE
.
- create
Time string - Create time of the VPN gateway.
- expired
Time string - Expired time of the VPN gateway when charge type is
PREPAID
. - id string
- The provider-assigned unique ID for this managed resource.
- is
Address booleanBlocked - Indicates whether ip address is blocked.
- new
Purchase stringPlan - The plan of new purchase. Valid value:
PREPAID_TO_POSTPAID
. - public
Ip stringAddress - Public IP of the VPN gateway.
- restrict
State string - Restrict state of gateway. Valid value:
PRETECIVELY_ISOLATED
,NORMAL
. - state string
- State of the VPN gateway. Valid value:
PENDING
,DELETING
,AVAILABLE
.
- create_
time str - Create time of the VPN gateway.
- expired_
time str - Expired time of the VPN gateway when charge type is
PREPAID
. - id str
- The provider-assigned unique ID for this managed resource.
- is_
address_ boolblocked - Indicates whether ip address is blocked.
- new_
purchase_ strplan - The plan of new purchase. Valid value:
PREPAID_TO_POSTPAID
. - public_
ip_ straddress - Public IP of the VPN gateway.
- restrict_
state str - Restrict state of gateway. Valid value:
PRETECIVELY_ISOLATED
,NORMAL
. - state str
- State of the VPN gateway. Valid value:
PENDING
,DELETING
,AVAILABLE
.
- create
Time String - Create time of the VPN gateway.
- expired
Time String - Expired time of the VPN gateway when charge type is
PREPAID
. - id String
- The provider-assigned unique ID for this managed resource.
- is
Address BooleanBlocked - Indicates whether ip address is blocked.
- new
Purchase StringPlan - The plan of new purchase. Valid value:
PREPAID_TO_POSTPAID
. - public
Ip StringAddress - Public IP of the VPN gateway.
- restrict
State String - Restrict state of gateway. Valid value:
PRETECIVELY_ISOLATED
,NORMAL
. - state String
- State of the VPN gateway. Valid value:
PENDING
,DELETING
,AVAILABLE
.
Look up Existing VpnGateway Resource
Get an existing VpnGateway 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?: VpnGatewayState, opts?: CustomResourceOptions): VpnGateway
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[float] = None,
bgp_asn: Optional[float] = None,
cdc_id: Optional[str] = None,
charge_type: Optional[str] = None,
create_time: Optional[str] = None,
expired_time: Optional[str] = None,
is_address_blocked: Optional[bool] = None,
max_connection: Optional[float] = None,
name: Optional[str] = None,
new_purchase_plan: Optional[str] = None,
prepaid_period: Optional[float] = None,
prepaid_renew_flag: Optional[str] = None,
public_ip_address: Optional[str] = None,
restrict_state: Optional[str] = None,
state: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
type: Optional[str] = None,
vpc_id: Optional[str] = None,
vpn_gateway_id: Optional[str] = None,
zone: Optional[str] = None) -> VpnGateway
func GetVpnGateway(ctx *Context, name string, id IDInput, state *VpnGatewayState, opts ...ResourceOption) (*VpnGateway, error)
public static VpnGateway Get(string name, Input<string> id, VpnGatewayState? state, CustomResourceOptions? opts = null)
public static VpnGateway get(String name, Output<String> id, VpnGatewayState state, CustomResourceOptions options)
resources: _: type: tencentcloud:VpnGateway 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.
- Bandwidth double
- The maximum public network output bandwidth of VPN gateway (unit: Mbps), the available values include: 5,10,20,50,100,200,500,1000. Default is 5. When charge type is
PREPAID
, bandwidth degradation operation is unsupported. - Bgp
Asn double - BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
- Cdc
Id string - CDC instance ID.
- Charge
Type string - Charge Type of the VPN gateway. Valid value:
PREPAID
,POSTPAID_BY_HOUR
. The default isPOSTPAID_BY_HOUR
. - Create
Time string - Create time of the VPN gateway.
- Expired
Time string - Expired time of the VPN gateway when charge type is
PREPAID
. - Is
Address boolBlocked - Indicates whether ip address is blocked.
- Max
Connection double - Maximum number of connected clients allowed for the SSL VPN gateway. Valid values: [5, 10, 20, 50, 100]. This parameter is only required for SSL VPN gateways.
- Name string
- Name of the VPN gateway. The length of character is limited to 1-60.
- New
Purchase stringPlan - The plan of new purchase. Valid value:
PREPAID_TO_POSTPAID
. - Prepaid
Period double - Period of instance to be prepaid. Valid value:
1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be changed onIPSEC
vpn gateway. - Prepaid
Renew stringFlag - Flag indicates whether to renew or not. Valid value:
NOTIFY_AND_AUTO_RENEW
,NOTIFY_AND_MANUAL_RENEW
. - Public
Ip stringAddress - Public IP of the VPN gateway.
- Restrict
State string - Restrict state of gateway. Valid value:
PRETECIVELY_ISOLATED
,NORMAL
. - State string
- State of the VPN gateway. Valid value:
PENDING
,DELETING
,AVAILABLE
. - Dictionary<string, string>
- A list of tags used to associate different resources.
- Type string
- Type of gateway instance, Default is
IPSEC
. Valid value:IPSEC
,SSL
,CCN
andSSL_CCN
. - Vpc
Id string - ID of the VPC. Required if vpn gateway is not in
CCN
orSSL_CCN
type, and doesn't make sense forCCN
orSSL_CCN
vpn gateway. - Vpn
Gateway stringId - ID of the resource.
- Zone string
- Zone of the VPN gateway.
- Bandwidth float64
- The maximum public network output bandwidth of VPN gateway (unit: Mbps), the available values include: 5,10,20,50,100,200,500,1000. Default is 5. When charge type is
PREPAID
, bandwidth degradation operation is unsupported. - Bgp
Asn float64 - BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
- Cdc
Id string - CDC instance ID.
- Charge
Type string - Charge Type of the VPN gateway. Valid value:
PREPAID
,POSTPAID_BY_HOUR
. The default isPOSTPAID_BY_HOUR
. - Create
Time string - Create time of the VPN gateway.
- Expired
Time string - Expired time of the VPN gateway when charge type is
PREPAID
. - Is
Address boolBlocked - Indicates whether ip address is blocked.
- Max
Connection float64 - Maximum number of connected clients allowed for the SSL VPN gateway. Valid values: [5, 10, 20, 50, 100]. This parameter is only required for SSL VPN gateways.
- Name string
- Name of the VPN gateway. The length of character is limited to 1-60.
- New
Purchase stringPlan - The plan of new purchase. Valid value:
PREPAID_TO_POSTPAID
. - Prepaid
Period float64 - Period of instance to be prepaid. Valid value:
1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be changed onIPSEC
vpn gateway. - Prepaid
Renew stringFlag - Flag indicates whether to renew or not. Valid value:
NOTIFY_AND_AUTO_RENEW
,NOTIFY_AND_MANUAL_RENEW
. - Public
Ip stringAddress - Public IP of the VPN gateway.
- Restrict
State string - Restrict state of gateway. Valid value:
PRETECIVELY_ISOLATED
,NORMAL
. - State string
- State of the VPN gateway. Valid value:
PENDING
,DELETING
,AVAILABLE
. - map[string]string
- A list of tags used to associate different resources.
- Type string
- Type of gateway instance, Default is
IPSEC
. Valid value:IPSEC
,SSL
,CCN
andSSL_CCN
. - Vpc
Id string - ID of the VPC. Required if vpn gateway is not in
CCN
orSSL_CCN
type, and doesn't make sense forCCN
orSSL_CCN
vpn gateway. - Vpn
Gateway stringId - ID of the resource.
- Zone string
- Zone of the VPN gateway.
- bandwidth Double
- The maximum public network output bandwidth of VPN gateway (unit: Mbps), the available values include: 5,10,20,50,100,200,500,1000. Default is 5. When charge type is
PREPAID
, bandwidth degradation operation is unsupported. - bgp
Asn Double - BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
- cdc
Id String - CDC instance ID.
- charge
Type String - Charge Type of the VPN gateway. Valid value:
PREPAID
,POSTPAID_BY_HOUR
. The default isPOSTPAID_BY_HOUR
. - create
Time String - Create time of the VPN gateway.
- expired
Time String - Expired time of the VPN gateway when charge type is
PREPAID
. - is
Address BooleanBlocked - Indicates whether ip address is blocked.
- max
Connection Double - Maximum number of connected clients allowed for the SSL VPN gateway. Valid values: [5, 10, 20, 50, 100]. This parameter is only required for SSL VPN gateways.
- name String
- Name of the VPN gateway. The length of character is limited to 1-60.
- new
Purchase StringPlan - The plan of new purchase. Valid value:
PREPAID_TO_POSTPAID
. - prepaid
Period Double - Period of instance to be prepaid. Valid value:
1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be changed onIPSEC
vpn gateway. - prepaid
Renew StringFlag - Flag indicates whether to renew or not. Valid value:
NOTIFY_AND_AUTO_RENEW
,NOTIFY_AND_MANUAL_RENEW
. - public
Ip StringAddress - Public IP of the VPN gateway.
- restrict
State String - Restrict state of gateway. Valid value:
PRETECIVELY_ISOLATED
,NORMAL
. - state String
- State of the VPN gateway. Valid value:
PENDING
,DELETING
,AVAILABLE
. - Map<String,String>
- A list of tags used to associate different resources.
- type String
- Type of gateway instance, Default is
IPSEC
. Valid value:IPSEC
,SSL
,CCN
andSSL_CCN
. - vpc
Id String - ID of the VPC. Required if vpn gateway is not in
CCN
orSSL_CCN
type, and doesn't make sense forCCN
orSSL_CCN
vpn gateway. - vpn
Gateway StringId - ID of the resource.
- zone String
- Zone of the VPN gateway.
- bandwidth number
- The maximum public network output bandwidth of VPN gateway (unit: Mbps), the available values include: 5,10,20,50,100,200,500,1000. Default is 5. When charge type is
PREPAID
, bandwidth degradation operation is unsupported. - bgp
Asn number - BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
- cdc
Id string - CDC instance ID.
- charge
Type string - Charge Type of the VPN gateway. Valid value:
PREPAID
,POSTPAID_BY_HOUR
. The default isPOSTPAID_BY_HOUR
. - create
Time string - Create time of the VPN gateway.
- expired
Time string - Expired time of the VPN gateway when charge type is
PREPAID
. - is
Address booleanBlocked - Indicates whether ip address is blocked.
- max
Connection number - Maximum number of connected clients allowed for the SSL VPN gateway. Valid values: [5, 10, 20, 50, 100]. This parameter is only required for SSL VPN gateways.
- name string
- Name of the VPN gateway. The length of character is limited to 1-60.
- new
Purchase stringPlan - The plan of new purchase. Valid value:
PREPAID_TO_POSTPAID
. - prepaid
Period number - Period of instance to be prepaid. Valid value:
1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be changed onIPSEC
vpn gateway. - prepaid
Renew stringFlag - Flag indicates whether to renew or not. Valid value:
NOTIFY_AND_AUTO_RENEW
,NOTIFY_AND_MANUAL_RENEW
. - public
Ip stringAddress - Public IP of the VPN gateway.
- restrict
State string - Restrict state of gateway. Valid value:
PRETECIVELY_ISOLATED
,NORMAL
. - state string
- State of the VPN gateway. Valid value:
PENDING
,DELETING
,AVAILABLE
. - {[key: string]: string}
- A list of tags used to associate different resources.
- type string
- Type of gateway instance, Default is
IPSEC
. Valid value:IPSEC
,SSL
,CCN
andSSL_CCN
. - vpc
Id string - ID of the VPC. Required if vpn gateway is not in
CCN
orSSL_CCN
type, and doesn't make sense forCCN
orSSL_CCN
vpn gateway. - vpn
Gateway stringId - ID of the resource.
- zone string
- Zone of the VPN gateway.
- bandwidth float
- The maximum public network output bandwidth of VPN gateway (unit: Mbps), the available values include: 5,10,20,50,100,200,500,1000. Default is 5. When charge type is
PREPAID
, bandwidth degradation operation is unsupported. - bgp_
asn float - BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
- cdc_
id str - CDC instance ID.
- charge_
type str - Charge Type of the VPN gateway. Valid value:
PREPAID
,POSTPAID_BY_HOUR
. The default isPOSTPAID_BY_HOUR
. - create_
time str - Create time of the VPN gateway.
- expired_
time str - Expired time of the VPN gateway when charge type is
PREPAID
. - is_
address_ boolblocked - Indicates whether ip address is blocked.
- max_
connection float - Maximum number of connected clients allowed for the SSL VPN gateway. Valid values: [5, 10, 20, 50, 100]. This parameter is only required for SSL VPN gateways.
- name str
- Name of the VPN gateway. The length of character is limited to 1-60.
- new_
purchase_ strplan - The plan of new purchase. Valid value:
PREPAID_TO_POSTPAID
. - prepaid_
period float - Period of instance to be prepaid. Valid value:
1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be changed onIPSEC
vpn gateway. - prepaid_
renew_ strflag - Flag indicates whether to renew or not. Valid value:
NOTIFY_AND_AUTO_RENEW
,NOTIFY_AND_MANUAL_RENEW
. - public_
ip_ straddress - Public IP of the VPN gateway.
- restrict_
state str - Restrict state of gateway. Valid value:
PRETECIVELY_ISOLATED
,NORMAL
. - state str
- State of the VPN gateway. Valid value:
PENDING
,DELETING
,AVAILABLE
. - Mapping[str, str]
- A list of tags used to associate different resources.
- type str
- Type of gateway instance, Default is
IPSEC
. Valid value:IPSEC
,SSL
,CCN
andSSL_CCN
. - vpc_
id str - ID of the VPC. Required if vpn gateway is not in
CCN
orSSL_CCN
type, and doesn't make sense forCCN
orSSL_CCN
vpn gateway. - vpn_
gateway_ strid - ID of the resource.
- zone str
- Zone of the VPN gateway.
- bandwidth Number
- The maximum public network output bandwidth of VPN gateway (unit: Mbps), the available values include: 5,10,20,50,100,200,500,1000. Default is 5. When charge type is
PREPAID
, bandwidth degradation operation is unsupported. - bgp
Asn Number - BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
- cdc
Id String - CDC instance ID.
- charge
Type String - Charge Type of the VPN gateway. Valid value:
PREPAID
,POSTPAID_BY_HOUR
. The default isPOSTPAID_BY_HOUR
. - create
Time String - Create time of the VPN gateway.
- expired
Time String - Expired time of the VPN gateway when charge type is
PREPAID
. - is
Address BooleanBlocked - Indicates whether ip address is blocked.
- max
Connection Number - Maximum number of connected clients allowed for the SSL VPN gateway. Valid values: [5, 10, 20, 50, 100]. This parameter is only required for SSL VPN gateways.
- name String
- Name of the VPN gateway. The length of character is limited to 1-60.
- new
Purchase StringPlan - The plan of new purchase. Valid value:
PREPAID_TO_POSTPAID
. - prepaid
Period Number - Period of instance to be prepaid. Valid value:
1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be changed onIPSEC
vpn gateway. - prepaid
Renew StringFlag - Flag indicates whether to renew or not. Valid value:
NOTIFY_AND_AUTO_RENEW
,NOTIFY_AND_MANUAL_RENEW
. - public
Ip StringAddress - Public IP of the VPN gateway.
- restrict
State String - Restrict state of gateway. Valid value:
PRETECIVELY_ISOLATED
,NORMAL
. - state String
- State of the VPN gateway. Valid value:
PENDING
,DELETING
,AVAILABLE
. - Map<String>
- A list of tags used to associate different resources.
- type String
- Type of gateway instance, Default is
IPSEC
. Valid value:IPSEC
,SSL
,CCN
andSSL_CCN
. - vpc
Id String - ID of the VPC. Required if vpn gateway is not in
CCN
orSSL_CCN
type, and doesn't make sense forCCN
orSSL_CCN
vpn gateway. - vpn
Gateway StringId - ID of the resource.
- zone String
- Zone of the VPN gateway.
Import
VPN gateway can be imported using the id, e.g.
$ pulumi import tencentcloud:index/vpnGateway:VpnGateway example vpngw-8ccsnclt
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.