Creates a configuration for a hosted service, which you can use to deploy your Node.js service to Windows Azure.
New-AzureService [-Name] <string>
Run New-AzureService to create a configuration for a hosted service. This cmdlet creates a service subdirectory on your local computer, adds service configuration files in the service directory, and changes the focus of the Windows PowerShell command prompt to the new service directory.
Specifies the service name. When you deploy your service (using Publish-AzureService), the service name must be unique within Windows Azure.
The service name is used for the service directory, which contains the service configuration files and application files. If a storage account is created for the service, the storage account also has the service name.
The service name also is used in the friendly URL for accessing the service in the Windows Azure production environment: <ServiceName>.cloudapp.net.
Create a new hosted service named MyService:
PS C:\node> New-AzureService MyService Service has been created at C:\node\MyService PS C:\node\MyService>
|To see the configuration files that were created, view a directory listing (type ls). To view the contents of a configuration file, type: notepad <filename> to open the file in Notepad.|
Date de génération :