alicloud_router_interface

Nivis Nix constructor for the alicloud_router_interface 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,
  opposite_region,
  role,
  router_id,
  router_type,
  description ? null,
  health_check_source_ip ? null,
  health_check_target_ip ? null,
  id ? null,
  instance_charge_type ? null,
  cfg_name ? null,
  opposite_access_point_id ? null,
  period ? null,
  specification ? null,
  overrides ? {}
}
Required arguments
  • opposite_region
  • role
  • router_id
  • router_type
Optional arguments
  • description (defaults to null)
  • health_check_source_ip (defaults to null)
  • health_check_target_ip (defaults to null)
  • id (defaults to null)
  • instance_charge_type (defaults to null)
  • cfg_name (defaults to null)
  • opposite_access_point_id (defaults to null)
  • period (defaults to null)
  • specification (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • access_point_id
  • opposite_interface_id
  • opposite_interface_owner_id
  • opposite_router_id
  • opposite_router_type
Example
alicloud_router_interface {
  name = "router_interface";
  opposite_region = …;  # required
  role = …;  # required
  router_id = …;  # required
  router_type = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.