We are trying to use Azure elastic jobs to run database jobs on a set of Azure SQL databases. The access to these Azure SQL databases is restricted to only certain ip-addresses which we have configured in the firewall rules. When testing the execution of the elastic jobs the elastic job agent cannot access our databases. We do not want to enable access for all Azure Services. I found a post that it is possible to limit the access by manually adding the ip addresses of the Azure resources of the location we use. (https://github.com/MicrosoftDocs/azure-docs/issues/35138) But this means it is still possible for all Azure resources in that location to try and access our servers.
Is there a way to only provide access to our SQL databases for our Elastic Job SQL Agent resource?