tencentcloud_dayu_l7_rule

Nivis Nix constructor for the tencentcloud_dayu_l7_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,
  domain,
  protocol,
  resource_id,
  resource_type,
  source_list,
  source_type,
  switch,
  health_check_code ? null,
  health_check_health_num ? null,
  health_check_interval ? null,
  health_check_method ? null,
  health_check_path ? null,
  health_check_switch ? null,
  health_check_unhealth_num ? null,
  id ? null,
  cfg_name ? null,
  ssl_id ? null,
  overrides ? {}
}
Required arguments
  • domain
  • protocol
  • resource_id
  • resource_type
  • source_list
  • source_type
  • switch
Optional arguments
  • health_check_code (defaults to null)
  • health_check_health_num (defaults to null)
  • health_check_interval (defaults to null)
  • health_check_method (defaults to null)
  • health_check_path (defaults to null)
  • health_check_switch (defaults to null)
  • health_check_unhealth_num (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • ssl_id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • rule_id
  • status
Example
tencentcloud_dayu_l7_rule {
  name = "dayu_l7_rule";
  domain = …;  # required
  protocol = …;  # required
  resource_id = …;  # required
  resource_type = …;  # required
  source_list = …;  # required
  source_type = …;  # required
  switch = …;  # required
}

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