Share via


使用Windows PowerShell来管理和开发windowsazure.cn账户的特别注意事项

 

6?6?,?????????????Windows Azure???????????????????? beta ??,??????????????????????????????????:

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

????????????,??????????????

???PowerShell???,??????????(PublishSettingProfile),??????Windows PowerShell?????????????Windows Azure????????,??????????:https://windows.azure.com/download/publishprofile.aspx

?????????????:

https://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,?????Windows Azure Powershell,????????Import-AzurePublishSettingsFile???,???????