Skip to content

Commit e2e7fca

Browse files
authored
Merge pull request #192480 from spelluru/egridresize0321
fixes based on testing
2 parents e001b1e + e41f8cf commit e2e7fca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/event-grid/resize-images-on-storage-blob-upload-event.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: 'Tutorial: Use Azure Event Grid to automate resizing uploaded images'
33
description: 'Tutorial: Azure Event Grid can trigger on blob uploads in Azure Storage. You can use this to send image files uploaded to Azure Storage to other services, such as Azure Functions, for resizing and other improvements.'
44
ms.topic: tutorial
5-
ms.date: 09/28/2021
5+
ms.date: 03/21/2022
66
ms.devlang: csharp, javascript
77
ms.custom: devx-track-azurecli
88
---
@@ -136,7 +136,7 @@ Create a function app by using the [az functionapp create](/cli/azure/functionap
136136
2. Create a function app.
137137
138138
```azurecli-interactive
139-
az functionapp create --name $functionapp --storage-account $functionstorage --resource-group $resourceGroupName --consumption-plan-location $location --functions-version 2
139+
az functionapp create --name $functionapp --storage-account $functionstorage --resource-group $resourceGroupName --consumption-plan-location $location --functions-version 3
140140
```
141141
142142
---
@@ -168,7 +168,7 @@ blobStorageAccountKey=$(az storage account keys list -g $resourceGroupName -n $b
168168
169169
storageConnectionString=$(az storage account show-connection-string --resource-group $resourceGroupName --name $blobStorageAccount --query connectionString --output tsv)
170170
171-
az functionapp config appsettings set --name $functionapp --resource-group $resourceGroupName --settings FUNCTIONS_EXTENSION_VERSION=~2 BLOB_CONTAINER_NAME=thumbnails AZURE_STORAGE_ACCOUNT_NAME=$blobStorageAccount AZURE_STORAGE_ACCOUNT_ACCESS_KEY=$blobStorageAccountKey AZURE_STORAGE_CONNECTION_STRING=$storageConnectionString FUNCTIONS_WORKER_RUNTIME=node
171+
az functionapp config appsettings set --name $functionapp --resource-group $resourceGroupName --settings FUNCTIONS_EXTENSION_VERSION=~2 BLOB_CONTAINER_NAME=thumbnails AZURE_STORAGE_ACCOUNT_NAME=$blobStorageAccount AZURE_STORAGE_ACCOUNT_ACCESS_KEY=$blobStorageAccountKey AZURE_STORAGE_CONNECTION_STRING=$storageConnectionString FUNCTIONS_WORKER_RUNTIME=node WEBSITE_NODE_DEFAULT_VERSION=~10
172172
```
173173

174174
---
@@ -194,7 +194,7 @@ The sample Node.js resize function is available on [GitHub](https://github.com/A
194194
```azurecli-interactive
195195
az functionapp deployment source config --name $functionapp \
196196
--resource-group $resourceGroupName --branch master --manual-integration \
197-
--repo-url https://github.com/Azure-Samples/storage-blob-resize-function-node-v10
197+
--repo-url https://github.com/Azure-Samples/storage-blob-resize-function-node-v10-v10
198198
```
199199

200200
---

0 commit comments

Comments
 (0)