Allow endpoint override in azure_rm module utils #17925
Labels
affects_2.1
This issue/PR affects Ansible v2.1
affects_2.2
This issue/PR affects Ansible v2.2
affects_2.3
This issue/PR affects Ansible v2.3
azure
cloud
deprecated
This issue/PR relates to a deprecated module.
feature
This issue/PR relates to a feature request.
module
This issue/PR relates to a module.
support:certified
This issue/PR relates to certified code.
support:community
This issue/PR relates to code supported by the Ansible community.
ISSUE TYPE
COMPONENT NAME
azure_rm_common.py
SUMMARY
The current definition of the azure_rm common module utils doesn't allow overriding the various built-in endpoints (auth, table/blob storage, service bus, etc). This will be necessary to allow connection to other Azure instances (eg, AzureChinaCloud, private Azure Stack instances).
The new Python SDK seems to support overriding the endpoints via host_base, so we should add the override capability to the env credential mapping and common module utility code.
List of AzureChinaCloud endpoint URLs is at: Azure/azure-sdk-for-python#284
The text was updated successfully, but these errors were encountered: