alicloud_slb_ruleNivis Nix constructor for the alicloud_slb_rule 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,
frontend_port,
load_balancer_id,
server_group_id,
cookie ? null,
cookie_timeout ? null,
delete_protection_validation ? null,
domain ? null,
health_check ? null,
health_check_connect_port ? null,
health_check_domain ? null,
health_check_http_code ? null,
health_check_interval ? null,
health_check_timeout ? null,
health_check_uri ? null,
healthy_threshold ? null,
id ? null,
listener_sync ? null,
cfg_name ? null,
scheduler ? null,
sticky_session ? null,
sticky_session_type ? null,
unhealthy_threshold ? null,
url ? null,
timeouts ? null,
overrides ? {}
}Required arguments
frontend_portload_balancer_idserver_group_id
Optional arguments
cookie(defaults tonull)cookie_timeout(defaults tonull)delete_protection_validation(defaults tonull)domain(defaults tonull)health_check(defaults tonull)health_check_connect_port(defaults tonull)health_check_domain(defaults tonull)health_check_http_code(defaults tonull)health_check_interval(defaults tonull)health_check_timeout(defaults tonull)health_check_uri(defaults tonull)healthy_threshold(defaults tonull)id(defaults tonull)listener_sync(defaults tonull)cfg_name(defaults tonull)scheduler(defaults tonull)sticky_session(defaults tonull)sticky_session_type(defaults tonull)unhealthy_threshold(defaults tonull)url(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
alicloud_slb_rule {
name = "slb_rule";
frontend_port = …; # required
load_balancer_id = …; # required
server_group_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.