Skip to content

Commit 990897f

Browse files
authored
Merge pull request #49838 from SimonWahlin/patch-3
The argument should be functions-version
2 parents 6525a61 + 96e3cce commit 990897f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-functions/functions-create-first-azure-function-azure-cli.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Use the following Azure CLI commands to create these items. Each command provide
276276
If you are using Python 3.6, change `--runtime-version` to `3.6`.
277277
278278
```azurecli
279-
az functionapp create --resource-group AzureFunctionsQuickstart-rg --os-type Linux --consumption-plan-location westeurope --runtime python --runtime-version 3.7 --functions_version 2 --name <APP_NAME> --storage-account <STORAGE_NAME>
279+
az functionapp create --resource-group AzureFunctionsQuickstart-rg --os-type Linux --consumption-plan-location westeurope --runtime python --runtime-version 3.7 --functions-version 2 --name <APP_NAME> --storage-account <STORAGE_NAME>
280280
```
281281
::: zone-end
282282
@@ -285,19 +285,19 @@ Use the following Azure CLI commands to create these items. Each command provide
285285
286286
287287
```azurecli
288-
az functionapp create --resource-group AzureFunctionsQuickstart-rg --consumption-plan-location westeurope --runtime node --runtime-version 10 --functions_version 2 --name <APP_NAME> --storage-account <STORAGE_NAME>
288+
az functionapp create --resource-group AzureFunctionsQuickstart-rg --consumption-plan-location westeurope --runtime node --runtime-version 10 --functions-version 2 --name <APP_NAME> --storage-account <STORAGE_NAME>
289289
```
290290
::: zone-end
291291
292292
::: zone pivot="programming-language-csharp"
293293
```azurecli
294-
az functionapp create --resource-group AzureFunctionsQuickstart-rg --consumption-plan-location westeurope --runtime dotnet --functions_version 2 --name <APP_NAME> --storage-account <STORAGE_NAME>
294+
az functionapp create --resource-group AzureFunctionsQuickstart-rg --consumption-plan-location westeurope --runtime dotnet --functions-version 2 --name <APP_NAME> --storage-account <STORAGE_NAME>
295295
```
296296
::: zone-end
297297
298298
::: zone pivot="programming-language-powershell"
299299
```azurecli
300-
az functionapp create --resource-group AzureFunctionsQuickstart-rg --consumption-plan-location westeurope --runtime powershell --functions_version 2 --name <APP_NAME> --storage-account <STORAGE_NAME>
300+
az functionapp create --resource-group AzureFunctionsQuickstart-rg --consumption-plan-location westeurope --runtime powershell --functions-version 2 --name <APP_NAME> --storage-account <STORAGE_NAME>
301301
```
302302
::: zone-end
303303

0 commit comments

Comments
 (0)