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

tencentcloud.getVpnConnections

Explore with Pulumi AI

Use this data source to query detailed information of VPN connections.

Example Usage

Query all vpn connections

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const example = tencentcloud.getVpnConnections({});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.get_vpn_connections()
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.GetVpnConnections(ctx, &tencentcloud.GetVpnConnectionsArgs{}, nil)
		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 = Tencentcloud.GetVpnConnections.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetVpnConnectionsArgs;
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 example = TencentcloudFunctions.getVpnConnections();

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: tencentcloud:getVpnConnections
      arguments: {}
Copy

Query vpn connections by filters

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const example = tencentcloud.getVpnConnections({
    customerGatewayId: "cgw-r1g6c8fr",
    id: "vpnx-fq4e4364",
    name: "tf-example",
    tags: {
        createBy: "Terraform",
    },
    vpcId: "vpc-6ccw0s5l",
    vpnGatewayId: "vpngw-8ccsnclt",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.get_vpn_connections(customer_gateway_id="cgw-r1g6c8fr",
    id="vpnx-fq4e4364",
    name="tf-example",
    tags={
        "createBy": "Terraform",
    },
    vpc_id="vpc-6ccw0s5l",
    vpn_gateway_id="vpngw-8ccsnclt")
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.GetVpnConnections(ctx, &tencentcloud.GetVpnConnectionsArgs{
			CustomerGatewayId: pulumi.StringRef("cgw-r1g6c8fr"),
			Id:                pulumi.StringRef("vpnx-fq4e4364"),
			Name:              pulumi.StringRef("tf-example"),
			Tags: map[string]interface{}{
				"createBy": "Terraform",
			},
			VpcId:        pulumi.StringRef("vpc-6ccw0s5l"),
			VpnGatewayId: pulumi.StringRef("vpngw-8ccsnclt"),
		}, nil)
		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 = Tencentcloud.GetVpnConnections.Invoke(new()
    {
        CustomerGatewayId = "cgw-r1g6c8fr",
        Id = "vpnx-fq4e4364",
        Name = "tf-example",
        Tags = 
        {
            { "createBy", "Terraform" },
        },
        VpcId = "vpc-6ccw0s5l",
        VpnGatewayId = "vpngw-8ccsnclt",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetVpnConnectionsArgs;
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 example = TencentcloudFunctions.getVpnConnections(GetVpnConnectionsArgs.builder()
            .customerGatewayId("cgw-r1g6c8fr")
            .id("vpnx-fq4e4364")
            .name("tf-example")
            .tags(Map.of("createBy", "Terraform"))
            .vpcId("vpc-6ccw0s5l")
            .vpnGatewayId("vpngw-8ccsnclt")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: tencentcloud:getVpnConnections
      arguments:
        customerGatewayId: cgw-r1g6c8fr
        id: vpnx-fq4e4364
        name: tf-example
        tags:
          createBy: Terraform
        vpcId: vpc-6ccw0s5l
        vpnGatewayId: vpngw-8ccsnclt
Copy

Using getVpnConnections

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getVpnConnections(args: GetVpnConnectionsArgs, opts?: InvokeOptions): Promise<GetVpnConnectionsResult>
function getVpnConnectionsOutput(args: GetVpnConnectionsOutputArgs, opts?: InvokeOptions): Output<GetVpnConnectionsResult>
Copy
def get_vpn_connections(customer_gateway_id: Optional[str] = None,
                        id: Optional[str] = None,
                        name: Optional[str] = None,
                        result_output_file: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        vpc_id: Optional[str] = None,
                        vpn_gateway_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetVpnConnectionsResult
def get_vpn_connections_output(customer_gateway_id: Optional[pulumi.Input[str]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        result_output_file: Optional[pulumi.Input[str]] = None,
                        tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                        vpc_id: Optional[pulumi.Input[str]] = None,
                        vpn_gateway_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetVpnConnectionsResult]
Copy
func GetVpnConnections(ctx *Context, args *GetVpnConnectionsArgs, opts ...InvokeOption) (*GetVpnConnectionsResult, error)
func GetVpnConnectionsOutput(ctx *Context, args *GetVpnConnectionsOutputArgs, opts ...InvokeOption) GetVpnConnectionsResultOutput
Copy

> Note: This function is named GetVpnConnections in the Go SDK.

public static class GetVpnConnections 
{
    public static Task<GetVpnConnectionsResult> InvokeAsync(GetVpnConnectionsArgs args, InvokeOptions? opts = null)
    public static Output<GetVpnConnectionsResult> Invoke(GetVpnConnectionsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVpnConnectionsResult> getVpnConnections(GetVpnConnectionsArgs args, InvokeOptions options)
public static Output<GetVpnConnectionsResult> getVpnConnections(GetVpnConnectionsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getVpnConnections:getVpnConnections
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CustomerGatewayId string
Customer gateway ID of the VPN connection.
Id string
ID of the VPN connection.
Name string
Name of the VPN connection. The length of character is limited to 1-60.
ResultOutputFile string
Used to save results.
Tags Dictionary<string, string>
Tags of the VPN connection to be queried.
VpcId string
ID of the VPC.
VpnGatewayId string
VPN gateway ID of the VPN connection.
CustomerGatewayId string
Customer gateway ID of the VPN connection.
Id string
ID of the VPN connection.
Name string
Name of the VPN connection. The length of character is limited to 1-60.
ResultOutputFile string
Used to save results.
Tags map[string]string
Tags of the VPN connection to be queried.
VpcId string
ID of the VPC.
VpnGatewayId string
VPN gateway ID of the VPN connection.
customerGatewayId String
Customer gateway ID of the VPN connection.
id String
ID of the VPN connection.
name String
Name of the VPN connection. The length of character is limited to 1-60.
resultOutputFile String
Used to save results.
tags Map<String,String>
Tags of the VPN connection to be queried.
vpcId String
ID of the VPC.
vpnGatewayId String
VPN gateway ID of the VPN connection.
customerGatewayId string
Customer gateway ID of the VPN connection.
id string
ID of the VPN connection.
name string
Name of the VPN connection. The length of character is limited to 1-60.
resultOutputFile string
Used to save results.
tags {[key: string]: string}
Tags of the VPN connection to be queried.
vpcId string
ID of the VPC.
vpnGatewayId string
VPN gateway ID of the VPN connection.
customer_gateway_id str
Customer gateway ID of the VPN connection.
id str
ID of the VPN connection.
name str
Name of the VPN connection. The length of character is limited to 1-60.
result_output_file str
Used to save results.
tags Mapping[str, str]
Tags of the VPN connection to be queried.
vpc_id str
ID of the VPC.
vpn_gateway_id str
VPN gateway ID of the VPN connection.
customerGatewayId String
Customer gateway ID of the VPN connection.
id String
ID of the VPN connection.
name String
Name of the VPN connection. The length of character is limited to 1-60.
resultOutputFile String
Used to save results.
tags Map<String>
Tags of the VPN connection to be queried.
vpcId String
ID of the VPC.
vpnGatewayId String
VPN gateway ID of the VPN connection.

getVpnConnections Result

The following output properties are available:

ConnectionLists List<GetVpnConnectionsConnectionList>
Information list of the dedicated connections.
CustomerGatewayId string
ID of the customer gateway.
Id string
ID of the VPN connection.
Name string
Name of the VPN connection.
ResultOutputFile string
Tags Dictionary<string, string>
A list of tags used to associate different resources.
VpcId string
ID of the VPC.
VpnGatewayId string
ID of the VPN gateway.
ConnectionLists []GetVpnConnectionsConnectionList
Information list of the dedicated connections.
CustomerGatewayId string
ID of the customer gateway.
Id string
ID of the VPN connection.
Name string
Name of the VPN connection.
ResultOutputFile string
Tags map[string]string
A list of tags used to associate different resources.
VpcId string
ID of the VPC.
VpnGatewayId string
ID of the VPN gateway.
connectionLists List<GetVpnConnectionsConnectionList>
Information list of the dedicated connections.
customerGatewayId String
ID of the customer gateway.
id String
ID of the VPN connection.
name String
Name of the VPN connection.
resultOutputFile String
tags Map<String,String>
A list of tags used to associate different resources.
vpcId String
ID of the VPC.
vpnGatewayId String
ID of the VPN gateway.
connectionLists GetVpnConnectionsConnectionList[]
Information list of the dedicated connections.
customerGatewayId string
ID of the customer gateway.
id string
ID of the VPN connection.
name string
Name of the VPN connection.
resultOutputFile string
tags {[key: string]: string}
A list of tags used to associate different resources.
vpcId string
ID of the VPC.
vpnGatewayId string
ID of the VPN gateway.
connection_lists Sequence[GetVpnConnectionsConnectionList]
Information list of the dedicated connections.
customer_gateway_id str
ID of the customer gateway.
id str
ID of the VPN connection.
name str
Name of the VPN connection.
result_output_file str
tags Mapping[str, str]
A list of tags used to associate different resources.
vpc_id str
ID of the VPC.
vpn_gateway_id str
ID of the VPN gateway.
connectionLists List<Property Map>
Information list of the dedicated connections.
customerGatewayId String
ID of the customer gateway.
id String
ID of the VPN connection.
name String
Name of the VPN connection.
resultOutputFile String
tags Map<String>
A list of tags used to associate different resources.
vpcId String
ID of the VPC.
vpnGatewayId String
ID of the VPN gateway.

Supporting Types

GetVpnConnectionsConnectionList

CreateTime This property is required. string
Create time of the VPN connection.
CustomerGatewayId This property is required. string
Customer gateway ID of the VPN connection.
EncryptProto This property is required. string
Encrypt proto of the VPN connection.
Id This property is required. string
ID of the VPN connection.
IkeDhGroupName This property is required. string
DH group name of the IKE operation specification.
IkeExchangeMode This property is required. string
Exchange mode of the IKE operation specification.
IkeLocalAddress This property is required. string
Local address of the IKE operation specification.
IkeLocalFqdnName This property is required. string
Local FQDN name of the IKE operation specification.
IkeLocalIdentity This property is required. string
Local identity of the IKE operation specification.
IkeProtoAuthenAlgorithm This property is required. string
Proto authenticate algorithm of the IKE operation specification.
IkeProtoEncryAlgorithm This property is required. string
Proto encrypt algorithm of the IKE operation specification.
IkeRemoteAddress This property is required. string
Remote address of the IKE operation specification.
IkeRemoteFqdnName This property is required. string
Remote FQDN name of the IKE operation specification.
IkeRemoteIdentity This property is required. string
Remote identity of the IKE operation specification.
IkeSaLifetimeSeconds This property is required. double
SA lifetime of the IKE operation specification, unit is second.
IkeVersion This property is required. string
Version of the IKE operation specification.
IpsecEncryptAlgorithm This property is required. string
Encrypt algorithm of the IPSEC operation specification.
IpsecIntegrityAlgorithm This property is required. string
Integrity algorithm of the IPSEC operation specification.
IpsecPfsDhGroup This property is required. string
PFS DH group name of the IPSEC operation specification.
IpsecSaLifetimeSeconds This property is required. double
SA lifetime of the IPSEC operation specification, unit is second.
IpsecSaLifetimeTraffic This property is required. double
SA lifetime traffic of the IPSEC operation specification, unit is KB.
Name This property is required. string
Name of the VPN connection. The length of character is limited to 1-60.
NetStatus This property is required. string
Net status of the VPN connection.
PreShareKey This property is required. string
Pre-shared key of the VPN connection.
RouteType This property is required. string
Route type of the VPN connection.
SecurityGroupPolicies This property is required. List<GetVpnConnectionsConnectionListSecurityGroupPolicy>
Security group policy of the VPN connection.
State This property is required. string
State of the VPN connection.
Tags This property is required. Dictionary<string, string>
Tags of the VPN connection to be queried.
VpcId This property is required. string
ID of the VPC.
VpnGatewayId This property is required. string
VPN gateway ID of the VPN connection.
VpnProto This property is required. string
Vpn proto of the VPN connection.
CreateTime This property is required. string
Create time of the VPN connection.
CustomerGatewayId This property is required. string
Customer gateway ID of the VPN connection.
EncryptProto This property is required. string
Encrypt proto of the VPN connection.
Id This property is required. string
ID of the VPN connection.
IkeDhGroupName This property is required. string
DH group name of the IKE operation specification.
IkeExchangeMode This property is required. string
Exchange mode of the IKE operation specification.
IkeLocalAddress This property is required. string
Local address of the IKE operation specification.
IkeLocalFqdnName This property is required. string
Local FQDN name of the IKE operation specification.
IkeLocalIdentity This property is required. string
Local identity of the IKE operation specification.
IkeProtoAuthenAlgorithm This property is required. string
Proto authenticate algorithm of the IKE operation specification.
IkeProtoEncryAlgorithm This property is required. string
Proto encrypt algorithm of the IKE operation specification.
IkeRemoteAddress This property is required. string
Remote address of the IKE operation specification.
IkeRemoteFqdnName This property is required. string
Remote FQDN name of the IKE operation specification.
IkeRemoteIdentity This property is required. string
Remote identity of the IKE operation specification.
IkeSaLifetimeSeconds This property is required. float64
SA lifetime of the IKE operation specification, unit is second.
IkeVersion This property is required. string
Version of the IKE operation specification.
IpsecEncryptAlgorithm This property is required. string
Encrypt algorithm of the IPSEC operation specification.
IpsecIntegrityAlgorithm This property is required. string
Integrity algorithm of the IPSEC operation specification.
IpsecPfsDhGroup This property is required. string
PFS DH group name of the IPSEC operation specification.
IpsecSaLifetimeSeconds This property is required. float64
SA lifetime of the IPSEC operation specification, unit is second.
IpsecSaLifetimeTraffic This property is required. float64
SA lifetime traffic of the IPSEC operation specification, unit is KB.
Name This property is required. string
Name of the VPN connection. The length of character is limited to 1-60.
NetStatus This property is required. string
Net status of the VPN connection.
PreShareKey This property is required. string
Pre-shared key of the VPN connection.
RouteType This property is required. string
Route type of the VPN connection.
SecurityGroupPolicies This property is required. []GetVpnConnectionsConnectionListSecurityGroupPolicy
Security group policy of the VPN connection.
State This property is required. string
State of the VPN connection.
Tags This property is required. map[string]string
Tags of the VPN connection to be queried.
VpcId This property is required. string
ID of the VPC.
VpnGatewayId This property is required. string
VPN gateway ID of the VPN connection.
VpnProto This property is required. string
Vpn proto of the VPN connection.
createTime This property is required. String
Create time of the VPN connection.
customerGatewayId This property is required. String
Customer gateway ID of the VPN connection.
encryptProto This property is required. String
Encrypt proto of the VPN connection.
id This property is required. String
ID of the VPN connection.
ikeDhGroupName This property is required. String
DH group name of the IKE operation specification.
ikeExchangeMode This property is required. String
Exchange mode of the IKE operation specification.
ikeLocalAddress This property is required. String
Local address of the IKE operation specification.
ikeLocalFqdnName This property is required. String
Local FQDN name of the IKE operation specification.
ikeLocalIdentity This property is required. String
Local identity of the IKE operation specification.
ikeProtoAuthenAlgorithm This property is required. String
Proto authenticate algorithm of the IKE operation specification.
ikeProtoEncryAlgorithm This property is required. String
Proto encrypt algorithm of the IKE operation specification.
ikeRemoteAddress This property is required. String
Remote address of the IKE operation specification.
ikeRemoteFqdnName This property is required. String
Remote FQDN name of the IKE operation specification.
ikeRemoteIdentity This property is required. String
Remote identity of the IKE operation specification.
ikeSaLifetimeSeconds This property is required. Double
SA lifetime of the IKE operation specification, unit is second.
ikeVersion This property is required. String
Version of the IKE operation specification.
ipsecEncryptAlgorithm This property is required. String
Encrypt algorithm of the IPSEC operation specification.
ipsecIntegrityAlgorithm This property is required. String
Integrity algorithm of the IPSEC operation specification.
ipsecPfsDhGroup This property is required. String
PFS DH group name of the IPSEC operation specification.
ipsecSaLifetimeSeconds This property is required. Double
SA lifetime of the IPSEC operation specification, unit is second.
ipsecSaLifetimeTraffic This property is required. Double
SA lifetime traffic of the IPSEC operation specification, unit is KB.
name This property is required. String
Name of the VPN connection. The length of character is limited to 1-60.
netStatus This property is required. String
Net status of the VPN connection.
preShareKey This property is required. String
Pre-shared key of the VPN connection.
routeType This property is required. String
Route type of the VPN connection.
securityGroupPolicies This property is required. List<GetVpnConnectionsConnectionListSecurityGroupPolicy>
Security group policy of the VPN connection.
state This property is required. String
State of the VPN connection.
tags This property is required. Map<String,String>
Tags of the VPN connection to be queried.
vpcId This property is required. String
ID of the VPC.
vpnGatewayId This property is required. String
VPN gateway ID of the VPN connection.
vpnProto This property is required. String
Vpn proto of the VPN connection.
createTime This property is required. string
Create time of the VPN connection.
customerGatewayId This property is required. string
Customer gateway ID of the VPN connection.
encryptProto This property is required. string
Encrypt proto of the VPN connection.
id This property is required. string
ID of the VPN connection.
ikeDhGroupName This property is required. string
DH group name of the IKE operation specification.
ikeExchangeMode This property is required. string
Exchange mode of the IKE operation specification.
ikeLocalAddress This property is required. string
Local address of the IKE operation specification.
ikeLocalFqdnName This property is required. string
Local FQDN name of the IKE operation specification.
ikeLocalIdentity This property is required. string
Local identity of the IKE operation specification.
ikeProtoAuthenAlgorithm This property is required. string
Proto authenticate algorithm of the IKE operation specification.
ikeProtoEncryAlgorithm This property is required. string
Proto encrypt algorithm of the IKE operation specification.
ikeRemoteAddress This property is required. string
Remote address of the IKE operation specification.
ikeRemoteFqdnName This property is required. string
Remote FQDN name of the IKE operation specification.
ikeRemoteIdentity This property is required. string
Remote identity of the IKE operation specification.
ikeSaLifetimeSeconds This property is required. number
SA lifetime of the IKE operation specification, unit is second.
ikeVersion This property is required. string
Version of the IKE operation specification.
ipsecEncryptAlgorithm This property is required. string
Encrypt algorithm of the IPSEC operation specification.
ipsecIntegrityAlgorithm This property is required. string
Integrity algorithm of the IPSEC operation specification.
ipsecPfsDhGroup This property is required. string
PFS DH group name of the IPSEC operation specification.
ipsecSaLifetimeSeconds This property is required. number
SA lifetime of the IPSEC operation specification, unit is second.
ipsecSaLifetimeTraffic This property is required. number
SA lifetime traffic of the IPSEC operation specification, unit is KB.
name This property is required. string
Name of the VPN connection. The length of character is limited to 1-60.
netStatus This property is required. string
Net status of the VPN connection.
preShareKey This property is required. string
Pre-shared key of the VPN connection.
routeType This property is required. string
Route type of the VPN connection.
securityGroupPolicies This property is required. GetVpnConnectionsConnectionListSecurityGroupPolicy[]
Security group policy of the VPN connection.
state This property is required. string
State of the VPN connection.
tags This property is required. {[key: string]: string}
Tags of the VPN connection to be queried.
vpcId This property is required. string
ID of the VPC.
vpnGatewayId This property is required. string
VPN gateway ID of the VPN connection.
vpnProto This property is required. string
Vpn proto of the VPN connection.
create_time This property is required. str
Create time of the VPN connection.
customer_gateway_id This property is required. str
Customer gateway ID of the VPN connection.
encrypt_proto This property is required. str
Encrypt proto of the VPN connection.
id This property is required. str
ID of the VPN connection.
ike_dh_group_name This property is required. str
DH group name of the IKE operation specification.
ike_exchange_mode This property is required. str
Exchange mode of the IKE operation specification.
ike_local_address This property is required. str
Local address of the IKE operation specification.
ike_local_fqdn_name This property is required. str
Local FQDN name of the IKE operation specification.
ike_local_identity This property is required. str
Local identity of the IKE operation specification.
ike_proto_authen_algorithm This property is required. str
Proto authenticate algorithm of the IKE operation specification.
ike_proto_encry_algorithm This property is required. str
Proto encrypt algorithm of the IKE operation specification.
ike_remote_address This property is required. str
Remote address of the IKE operation specification.
ike_remote_fqdn_name This property is required. str
Remote FQDN name of the IKE operation specification.
ike_remote_identity This property is required. str
Remote identity of the IKE operation specification.
ike_sa_lifetime_seconds This property is required. float
SA lifetime of the IKE operation specification, unit is second.
ike_version This property is required. str
Version of the IKE operation specification.
ipsec_encrypt_algorithm This property is required. str
Encrypt algorithm of the IPSEC operation specification.
ipsec_integrity_algorithm This property is required. str
Integrity algorithm of the IPSEC operation specification.
ipsec_pfs_dh_group This property is required. str
PFS DH group name of the IPSEC operation specification.
ipsec_sa_lifetime_seconds This property is required. float
SA lifetime of the IPSEC operation specification, unit is second.
ipsec_sa_lifetime_traffic This property is required. float
SA lifetime traffic of the IPSEC operation specification, unit is KB.
name This property is required. str
Name of the VPN connection. The length of character is limited to 1-60.
net_status This property is required. str
Net status of the VPN connection.
pre_share_key This property is required. str
Pre-shared key of the VPN connection.
route_type This property is required. str
Route type of the VPN connection.
security_group_policies This property is required. Sequence[GetVpnConnectionsConnectionListSecurityGroupPolicy]
Security group policy of the VPN connection.
state This property is required. str
State of the VPN connection.
tags This property is required. Mapping[str, str]
Tags of the VPN connection to be queried.
vpc_id This property is required. str
ID of the VPC.
vpn_gateway_id This property is required. str
VPN gateway ID of the VPN connection.
vpn_proto This property is required. str
Vpn proto of the VPN connection.
createTime This property is required. String
Create time of the VPN connection.
customerGatewayId This property is required. String
Customer gateway ID of the VPN connection.
encryptProto This property is required. String
Encrypt proto of the VPN connection.
id This property is required. String
ID of the VPN connection.
ikeDhGroupName This property is required. String
DH group name of the IKE operation specification.
ikeExchangeMode This property is required. String
Exchange mode of the IKE operation specification.
ikeLocalAddress This property is required. String
Local address of the IKE operation specification.
ikeLocalFqdnName This property is required. String
Local FQDN name of the IKE operation specification.
ikeLocalIdentity This property is required. String
Local identity of the IKE operation specification.
ikeProtoAuthenAlgorithm This property is required. String
Proto authenticate algorithm of the IKE operation specification.
ikeProtoEncryAlgorithm This property is required. String
Proto encrypt algorithm of the IKE operation specification.
ikeRemoteAddress This property is required. String
Remote address of the IKE operation specification.
ikeRemoteFqdnName This property is required. String
Remote FQDN name of the IKE operation specification.
ikeRemoteIdentity This property is required. String
Remote identity of the IKE operation specification.
ikeSaLifetimeSeconds This property is required. Number
SA lifetime of the IKE operation specification, unit is second.
ikeVersion This property is required. String
Version of the IKE operation specification.
ipsecEncryptAlgorithm This property is required. String
Encrypt algorithm of the IPSEC operation specification.
ipsecIntegrityAlgorithm This property is required. String
Integrity algorithm of the IPSEC operation specification.
ipsecPfsDhGroup This property is required. String
PFS DH group name of the IPSEC operation specification.
ipsecSaLifetimeSeconds This property is required. Number
SA lifetime of the IPSEC operation specification, unit is second.
ipsecSaLifetimeTraffic This property is required. Number
SA lifetime traffic of the IPSEC operation specification, unit is KB.
name This property is required. String
Name of the VPN connection. The length of character is limited to 1-60.
netStatus This property is required. String
Net status of the VPN connection.
preShareKey This property is required. String
Pre-shared key of the VPN connection.
routeType This property is required. String
Route type of the VPN connection.
securityGroupPolicies This property is required. List<Property Map>
Security group policy of the VPN connection.
state This property is required. String
State of the VPN connection.
tags This property is required. Map<String>
Tags of the VPN connection to be queried.
vpcId This property is required. String
ID of the VPC.
vpnGatewayId This property is required. String
VPN gateway ID of the VPN connection.
vpnProto This property is required. String
Vpn proto of the VPN connection.

GetVpnConnectionsConnectionListSecurityGroupPolicy

LocalCidrBlock This property is required. string
Local cidr block.
RemoteCidrBlocks This property is required. List<string>
Remote cidr block list.
LocalCidrBlock This property is required. string
Local cidr block.
RemoteCidrBlocks This property is required. []string
Remote cidr block list.
localCidrBlock This property is required. String
Local cidr block.
remoteCidrBlocks This property is required. List<String>
Remote cidr block list.
localCidrBlock This property is required. string
Local cidr block.
remoteCidrBlocks This property is required. string[]
Remote cidr block list.
local_cidr_block This property is required. str
Local cidr block.
remote_cidr_blocks This property is required. Sequence[str]
Remote cidr block list.
localCidrBlock This property is required. String
Local cidr block.
remoteCidrBlocks This property is required. List<String>
Remote cidr block list.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.