tencentcloud_dayu_l4_rule

Nivis Nix constructor for the tencentcloud_dayu_l4_rule 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,
  d_port,
  protocol,
  resource_id,
  resource_type,
  s_port,
  source_type,
  health_check_health_num ? null,
  health_check_interval ? null,
  health_check_switch ? null,
  health_check_timeout ? null,
  health_check_unhealth_num ? null,
  id ? null,
  cfg_name ? null,
  session_switch ? null,
  session_time ? null,
  source_list ? null,
  overrides ? {}
}
Required arguments
  • d_port
  • protocol
  • resource_id
  • resource_type
  • s_port
  • source_type
Optional arguments
  • health_check_health_num (defaults to null)
  • health_check_interval (defaults to null)
  • health_check_switch (defaults to null)
  • health_check_timeout (defaults to null)
  • health_check_unhealth_num (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • session_switch (defaults to null)
  • session_time (defaults to null)
  • source_list (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • lb_type
  • rule_id
Example
tencentcloud_dayu_l4_rule {
  name = "dayu_l4_rule";
  d_port = …;  # required
  protocol = …;  # required
  resource_id = …;  # required
  resource_type = …;  # required
  s_port = …;  # required
  source_type = …;  # required
}

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