Create a way to get the hdinsight gateway's ip address
I have a need to whitelist the hdinsight gateway host's ip address for the sake of connecting it to other internet facing services in Azure. In this case I have a NFS share which I'm connecting it to. It seems currently, the best way to get its external ip address is nowhere on the cli, or on the portal. I need to use an external service such as api.ipify.org to get the address I need to use to whitelist it in another NSG.
What would be nice is if I could gets it's address somewhere. The fact that it's not available via the metadata service is also surprising. Of course the portal just shows the external address used to get to the server, but not the address tha shows when the server is making connections out.