This answer has deprecated, I am on version 2022_09_01 and NetworkManagementClient no longer has .config
I cannot seem to be able to set the proxy anymore without defining OS environmentals, which I cannot do because other possible code executions at the same time in turn reach for metadata, which CANNOT go via proxy.