Closed xpdable closed 4 years ago
An idea I could see is, the cloud name could be set in configuration some how. And for each client declaration, then we have to pass something like base_url=configuration[CLOUD_NAME]
I think this one can be closed @xpdable ?
This function has been merged PR #71
We work in Azure China, so the current login with cred settings will always fail as the
base_url
of eachclient
isNone
and then default tomsrestazure.azure_cloud.AZURE_PUBLIC_CLOUD
. Therefore our Azure China credential will failed. You can see the login url is direct to the global one.By checking Azure python SDK, we've successfully point the China Azure URL as below, but it is not a good solution that I have to modify each py where a client is declared and concurrent. E.g.
Furthermore, shall we manage to set the configuration from
configuration
in order to enable more choice of the Azure Cloud?