azurerm_public_ipNivis Nix constructor for the azurerm_public_ip 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,
allocation_method,
location,
resource_group_name,
ddos_protection_mode ? null,
ddos_protection_plan_id ? null,
domain_name_label ? null,
domain_name_label_scope ? null,
edge_zone ? null,
id ? null,
idle_timeout_in_minutes ? null,
ip_tags ? null,
ip_version ? null,
cfg_name ? null,
public_ip_prefix_id ? null,
reverse_fqdn ? null,
sku ? null,
sku_tier ? null,
tags ? null,
zones ? null,
timeouts ? null,
overrides ? {}
}Required arguments
allocation_methodlocationresource_group_name
Optional arguments
ddos_protection_mode(defaults tonull)ddos_protection_plan_id(defaults tonull)domain_name_label(defaults tonull)domain_name_label_scope(defaults tonull)edge_zone(defaults tonull)id(defaults tonull)idle_timeout_in_minutes(defaults tonull)ip_tags(defaults tonull)ip_version(defaults tonull)cfg_name(defaults tonull)public_ip_prefix_id(defaults tonull)reverse_fqdn(defaults tonull)sku(defaults tonull)sku_tier(defaults tonull)tags(defaults tonull)zones(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
fqdnip_address
Example
azurerm_public_ip {
name = "public_ip";
allocation_method = …; # required
location = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.