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

tencentcloud.getVpnConnections

Explore with Pulumi AI

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

    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({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_vpn_connections()
    
    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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetVpnConnections.Invoke();
    
    });
    
    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();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getVpnConnections
          arguments: {}
    

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

    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>
    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]
    func GetVpnConnections(ctx *Context, args *GetVpnConnectionsArgs, opts ...InvokeOption) (*GetVpnConnectionsResult, error)
    func GetVpnConnectionsOutput(ctx *Context, args *GetVpnConnectionsOutputArgs, opts ...InvokeOption) GetVpnConnectionsResultOutput

    > 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)
    }
    public static CompletableFuture<GetVpnConnectionsResult> getVpnConnections(GetVpnConnectionsArgs args, InvokeOptions options)
    public static Output<GetVpnConnectionsResult> getVpnConnections(GetVpnConnectionsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getVpnConnections:getVpnConnections
      arguments:
        # arguments dictionary

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

    GetVpnConnectionsConnectionListSecurityGroupPolicy

    LocalCidrBlock string
    Local cidr block.
    RemoteCidrBlocks List<string>
    Remote cidr block list.
    LocalCidrBlock string
    Local cidr block.
    RemoteCidrBlocks []string
    Remote cidr block list.
    localCidrBlock String
    Local cidr block.
    remoteCidrBlocks List<String>
    Remote cidr block list.
    localCidrBlock string
    Local cidr block.
    remoteCidrBlocks string[]
    Remote cidr block list.
    local_cidr_block str
    Local cidr block.
    remote_cidr_blocks Sequence[str]
    Remote cidr block list.
    localCidrBlock String
    Local cidr block.
    remoteCidrBlocks 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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack