alicloud_slb_rule

Nivis 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_port
  • load_balancer_id
  • server_group_id
Optional arguments
  • cookie (defaults to null)
  • cookie_timeout (defaults to null)
  • delete_protection_validation (defaults to null)
  • domain (defaults to null)
  • health_check (defaults to null)
  • health_check_connect_port (defaults to null)
  • health_check_domain (defaults to null)
  • health_check_http_code (defaults to null)
  • health_check_interval (defaults to null)
  • health_check_timeout (defaults to null)
  • health_check_uri (defaults to null)
  • healthy_threshold (defaults to null)
  • id (defaults to null)
  • listener_sync (defaults to null)
  • cfg_name (defaults to null)
  • scheduler (defaults to null)
  • sticky_session (defaults to null)
  • sticky_session_type (defaults to null)
  • unhealthy_threshold (defaults to null)
  • url (defaults to null)
  • timeouts (defaults to null)
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.