alicloud_vpn_gatewayNivis Nix constructor for the alicloud_vpn_gateway resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
bandwidth,
vpc_id,
auto_pay ? null,
auto_propagate ? null,
description ? null,
disaster_recovery_vswitch_id ? null,
enable_ipsec ? null,
enable_ssl ? null,
id ? null,
instance_charge_type ? null,
cfg_name ? null,
network_type ? null,
payment_type ? null,
period ? null,
resource_group_id ? null,
ssl_connections ? null,
tags ? null,
vpn_gateway_name ? null,
vpn_type ? null,
vswitch_id ? null,
timeouts ? null,
overrides ? {}
}Required arguments
bandwidthvpc_id
Optional arguments
auto_pay(defaults tonull)auto_propagate(defaults tonull)description(defaults tonull)disaster_recovery_vswitch_id(defaults tonull)enable_ipsec(defaults tonull)enable_ssl(defaults tonull)id(defaults tonull)instance_charge_type(defaults tonull)cfg_name(defaults tonull)network_type(defaults tonull)payment_type(defaults tonull)period(defaults tonull)resource_group_id(defaults tonull)ssl_connections(defaults tonull)tags(defaults tonull)vpn_gateway_name(defaults tonull)vpn_type(defaults tonull)vswitch_id(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
business_statuscreate_timedisaster_recovery_internet_ipinternet_ipssl_vpn_internet_ipstatus
Example
alicloud_vpn_gateway {
name = "vpn_gateway";
bandwidth = …; # required
vpc_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.