Actions
Bug #10833
closedadd support to Azure China to libcloud
Story points:
-
Description
endpoints in Azure in China are different :
$ azure account env list info: Executing command account env list data: Name data: ----------------- data: AzureCloud data: AzureChinaCloud data: AzureUSGovernment data: AzureGermanCloud info: account env list command OK $ azure account env show AzureChinaCloud info: Executing command account env show data: Name: AzureChinaCloud data: activeDirectoryEndpointUrl: https://login.chinacloudapi.cn data: activeDirectoryGraphApiVersion: 2013-04-05 data: activeDirectoryGraphResourceId: https://graph.chinacloudapi.cn/ data: activeDirectoryResourceId: https://management.core.chinacloudapi.cn/ data: azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: N/A data: azureDataLakeStoreFileSystemEndpointSuffix: N/A data: galleryEndpointUrl: https://gallery.chinacloudapi.cn/ data: isPublicEnvironment: true data: keyVaultDnsSuffix: .vault.azure.cn data: managementEndpointUrl: https://management.core.chinacloudapi.cn data: portalUrl: http://go.microsoft.com/fwlink/?LinkId=301902 data: publishingProfileUrl: http://go.microsoft.com/fwlink/?LinkID=301774 data: resourceManagerEndpointUrl: https://management.chinacloudapi.cn data: sqlManagementEndpointUrl: https://management.core.chinacloudapi.cn:8443/ data: sqlServerHostnameSuffix: .database.chinacloudapi.cn data: storageEndpointSuffix: .core.chinacloudapi.cn info: account env show command OK $ azure account env show AzureCloud info: Executing command account env show data: Name: AzureCloud data: activeDirectoryEndpointUrl: https://login.microsoftonline.com data: activeDirectoryGraphApiVersion: 2013-04-05 data: activeDirectoryGraphResourceId: https://graph.windows.net/ data: activeDirectoryResourceId: https://management.core.windows.net/ data: azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: azuredatalakeanalytics.net data: azureDataLakeStoreFileSystemEndpointSuffix: azuredatalakestore.net data: galleryEndpointUrl: https://gallery.azure.com/ data: isPublicEnvironment: true data: keyVaultDnsSuffix: .vault.azure.net data: managementEndpointUrl: https://management.core.windows.net data: portalUrl: http://go.microsoft.com/fwlink/?LinkId=254433 data: publishingProfileUrl: http://go.microsoft.com/fwlink/?LinkId=254432 data: resourceManagerEndpointUrl: https://management.azure.com/ data: sqlManagementEndpointUrl: https://management.core.windows.net:8443/ data: sqlServerHostnameSuffix: .database.windows.net data: storageEndpointSuffix: .core.windows.net info: account env show command OK
Azure CLI did it this way:
https://github.com/Azure/azure-xplat-cli/blob/f261c839e96479c1520287db806926ff66b29a83/lib/util/profile/environment.js
this includes German and USGoverment Cloud and others, probably having a similar configuration and the same names will be useful to make changes going forward
Updated by Peter Amstutz almost 8 years ago
Updated by Tom Morris almost 8 years ago
- Assigned To set to Peter Amstutz
- Target version set to 2017-01-18 sprint
Updated by Peter Amstutz almost 8 years ago
PR to libcloud pending:
Updated by Nico César almost 8 years ago
- Status changed from New to Resolved
libcloud 0.20.2.dev3-2 implements this
Actions