none
Automation of function app creation. RRS feed

  • Question

  • Hi,
    I'm writing powershell script to automate the creation of function app in azure portal.

    The following command creates a new consumption app service plan as default(doesn't use the existing plan in that resource group)

    New-AzureRmResource    -ResourceType 'Microsoft.Web/Sites' -ResourceName $functionAppName -kind 'functionapp' -Location $location   -ResourceGroupName $resourceGroupName -Properties @{} -force

    Is there any way i could explicitly specify to use existing app service plan instead ?

    Any help is much appreciated.

    Thanks.


    Thursday, May 17, 2018 3:37 AM

All replies