Closed WouterSlob closed 1 year ago
Public IPs associated to NAT Gateways are currently considered to be orphans.
These can be excluded by adding an extra filter:
Resources | where type == "microsoft.network/publicipaddresses" | where properties.ipConfiguration == "" and properties.natGateway == "" | extend Details = pack_all() | project Resource=id, resourceGroup, location, subscriptionId, sku.name, tags, Details
and properties.natGateway == ""
Thanks for your feedback.
After checking, I added the additional filter to the Workbook queries.
Public IPs associated to NAT Gateways are currently considered to be orphans.
These can be excluded by adding an extra filter:
Resources | where type == "microsoft.network/publicipaddresses" | where properties.ipConfiguration == ""
and properties.natGateway == ""
| extend Details = pack_all() | project Resource=id, resourceGroup, location, subscriptionId, sku.name, tags, Details