How to output AZFW_Hub public ip address

Since in using AZFW_HUB sku i dont configure/assign a public ip to the firewall/hub. So how to i output the public ip in terraform?

I can see the ip in the We bPortal but inned to reuse it in my code as a variable. I have looked everywhere. Any help much appriciated

VIRTUAL HUB

resource “azurerm_virtual_hub” “azs-connectivity-vh” {
name = “AZS-WAN_VH”
location = var.pri_loc
resource_group_name = azurerm_resource_group.azs_connectivity_rg.name
virtual_wan_id = azurerm_virtual_wan.azs-connectivity-vw.id
address_prefix = “10.0.0.0/24”
provider = azurerm.connectivity_subscription
tags = {
environment = “Production”
}
}

VIRTUAL WAN

resource “azurerm_virtual_wan” “azs-connectivity-vw” {
name = “AZS-WAN_VW”
location = var.pri_loc
resource_group_name = azurerm_resource_group.azs_connectivity_rg.name
provider = azurerm.connectivity_subscription
tags = {
environment = “Production”
}
}

FIREWALL

resource “azurerm_firewall” “azs-vhub-fw” {
name = “AZS-VHUB_FW”
location = var.pri_loc
resource_group_name = azurerm_resource_group.azs_connectivity_rg.name
sku_name = “AZFW_Hub”
sku_tier = “Premium”
firewall_policy_id = azurerm_firewall_policy.azs-firewall-pol.id
provider = azurerm.connectivity_subscription
virtual_hub {
virtual_hub_id = azurerm_virtual_hub.azs-connectivity-vh.id
public_ip_count = 1
}
tags = {
environment = “Production”
}
}