alicloud_vpn_gateway

Nivis 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
  • bandwidth
  • vpc_id
Optional arguments
  • auto_pay (defaults to null)
  • auto_propagate (defaults to null)
  • description (defaults to null)
  • disaster_recovery_vswitch_id (defaults to null)
  • enable_ipsec (defaults to null)
  • enable_ssl (defaults to null)
  • id (defaults to null)
  • instance_charge_type (defaults to null)
  • cfg_name (defaults to null)
  • network_type (defaults to null)
  • payment_type (defaults to null)
  • period (defaults to null)
  • resource_group_id (defaults to null)
  • ssl_connections (defaults to null)
  • tags (defaults to null)
  • vpn_gateway_name (defaults to null)
  • vpn_type (defaults to null)
  • vswitch_id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • business_status
  • create_time
  • disaster_recovery_internet_ip
  • internet_ip
  • ssl_vpn_internet_ip
  • status
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.