6月6日,微软面向中国大陆用户开放了Microsoft Azure公众预览版的申请界面。大家可以申请免费的 beta 试用,收到内附邀请码的通知邮件后只需输入激活码即可开始免费试用。具体网址为:

http://windowsazure.cn/zh-cn/pricing/free-trial/

在实际使用这个账号的时候,发现有一些地方需要特别注意。

在使用PowerShell工具中,需要下载发布配置文件(PublishSettingProfile),从而获得设置Windows PowerShell环境的变量。具体方法是登录Microsoft Azure账户的管理门户后,访问下面地址即可获得:https://windows.azure.com/download/publishprofile.aspx

关于这一操作的说明具体请见:

http://msdn.microsoft.com/en-us/library/windowsazure/jj554332.aspx

但是在使用Windowsazure.cn的账号的时候,发现无法通过上述方法得到PublishSettingProfile。

经了解,需要到下述地址来获得:

https://manage.windowsazure.cn/publishsettings/index

下载后进行对比,发现两者文件格式上有些差异。

通过https://windows.azure.com/download/publishprofile.aspx,获得格式样例如下:

 
 
<?xml version="1.0" encoding="utf-8"?>
<PublishData>
<PublishProfile
PublishMethod="AzureServiceManagementAPI"
Url="https://management.core.windows.net/"
ManagementCertificate="{Subscription’s management certificate}”
<Subscription
Id="{Subscription’s ID} "
Name="{Subscription’s Name} " />
</PublishProfile>
</PublishData>

而在https://manage.windowsazure.cn/publishsettings/index下载的文件格式为:

 
 
<?xml version="1.0" encoding="utf-8"?>
<PublishData>
<PublishProfile
SchemaVersion="2.0"
PublishMethod="AzureServiceManagementAPI">
<Subscription
ServiceManagementUrl="https://management.core.chinacloudapi.cn"
Id="{Subscription’s ID}"
Name="{Subscription’s Name} "
ManagementCertificate="{Subscription’s management certificate}" />
</PublishProfile>
</PublishData>

同时,建议访问https://github.com/WindowsAzure/azure-sdk-tools,获取最新的Microsoft Azure Powershell,这样在使用命令行Import-AzurePublishSettingsFile的时候,不易发生错误。

最新文章

  1. [AlwaysOn Availability Groups]排查:AG超过RPO
  2. Atitit 多继承实现解决方案 java c#
  3. Eclipse中Jsp页面警告的解决方法小结
  4. pku3663 Costume Party
  5. jquery trigger伪造a标签的click事件取代window.open方法
  6. JSON基础知识总结
  7. HDU 1698 &lt;线段树,区间set&gt;
  8. 聊天类APP功能测试总结
  9. IO库
  10. Hibernate--使用xml配置映射关系
  11. 愿奴胁下生双翼——— 详解cookie和session
  12. 1_translation_1
  13. git在vs2017中的使用
  14. 老铁,告别postman,用pycharm来调接口,顺便把接口脚本也写了
  15. drf1 rest &amp; restful规范
  16. https原理简析
  17. Eclipse快捷键大全,导包快捷键:ctrl+Shift+/【转】
  18. win 10 安装visual studio 2013
  19. BZOJ.1576.[Usaco2009 Jan]安全路经Travel(树形DP 并查集)
  20. 基于net.tcp的WCF配置实例解析(转)

热门文章

  1. java常见类型的转化以及风险
  2. windows服务与桌面交互
  3. 使用Jsoup函数包抓取网页内容
  4. Qt 串口学习2
  5. exit()和_exit()函数
  6. java加密与解密
  7. zookeeper的 目录加密
  8. 记事本写JAVA程序
  9. 关于setInterval()里的this和细节
  10. 如何更新Android SDK和Build Tool