azurerm_web_application_firewall_policyNivis Nix constructor for the azurerm_web_application_firewall_policy resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
location,
resource_group_name,
id ? null,
cfg_name ? null,
tags ? null,
custom_rules ? null,
managed_rules ? null,
policy_settings ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationresource_group_name
Optional arguments
id(defaults tonull)cfg_name(defaults tonull)tags(defaults tonull)custom_rules(defaults tonull)managed_rules(defaults tonull)policy_settings(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
http_listener_idspath_based_rule_ids
Example
azurerm_web_application_firewall_policy {
name = "web_application_firewall_policy";
location = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.