tencentcloud_dayu_l7_ruleNivis 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
domainprotocolresource_idresource_typesource_listsource_typeswitch
Optional arguments
health_check_code(defaults tonull)health_check_health_num(defaults tonull)health_check_interval(defaults tonull)health_check_method(defaults tonull)health_check_path(defaults tonull)health_check_switch(defaults tonull)health_check_unhealth_num(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)ssl_id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
rule_idstatus
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.