azurestack_lb_rule

Nivis 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_port
  • frontend_ip_configuration_name
  • frontend_port
  • loadbalancer_id
  • protocol
  • resource_group_name
Optional arguments
  • backend_address_pool_id (defaults to null)
  • disable_outbound_snat (defaults to null)
  • enable_floating_ip (defaults to null)
  • id (defaults to null)
  • idle_timeout_in_minutes (defaults to null)
  • load_distribution (defaults to null)
  • cfg_name (defaults to null)
  • probe_id (defaults to null)
  • timeouts (defaults to null)
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.