Hello!
I think you have only one way to do it - use "Azure IP Ranges and Service Tags – Public Cloud". You can find information about this list of IPs via the LINK that you wrote above.
When you download the file, you can find the necessary sections (with "UKSouth part") so you can use them not as a URL but as IPs. For example, "AzureArcInfrastructure", "AzureArcInfrastructure.UKSouth", "AzureCloud.uksouth", "ServiceBus.UKSouth" etc.
Note: Microsoft publishes weekly updates containing each Azure Service and the IP ranges it uses. The IP addresses are subject to change.
If the above response was helpful, please feel free to "Accept as Answer" and click "Yes" so it can be beneficial to the community.