azurerm_public_ip_prefixNivis Nix constructor for the azurerm_public_ip_prefix 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,
custom_ip_prefix_id ? null,
id ? null,
ip_version ? null,
cfg_name ? null,
prefix_length ? null,
sku ? null,
sku_tier ? null,
tags ? null,
zones ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationresource_group_name
Optional arguments
custom_ip_prefix_id(defaults tonull)id(defaults tonull)ip_version(defaults tonull)cfg_name(defaults tonull)prefix_length(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:
ip_prefix
Example
azurerm_public_ip_prefix {
name = "public_ip_prefix";
location = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.