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-AzureDjangoWebRole

Add-AzureDjangoWebRole

microsoft.windowsazure.commands.dll

Synopsis

Creates scaffolding for a Python Django application which will be hosted in the cloud via IIS

Syntax

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

Detailed Description

Creates scaffolding for a Python Django 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 Python Django 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

python-dev

Examples

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

C:\PS>

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

Add-AzureDjangoWebRole

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

C:\PS>

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

Add-AzureDjangoWebRole -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-AzureDjangoWebRole MyWebRole -I 2

New-AzureServiceProject