tencentcloud_dayu_l4_ruleNivis 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_portprotocolresource_idresource_types_portsource_type
Optional arguments
health_check_health_num(defaults tonull)health_check_interval(defaults tonull)health_check_switch(defaults tonull)health_check_timeout(defaults tonull)health_check_unhealth_num(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)session_switch(defaults tonull)session_time(defaults tonull)source_list(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
lb_typerule_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.