bsp pre hdinsight query core 相关信息 color 证书
使用 azure explorer 插件的时候,登陆默认是 globle 的 azure 网站,中国区的 azure 不能直接使用
可以使用 auth 文件认证
- auth文件生成
- az cloud show - o json--query "{managementURI: endpoints.management, baseURL: endpoints.resourceManager, authURL: endpoints.activeDirectory, graphURL: endpoints.activeDirectoryGraphResourceId}"
- az account show - o json--query "{subscription: id}"
- az ad sp create-for-rbac -o json --query "{client: appId, key: password, tenant: tenant}"
根据上述脚本获取相关信息
然后按下面格式拼接起来
- client=
- key=
- tenant=
- subscription=
- authURL=https\://login.chinacloudapi.cn/
- baseURL=https\://management.chinacloudapi.cn/
- graphURL=https\://graph.chinacloudapi.cn/
- managementURI=https\://management.core.chinacloudapi.cn/
HDinsight 系列 - 使用证书登陆中国区 Azure
来源: http://www.bubuko.com/infodetail-2262263.html