I'm writing something to clean up our old Azure resources, and one thing that comes up from time to time is public-ips still bound to a kubernetes-created loadbalancer even after the Ingress was deleted.
Using the azure CLI, I can get the public IP, find the ipConfiguration from that, which is used to name the load balancer rules and frontend ipconfig for that IP. I can get the load balancer rule resource IDs and delete those with "az resource delete" or the ResourceManagementClient. However I can't do the same with the LB Front End config even though it does have a resource_id. The AZ CLI has az network lb frontend-ip delete but I can't find the Azure API that this is calling. NetworkManagementClient.load_balancer_frontend_ip_configurations only has list() and get() methods, not delete().
I did try looking at the AZ CLI source here, but it is not easy reading! https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/lb/frontend_ip/_delete.py#L64
What is the "approved" way to do this?

