导出 (0) 打印
全部展开

Get-AzurePublishSettings

Downloads a publishing profile for your Windows Azure account that contains subscription information and a management certificate to use during service deployment.

Syntax

Get-AzurePublishSettings

Detailed Description

Use the Get-AzurePublishSettings cmdlet to download a publishing profile for your Windows Azure account. This publishing profile includes subscription information and a management certificate that enable you to deploy hosted services to Windows Azure by using the Node.js cmdlets. If you are a co-administrator for any subscriptions, the publish settings provide information about those subscriptions in addition to your own subscription.

The cmdlet opens a web page on the Microsoft Online Services Customer Portal from which you can download the publishing profile. You will need to log on to the Customer Portal using your Windows Azure account.

When you download the publishing profile, note the path and file name. You must provide this information when you use Import-AzurePublishSettings to import the settings. The default location and file name format is:

C:\Users\<MyAccount>\Downloads\[<MySubscription>-…]-<download date>-credentials.publishsettings

Important重要提示
If, after you import your publish settings, you are added to other subscriptions as a co-administrator, you must repeat this process to download a new .publishsettings file, and then import those settings. For information about adding co-administrators to help manage your services, see How to Add and Remove Co-Administrators for Your Windows Azure Subscriptions.

The downloaded publishing settings contain the following information, which is used during service deployments:

  • A management certificate, which enables client access to Windows Azure resources when using the Node.js cmdlets. The management certificate is required for all cmdlets that communicate with the cloud, including Publish-AzureService, Stop-AzureService, Start-AzureService, and Remove-AzureService.

    The management certificate is added to all of your subscriptions. If you are later assigned additional subscriptions as a co-administrator, you must import these settings again to generate a new management certificate, which is added to all the subscriptions.

    Important重要提示
    To avoid unauthorized access to Windows Azure services, you should save the downloaded profile to a secure location, and you should delete the file after you import the settings (using Import-AzurePublishSettings).

  • The subscription ID for each subscription for which you are the service administrator (the subscription owner) or a co-administrator. This information is used to retrieve storage account information and quotas during service deployment.

note注意
If you do not have a Windows Azure subscription, see Windows Azure purchase options to find out how to get one. To sign up for a free trial, see Windows Azure 3 Month free trial.

Parameters

There are no parameters for this cmdlet.

Example

Download the publishing profile for your Windows Azure account:

PS C:\> Get-AzurePublishSettings

另请参见


生成日期:

2013-01-07

社区附加资源

显示:
© 2014 Microsoft