azurestack_lb_ruleNivis Nix constructor for the azurestack_lb_rule resource (provider azurestack). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
backend_port,
frontend_ip_configuration_name,
frontend_port,
loadbalancer_id,
protocol,
resource_group_name,
backend_address_pool_id ? null,
disable_outbound_snat ? null,
enable_floating_ip ? null,
id ? null,
idle_timeout_in_minutes ? null,
load_distribution ? null,
cfg_name ? null,
probe_id ? null,
timeouts ? null,
overrides ? {}
}Required arguments
backend_portfrontend_ip_configuration_namefrontend_portloadbalancer_idprotocolresource_group_name
Optional arguments
backend_address_pool_id(defaults tonull)disable_outbound_snat(defaults tonull)enable_floating_ip(defaults tonull)id(defaults tonull)idle_timeout_in_minutes(defaults tonull)load_distribution(defaults tonull)cfg_name(defaults tonull)probe_id(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
frontend_ip_configuration_id
Example
azurestack_lb_rule {
name = "lb_rule";
backend_port = …; # required
frontend_ip_configuration_name = …; # required
frontend_port = …; # required
loadbalancer_id = …; # required
protocol = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.