Skip to content

Public IP Address

Creates a zone-redundant Standard SKU public IP address with static allocation. Basic SKU is retired and is deliberately not offered.

Summary

Zone-redundant Standard static public IP address.

Module Information

Property Value
Owner platform-team
Support Support
Version 1.0.0

Resource Types

Resource Type
Microsoft.Insights/diagnosticSettings
Microsoft.Network/publicIPAddresses

Usage

module public_ip_address 'br:geitbicepmodweucr01.azurecr.io/bicep/modules/network/public-ip-address:1.0.0' = {
  name: 'public_ip_address'
  params: {
    // Required parameters
    par_public_ip_name: <string>
  }
}

Parameters

Name Type Description Default
par_diagnostic_settings array Optional. Diagnostic settings to attach to the public IP address. Each entry targets a Log Analytics workspace and enables at least one log or metric category; entries with neither are skipped, because ARM rejects an empty diagnosticSettings. ``
par_domain_name_label string Optional. DNS label prefix for the public IP, forming ``
par_idle_timeout_in_minutes int Idle timeout in minutes for outbound flows. Defaults to 4. 4
par_location string Azure region for the public IP address. Defaults to the resource group location. [resourceGroup().location]
par_public_ip_address_version string IP address version. Defaults to IPv4. IPv4
par_public_ip_name string Name of the public IP address. required
par_sku_name string SKU of the public IP address. Only Standard is allowed - Basic SKU public IPs were retired in September 2025. Standard
par_sku_tier string SKU tier of the public IP address. Defaults to Regional, which is what a NAT gateway requires. Regional
par_tags object Resource tags applied to the public IP address. ``
par_zones array Availability zones the public IP is spread across. Defaults to all three zones for zone redundancy. Pass an empty array for a non-zonal address. 1 2 3

Outputs

Name Type Description
out_ip_address string The allocated IP address. Available at deploy time because allocation is static.
out_public_ip_id string Resource ID of the deployed public IP address.
out_public_ip_name string Name of the deployed public IP address.

Versions

Pin an exact version. Ranges are not supported.

Version Reference
1.0.0 (latest) br/Euvic-Modules:network/public-ip-address:1.0.0