Skip to content

Commit cc3a50a

Browse files
authored
[WebPubSub] Update func sample doc
Clear the runtime version under different function versions.
1 parent bda5904 commit cc3a50a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/azure-web-pubsub/quickstart-serverless.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,14 +381,16 @@ Use the following commands to create these items.
381381
# [JavaScript](#tab/javascript)
382382
383383
```bash
384-
az functionapp create --resource-group WebPubSubFunction --consumption-plan-location <REGION> --runtime node --runtime-version 12 --functions-version 3 --name <FUNCIONAPP_NAME> --storage-account <STORAGE_NAME>
384+
az functionapp create --resource-group WebPubSubFunction --consumption-plan-location <REGION> --runtime node --runtime-version 14 --functions-version 3 --name <FUNCIONAPP_NAME> --storage-account <STORAGE_NAME>
385385
```
386386
387387
# [C#](#tab/csharp)
388388
389389
```bash
390390
az functionapp create --resource-group WebPubSubFunction --consumption-plan-location <REGION> --runtime dotnet --functions-version 3 --name <FUNCIONAPP_NAME> --storage-account <STORAGE_NAME>
391391
```
392+
> [!NOTE]
393+
> If you're running the function version other than v3.0, please check [Azure Functions runtime versions documentation](../azure-functions/functions-versions.md#languages) to set `--runtime` parameter to supported value.
392394
393395
1. Deploy the function project to Azure:
394396

0 commit comments

Comments
 (0)