tencentcloud_vpn_connectionNivis Nix constructor for the tencentcloud_vpn_connection resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
customer_gateway_id,
pre_share_key,
vpn_gateway_id,
dpd_action ? null,
dpd_enable ? null,
dpd_timeout ? null,
enable_health_check ? null,
health_check_local_ip ? null,
health_check_remote_ip ? null,
id ? null,
ike_dh_group_name ? null,
ike_exchange_mode ? null,
ike_local_address ? null,
ike_local_fqdn_name ? null,
ike_local_identity ? null,
ike_proto_authen_algorithm ? null,
ike_proto_encry_algorithm ? null,
ike_remote_address ? null,
ike_remote_fqdn_name ? null,
ike_remote_identity ? null,
ike_sa_lifetime_seconds ? null,
ike_version ? null,
ipsec_encrypt_algorithm ? null,
ipsec_integrity_algorithm ? null,
ipsec_pfs_dh_group ? null,
ipsec_sa_lifetime_seconds ? null,
ipsec_sa_lifetime_traffic ? null,
cfg_name ? null,
negotiation_type ? null,
route_type ? null,
tags ? null,
vpc_id ? null,
bgp_config ? null,
health_check_config ? null,
security_group_policy ? null,
overrides ? {}
}Required arguments
customer_gateway_idpre_share_keyvpn_gateway_id
Optional arguments
dpd_action(defaults tonull)dpd_enable(defaults tonull)dpd_timeout(defaults tonull)enable_health_check(defaults tonull)health_check_local_ip(defaults tonull)health_check_remote_ip(defaults tonull)id(defaults tonull)ike_dh_group_name(defaults tonull)ike_exchange_mode(defaults tonull)ike_local_address(defaults tonull)ike_local_fqdn_name(defaults tonull)ike_local_identity(defaults tonull)ike_proto_authen_algorithm(defaults tonull)ike_proto_encry_algorithm(defaults tonull)ike_remote_address(defaults tonull)ike_remote_fqdn_name(defaults tonull)ike_remote_identity(defaults tonull)ike_sa_lifetime_seconds(defaults tonull)ike_version(defaults tonull)ipsec_encrypt_algorithm(defaults tonull)ipsec_integrity_algorithm(defaults tonull)ipsec_pfs_dh_group(defaults tonull)ipsec_sa_lifetime_seconds(defaults tonull)ipsec_sa_lifetime_traffic(defaults tonull)cfg_name(defaults tonull)negotiation_type(defaults tonull)route_type(defaults tonull)tags(defaults tonull)vpc_id(defaults tonull)bgp_config(defaults tonull)health_check_config(defaults tonull)security_group_policy(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timeencrypt_protois_ccn_typenet_statusstatevpn_proto
Example
tencentcloud_vpn_connection {
name = "vpn_connection";
customer_gateway_id = …; # required
pre_share_key = …; # required
vpn_gateway_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.