Azure function quick start





Please make sure you have installed :- 
Azure Core Tools 2.x
Initialize your project 
func init MyFunctionProj
Create a new function

func new --name MyHttpTrigger --template "HttpTrigger"
Other valid templates are :-
EventHubTrigger
EventHubTrigger
You can find out triggers supported from here.

func host start --build
Deployment scripts :-
myResourceGroup=functionResource
targetlocation=southwestaustralia
az group create --name $myResourceGroup --location $targetlocation
az storage account create --name functionAppDatastore --location $targetlocation --resource-group myResourceGroup --sku Standard_LR
az functionapp create --resource-group $myResourceGroup --consumption-plan-location $targetlocation \
--name httpfunctionApp --storage-account  functionAppDatastore --runtime dotnet
Deployment

func azure functionapp publish httpfunctionApp

Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm