Could someone advice me or show me example of how to obtain public IP through Azure API on linux? I know that I can obtain public IP through wget, curl etc. but those use external domain and I would like to avoid it. There is some SDK for Python but I couldn't run any function.
I think maybe one of these my return what I need:
NetworkInterfaceIPConfigurationsOperations class
NetworkInterfacesOperations class