Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Add-AzureNodeWebRole

Add-AzureNodeWebRole

microsoft.windowsazure.commands.dll

Synopsis

Creates scaffolding for a Node.js application which will be hosted in the cloud via IIS

Syntax

Add-AzureNodeWebRole [-Name] [-Instances] [<CommonParameters>]

Detailed Description

Creates scaffolding for a Node.js application which will be hosted in the cloud via IIS

Parameters

-Name <String>

The name of the web role, determines the name of the directory containing the scaffolding for the node.js application that will be hosted in the web role, default is WebRole# Where # is the number of web roles in the service

Aliases

None

Required?

false

Position

1

Default value

WebRole1

Accept pipeline input?

false

Accept wildcard characters?

false

-Instances <Int32>

The number of role instances for this web role, default is 1

Aliases

None

Required?

false

Position

2

Default value

1

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

node-dev

Examples

-------------- Default --------------

C:\PS>

Adds a Microsoft Azure web role with the default configuration (Name = "Webole1", Instances = 1)

Add-AzureNodeWebRole

-------------- Single Instance Web Role --------------

C:\PS>

Adds scaffolding for a single web role named "MyWebRole" to the current application

Add-AzureNodeWebRole -Name MyWebRole

-------------- Multiple Instance Web Role --------------

C:\PS>

Adds scaffolding for a new web role named "MyWebRole" to the current application, with a role instance count of 2

Add-AzureNodeWebRole MyWebRole -I 2

New-AzureServiceProject
Add-AzureNodeWorkerRole