1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. VpnGateway
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
resources:
  example:
    type: tencentcloud:VpnGateway
    properties:
      bandwidth: 5
      tags:
        createBy: Terraform
      type: SSL
      vpcId: vpc-86v957zb
      zone: ap-guangzhou-3
Copy

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",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.VpnGateway("example",
    bandwidth=5,
    tags={
        "createBy": "Terraform",
    },
    type="IPSEC",
    zone="ap-guangzhou-3")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
resources:
  example:
    type: tencentcloud:VpnGateway
    properties:
      bandwidth: 5
      tags:
        createBy: Terraform
      type: IPSEC
      zone: ap-guangzhou-3
Copy

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",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.VpnGateway("example",
    bandwidth=5,
    tags={
        "createBy": "Terraform",
    },
    type="SSL_CCN",
    zone="ap-guangzhou-3")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
resources:
  example:
    type: tencentcloud:VpnGateway
    properties:
      bandwidth: 5
      tags:
        createBy: Terraform
      type: SSL_CCN
      zone: ap-guangzhou-3
Copy

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",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.VpnGateway("example",
    bandwidth=200,
    bgp_asn=9000,
    tags={
        "createBy": "Terraform",
    },
    type="CCN")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
resources:
  example:
    type: tencentcloud:VpnGateway
    properties:
      bandwidth: 200
      bgpAsn: 9000
      tags:
        createBy: Terraform
      type: CCN
Copy

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",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.VpnGateway("example",
    bandwidth=5,
    tags={
        "createBy": "Terraform",
    },
    vpc_id="vpc-dk8zmwuf",
    zone="ap-guangzhou-3")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
resources:
  example:
    type: tencentcloud:VpnGateway
    properties:
      bandwidth: 5
      tags:
        createBy: Terraform
      vpcId: vpc-dk8zmwuf
      zone: ap-guangzhou-3
Copy

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
resources:
  example:
    type: tencentcloud:VpnGateway
    properties:
      bandwidth: 5
      chargeType: PREPAID
      prepaidPeriod: 1
      tags:
        createBy: Terraform
      vpcId: vpc-dk8zmwuf
      zone: ap-guangzhou-3
Copy

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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
The unique name of the resource.
args This property is required. 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.
BgpAsn double
BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
CdcId string
CDC instance ID.
ChargeType string
Charge Type of the VPN gateway. Valid value: PREPAID, POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR.
MaxConnection 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.
PrepaidPeriod 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 on IPSEC vpn gateway.
PrepaidRenewFlag string
Flag indicates whether to renew or not. Valid value: NOTIFY_AND_AUTO_RENEW, NOTIFY_AND_MANUAL_RENEW.
Tags 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 and SSL_CCN.
VpcId string
ID of the VPC. Required if vpn gateway is not in CCN or SSL_CCN type, and doesn't make sense for CCN or SSL_CCN vpn gateway.
VpnGatewayId string
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.
BgpAsn float64
BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
CdcId string
CDC instance ID.
ChargeType string
Charge Type of the VPN gateway. Valid value: PREPAID, POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR.
MaxConnection 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.
PrepaidPeriod 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 on IPSEC vpn gateway.
PrepaidRenewFlag string
Flag indicates whether to renew or not. Valid value: NOTIFY_AND_AUTO_RENEW, NOTIFY_AND_MANUAL_RENEW.
Tags 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 and SSL_CCN.
VpcId string
ID of the VPC. Required if vpn gateway is not in CCN or SSL_CCN type, and doesn't make sense for CCN or SSL_CCN vpn gateway.
VpnGatewayId string
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.
bgpAsn Double
BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
cdcId String
CDC instance ID.
chargeType String
Charge Type of the VPN gateway. Valid value: PREPAID, POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR.
maxConnection 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.
prepaidPeriod 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 on IPSEC vpn gateway.
prepaidRenewFlag String
Flag indicates whether to renew or not. Valid value: NOTIFY_AND_AUTO_RENEW, NOTIFY_AND_MANUAL_RENEW.
tags 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 and SSL_CCN.
vpcId String
ID of the VPC. Required if vpn gateway is not in CCN or SSL_CCN type, and doesn't make sense for CCN or SSL_CCN vpn gateway.
vpnGatewayId String
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.
bgpAsn number
BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
cdcId string
CDC instance ID.
chargeType string
Charge Type of the VPN gateway. Valid value: PREPAID, POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR.
maxConnection 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.
prepaidPeriod 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 on IPSEC vpn gateway.
prepaidRenewFlag string
Flag indicates whether to renew or not. Valid value: NOTIFY_AND_AUTO_RENEW, NOTIFY_AND_MANUAL_RENEW.
tags {[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 and SSL_CCN.
vpcId string
ID of the VPC. Required if vpn gateway is not in CCN or SSL_CCN type, and doesn't make sense for CCN or SSL_CCN vpn gateway.
vpnGatewayId string
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 is POSTPAID_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 on IPSEC vpn gateway.
prepaid_renew_flag str
Flag indicates whether to renew or not. Valid value: NOTIFY_AND_AUTO_RENEW, NOTIFY_AND_MANUAL_RENEW.
tags 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 and SSL_CCN.
vpc_id str
ID of the VPC. Required if vpn gateway is not in CCN or SSL_CCN type, and doesn't make sense for CCN or SSL_CCN vpn gateway.
vpn_gateway_id str
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.
bgpAsn Number
BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
cdcId String
CDC instance ID.
chargeType String
Charge Type of the VPN gateway. Valid value: PREPAID, POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR.
maxConnection 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.
prepaidPeriod 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 on IPSEC vpn gateway.
prepaidRenewFlag String
Flag indicates whether to renew or not. Valid value: NOTIFY_AND_AUTO_RENEW, NOTIFY_AND_MANUAL_RENEW.
tags 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 and SSL_CCN.
vpcId String
ID of the VPC. Required if vpn gateway is not in CCN or SSL_CCN type, and doesn't make sense for CCN or SSL_CCN vpn gateway.
vpnGatewayId String
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:

CreateTime string
Create time of the VPN gateway.
ExpiredTime string
Expired time of the VPN gateway when charge type is PREPAID.
Id string
The provider-assigned unique ID for this managed resource.
IsAddressBlocked bool
Indicates whether ip address is blocked.
NewPurchasePlan string
The plan of new purchase. Valid value: PREPAID_TO_POSTPAID.
PublicIpAddress string
Public IP of the VPN gateway.
RestrictState string
Restrict state of gateway. Valid value: PRETECIVELY_ISOLATED, NORMAL.
State string
State of the VPN gateway. Valid value: PENDING, DELETING, AVAILABLE.
CreateTime string
Create time of the VPN gateway.
ExpiredTime string
Expired time of the VPN gateway when charge type is PREPAID.
Id string
The provider-assigned unique ID for this managed resource.
IsAddressBlocked bool
Indicates whether ip address is blocked.
NewPurchasePlan string
The plan of new purchase. Valid value: PREPAID_TO_POSTPAID.
PublicIpAddress string
Public IP of the VPN gateway.
RestrictState string
Restrict state of gateway. Valid value: PRETECIVELY_ISOLATED, NORMAL.
State string
State of the VPN gateway. Valid value: PENDING, DELETING, AVAILABLE.
createTime String
Create time of the VPN gateway.
expiredTime String
Expired time of the VPN gateway when charge type is PREPAID.
id String
The provider-assigned unique ID for this managed resource.
isAddressBlocked Boolean
Indicates whether ip address is blocked.
newPurchasePlan String
The plan of new purchase. Valid value: PREPAID_TO_POSTPAID.
publicIpAddress String
Public IP of the VPN gateway.
restrictState String
Restrict state of gateway. Valid value: PRETECIVELY_ISOLATED, NORMAL.
state String
State of the VPN gateway. Valid value: PENDING, DELETING, AVAILABLE.
createTime string
Create time of the VPN gateway.
expiredTime string
Expired time of the VPN gateway when charge type is PREPAID.
id string
The provider-assigned unique ID for this managed resource.
isAddressBlocked boolean
Indicates whether ip address is blocked.
newPurchasePlan string
The plan of new purchase. Valid value: PREPAID_TO_POSTPAID.
publicIpAddress string
Public IP of the VPN gateway.
restrictState 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_blocked bool
Indicates whether ip address is blocked.
new_purchase_plan str
The plan of new purchase. Valid value: PREPAID_TO_POSTPAID.
public_ip_address str
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.
createTime String
Create time of the VPN gateway.
expiredTime String
Expired time of the VPN gateway when charge type is PREPAID.
id String
The provider-assigned unique ID for this managed resource.
isAddressBlocked Boolean
Indicates whether ip address is blocked.
newPurchasePlan String
The plan of new purchase. Valid value: PREPAID_TO_POSTPAID.
publicIpAddress String
Public IP of the VPN gateway.
restrictState 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
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.
BgpAsn double
BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
CdcId string
CDC instance ID.
ChargeType string
Charge Type of the VPN gateway. Valid value: PREPAID, POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR.
CreateTime string
Create time of the VPN gateway.
ExpiredTime string
Expired time of the VPN gateway when charge type is PREPAID.
IsAddressBlocked bool
Indicates whether ip address is blocked.
MaxConnection 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.
NewPurchasePlan string
The plan of new purchase. Valid value: PREPAID_TO_POSTPAID.
PrepaidPeriod 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 on IPSEC vpn gateway.
PrepaidRenewFlag string
Flag indicates whether to renew or not. Valid value: NOTIFY_AND_AUTO_RENEW, NOTIFY_AND_MANUAL_RENEW.
PublicIpAddress string
Public IP of the VPN gateway.
RestrictState string
Restrict state of gateway. Valid value: PRETECIVELY_ISOLATED, NORMAL.
State string
State of the VPN gateway. Valid value: PENDING, DELETING, AVAILABLE.
Tags 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 and SSL_CCN.
VpcId string
ID of the VPC. Required if vpn gateway is not in CCN or SSL_CCN type, and doesn't make sense for CCN or SSL_CCN vpn gateway.
VpnGatewayId string
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.
BgpAsn float64
BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
CdcId string
CDC instance ID.
ChargeType string
Charge Type of the VPN gateway. Valid value: PREPAID, POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR.
CreateTime string
Create time of the VPN gateway.
ExpiredTime string
Expired time of the VPN gateway when charge type is PREPAID.
IsAddressBlocked bool
Indicates whether ip address is blocked.
MaxConnection 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.
NewPurchasePlan string
The plan of new purchase. Valid value: PREPAID_TO_POSTPAID.
PrepaidPeriod 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 on IPSEC vpn gateway.
PrepaidRenewFlag string
Flag indicates whether to renew or not. Valid value: NOTIFY_AND_AUTO_RENEW, NOTIFY_AND_MANUAL_RENEW.
PublicIpAddress string
Public IP of the VPN gateway.
RestrictState string
Restrict state of gateway. Valid value: PRETECIVELY_ISOLATED, NORMAL.
State string
State of the VPN gateway. Valid value: PENDING, DELETING, AVAILABLE.
Tags 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 and SSL_CCN.
VpcId string
ID of the VPC. Required if vpn gateway is not in CCN or SSL_CCN type, and doesn't make sense for CCN or SSL_CCN vpn gateway.
VpnGatewayId string
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.
bgpAsn Double
BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
cdcId String
CDC instance ID.
chargeType String
Charge Type of the VPN gateway. Valid value: PREPAID, POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR.
createTime String
Create time of the VPN gateway.
expiredTime String
Expired time of the VPN gateway when charge type is PREPAID.
isAddressBlocked Boolean
Indicates whether ip address is blocked.
maxConnection 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.
newPurchasePlan String
The plan of new purchase. Valid value: PREPAID_TO_POSTPAID.
prepaidPeriod 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 on IPSEC vpn gateway.
prepaidRenewFlag String
Flag indicates whether to renew or not. Valid value: NOTIFY_AND_AUTO_RENEW, NOTIFY_AND_MANUAL_RENEW.
publicIpAddress String
Public IP of the VPN gateway.
restrictState String
Restrict state of gateway. Valid value: PRETECIVELY_ISOLATED, NORMAL.
state String
State of the VPN gateway. Valid value: PENDING, DELETING, AVAILABLE.
tags 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 and SSL_CCN.
vpcId String
ID of the VPC. Required if vpn gateway is not in CCN or SSL_CCN type, and doesn't make sense for CCN or SSL_CCN vpn gateway.
vpnGatewayId String
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.
bgpAsn number
BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
cdcId string
CDC instance ID.
chargeType string
Charge Type of the VPN gateway. Valid value: PREPAID, POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR.
createTime string
Create time of the VPN gateway.
expiredTime string
Expired time of the VPN gateway when charge type is PREPAID.
isAddressBlocked boolean
Indicates whether ip address is blocked.
maxConnection 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.
newPurchasePlan string
The plan of new purchase. Valid value: PREPAID_TO_POSTPAID.
prepaidPeriod 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 on IPSEC vpn gateway.
prepaidRenewFlag string
Flag indicates whether to renew or not. Valid value: NOTIFY_AND_AUTO_RENEW, NOTIFY_AND_MANUAL_RENEW.
publicIpAddress string
Public IP of the VPN gateway.
restrictState string
Restrict state of gateway. Valid value: PRETECIVELY_ISOLATED, NORMAL.
state string
State of the VPN gateway. Valid value: PENDING, DELETING, AVAILABLE.
tags {[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 and SSL_CCN.
vpcId string
ID of the VPC. Required if vpn gateway is not in CCN or SSL_CCN type, and doesn't make sense for CCN or SSL_CCN vpn gateway.
vpnGatewayId string
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 is POSTPAID_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_blocked bool
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_plan str
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 on IPSEC vpn gateway.
prepaid_renew_flag str
Flag indicates whether to renew or not. Valid value: NOTIFY_AND_AUTO_RENEW, NOTIFY_AND_MANUAL_RENEW.
public_ip_address str
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.
tags 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 and SSL_CCN.
vpc_id str
ID of the VPC. Required if vpn gateway is not in CCN or SSL_CCN type, and doesn't make sense for CCN or SSL_CCN vpn gateway.
vpn_gateway_id str
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.
bgpAsn Number
BGP ASN. Value range: 1 - 4294967295. Using BGP requires configuring ASN.
cdcId String
CDC instance ID.
chargeType String
Charge Type of the VPN gateway. Valid value: PREPAID, POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR.
createTime String
Create time of the VPN gateway.
expiredTime String
Expired time of the VPN gateway when charge type is PREPAID.
isAddressBlocked Boolean
Indicates whether ip address is blocked.
maxConnection 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.
newPurchasePlan String
The plan of new purchase. Valid value: PREPAID_TO_POSTPAID.
prepaidPeriod 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 on IPSEC vpn gateway.
prepaidRenewFlag String
Flag indicates whether to renew or not. Valid value: NOTIFY_AND_AUTO_RENEW, NOTIFY_AND_MANUAL_RENEW.
publicIpAddress String
Public IP of the VPN gateway.
restrictState String
Restrict state of gateway. Valid value: PRETECIVELY_ISOLATED, NORMAL.
state String
State of the VPN gateway. Valid value: PENDING, DELETING, AVAILABLE.
tags 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 and SSL_CCN.
vpcId String
ID of the VPC. Required if vpn gateway is not in CCN or SSL_CCN type, and doesn't make sense for CCN or SSL_CCN vpn gateway.
vpnGatewayId String
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
Copy

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.