You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-event-grid-blob-trigger.md
+81-80Lines changed: 81 additions & 80 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,86 +71,87 @@ When you create a Blob Storage trigger function using Visual Studio Code, you al
71
71
72
72
Don't choose a project folder that's already part of a workspace.
73
73
74
-
1. At the prompts, provide the following information:
75
-
76
-
::: zone pivot="programming-language-csharp"
77
-
|Prompt|Action|
78
-
|--|--|
79
-
|**Select a language**| Select `C#`. |
80
-
|**Select a .NET runtime**| Select `.NET 8.0 Isolated LTS`. |
81
-
|**Select a template for your project's first function**| Select `Azure Blob Storage trigger (using Event Grid)`. |
82
-
|**Provide a function name**| Enter `BlobTriggerEventGrid`. |
83
-
|**Provide a namespace**| Enter `My.Functions`. |
84
-
|**Select setting from "local.settings.json"**| Select `Create new local app setting`. |
85
-
|**Select subscription**| Select your subscription.|
86
-
|**Select a storage account**| Use Azurite emulator for local storage. |
87
-
|**This is the path within your storage account that the trigger will monitor**| Accept the default value `samples-workitems`. |
88
-
|**Select how you would like to open your project**| Select `Open in current window`. |
89
-
::: zone-end
90
-
::: zone pivot="programming-language-python"
91
-
|Prompt|Action|
92
-
|--|--|
93
-
|**Select a language**| Select `Python`. |
94
-
|**Select a Python interpreter to create a virtual environment**| Select your preferred Python interpreter. If an option isn't shown, enter the full path to your Python binary. |
95
-
|**Select a template for your project's first function**| Select `Blob trigger`. |
96
-
|**Select a Python programming model**| Select `V2 Programming Model`. |**Provide a function name**| Enter `blob_trigger_event_grid`. |
97
-
|**Select setting from "local.settings.json"**| Select `Create new local app setting`. |
98
-
|**Select subscription**| Select your subscription.|
99
-
|**Select a storage account**| Use Azurite emulator for local storage. |
100
-
|**This is the path within your storage account that the trigger will monitor**| Accept the default value `samples-workitems`. |
101
-
|**Select how you would like to open your project**| Select `Open in current window`. |
102
-
::: zone-end
103
-
::: zone pivot="programming-language-java"
104
-
|Prompt|Action|
105
-
|--|--|
106
-
|**Select a language**| Select `Java`. |
107
-
|**Select a version of Java**| Select `Java 11` or `Java 8`, the Java version on which your functions run in Azure and that you've locally verified. |
108
-
|**Provide a group ID**| Select `com.function`. |
109
-
|**Provide an artifact ID**| Select `BlobTriggerEventGrid`. |
110
-
|**Provide a version**| Select `1.0-SNAPSHOT`. |
111
-
|**Provide a package name**| Select `com.function`. |
112
-
|**Provide an app name**| Accept the generated name starting with `BlobTriggerEventGrid`. |
113
-
|**Select the build tool for Java project**| Select `Maven`. |
114
-
|**Select how you would like to open your project**| Select `Open in current window`. |
115
-
::: zone-end
116
-
::: zone pivot="programming-language-typescript"
117
-
|Prompt|Action|
118
-
|--|--|
119
-
|**Select a language for your function project**| Select `TypeScript`. |
120
-
|**Select a TypeScript programming model**| Select `Model V4`. |
121
-
|**Select a template for your project's first function**| Select `Azure Blob Storage trigger (using Event Grid)`. |
122
-
|**Provide a function name**| Enter `BlobTriggerEventGrid`. |
123
-
|**Select setting from "local.settings.json"**| Select `Create new local app setting`. |
124
-
|**Select subscription**| Select your subscription.|
125
-
|**Select a storage account**| Use Azurite emulator for local storage. |
126
-
|**This is the path within your storage account that the trigger will monitor**| Accept the default value `samples-workitems`. |
127
-
|**Select how you would like to open your project**| Select `Open in current window`. |
128
-
::: zone-end
129
-
::: zone pivot="programming-language-javascript"
130
-
|Prompt|Action|
131
-
|--|--|
132
-
|**Select a language for your function project**| Select `JavaScript`. |
133
-
|**Select a JavaScript programming model**| Select `Model V4`. |
134
-
|**Select a template for your project's first function**| Select `Azure Blob Storage trigger (using Event Grid)`. |
135
-
|**Provide a function name**| Enter `BlobTriggerEventGrid`. |
136
-
|**Select setting from "local.settings.json"**| Select `Create new local app setting`. |
137
-
|**Select subscription**| Select your subscription.|
138
-
|**Select a storage account**| Use Azurite emulator for local storage. |
139
-
|**This is the path within your storage account that the trigger will monitor**| Accept the default value `samples-workitems`. |
140
-
|**Select how you would like to open your project**| Select `Open in current window`. |
141
-
::: zone-end
142
-
::: zone pivot="programming-language-powershell"
143
-
|Prompt|Action|
144
-
|--|--|
145
-
|**Select a language for your function project**| Select `PowerShell`. |
146
-
|**Select a template for your project's first function**| Select `Azure Blob Storage trigger (using Event Grid)`. |
147
-
|**Provide a function name**| Enter `BlobTriggerEventGrid`. |
148
-
|**Select setting from "local.settings.json"**| Select `Create new local app setting`. |
149
-
|**Select subscription**| Select your subscription.|
150
-
|**Select a storage account**| Use Azurite emulator for local storage. |
151
-
|**This is the path within your storage account that the trigger will monitor**| Accept the default value `samples-workitems`. |
152
-
|**Select how you would like to open your project**| Select `Open in current window`. |
153
-
::: zone-end
74
+
1. At the prompts, provide the following information:
75
+
76
+
::: zone pivot="programming-language-csharp"
77
+
|Prompt|Action|
78
+
|--|--|
79
+
|**Select a language**| Select `C#`. |
80
+
|**Select a .NET runtime**| Select `.NET 8.0 Isolated LTS`. |
81
+
|**Select a template for your project's first function**| Select `Azure Blob Storage trigger (using Event Grid)`. |
82
+
|**Provide a function name**| Enter `BlobTriggerEventGrid`. |
83
+
|**Provide a namespace**| Enter `My.Functions`. |
84
+
|**Select setting from "local.settings.json"**| Select `Create new local app setting`. |
85
+
|**Select subscription**| Select your subscription.|
86
+
|**Select a storage account**| Use Azurite emulator for local storage. |
87
+
|**This is the path within your storage account that the trigger will monitor**| Accept the default value `samples-workitems`. |
88
+
|**Select how you would like to open your project**| Select `Open in current window`. |
89
+
::: zone-end
90
+
::: zone pivot="programming-language-python"
91
+
|Prompt|Action|
92
+
|--|--|
93
+
|**Select a language**| Select `Python`. |
94
+
|**Select a Python interpreter to create a virtual environment**| Select your preferred Python interpreter. If an option isn't shown, enter the full path to your Python binary. |
95
+
|**Select a template for your project's first function**| Select `Blob trigger`. |
96
+
|**Select a Python programming model**| Select `V2 Programming Model`. |
97
+
|**Provide a function name**| Enter `blob_trigger_event_grid`. |
98
+
|**Select setting from "local.settings.json"**| Select `Create new local app setting`. |
99
+
|**Select subscription**| Select your subscription.|
100
+
|**Select a storage account**| Use Azurite emulator for local storage. |
101
+
|**This is the path within your storage account that the trigger will monitor**| Accept the default value `samples-workitems`. |
102
+
|**Select how you would like to open your project**| Select `Open in current window`. |
103
+
::: zone-end
104
+
::: zone pivot="programming-language-java"
105
+
|Prompt|Action|
106
+
|--|--|
107
+
|**Select a language**| Select `Java`. |
108
+
|**Select a version of Java**| Select `Java 11` or `Java 8`, the Java version on which your functions run in Azure and that you've locally verified. |
109
+
|**Provide a group ID**| Select `com.function`. |
110
+
|**Provide an artifact ID**| Select `BlobTriggerEventGrid`. |
111
+
|**Provide a version**| Select `1.0-SNAPSHOT`. |
112
+
|**Provide a package name**| Select `com.function`. |
113
+
|**Provide an app name**| Accept the generated name starting with `BlobTriggerEventGrid`. |
114
+
|**Select the build tool for Java project**| Select `Maven`. |
115
+
|**Select how you would like to open your project**| Select `Open in current window`. |
116
+
::: zone-end
117
+
::: zone pivot="programming-language-typescript"
118
+
|Prompt|Action|
119
+
|--|--|
120
+
|**Select a language for your function project**| Select `TypeScript`. |
121
+
|**Select a TypeScript programming model**| Select `Model V4`. |
122
+
|**Select a template for your project's first function**| Select `Azure Blob Storage trigger (using Event Grid)`. |
123
+
|**Provide a function name**| Enter `BlobTriggerEventGrid`. |
124
+
|**Select setting from "local.settings.json"**| Select `Create new local app setting`. |
125
+
|**Select subscription**| Select your subscription.|
126
+
|**Select a storage account**| Use Azurite emulator for local storage. |
127
+
|**This is the path within your storage account that the trigger will monitor**| Accept the default value `samples-workitems`. |
128
+
|**Select how you would like to open your project**| Select `Open in current window`. |
129
+
::: zone-end
130
+
::: zone pivot="programming-language-javascript"
131
+
|Prompt|Action|
132
+
|--|--|
133
+
|**Select a language for your function project**| Select `JavaScript`. |
134
+
|**Select a JavaScript programming model**| Select `Model V4`. |
135
+
|**Select a template for your project's first function**| Select `Azure Blob Storage trigger (using Event Grid)`. |
136
+
|**Provide a function name**| Enter `BlobTriggerEventGrid`. |
137
+
|**Select setting from "local.settings.json"**| Select `Create new local app setting`. |
138
+
|**Select subscription**| Select your subscription.|
139
+
|**Select a storage account**| Use Azurite emulator for local storage. |
140
+
|**This is the path within your storage account that the trigger will monitor**| Accept the default value `samples-workitems`. |
141
+
|**Select how you would like to open your project**| Select `Open in current window`. |
142
+
::: zone-end
143
+
::: zone pivot="programming-language-powershell"
144
+
|Prompt|Action|
145
+
|--|--|
146
+
|**Select a language for your function project**| Select `PowerShell`. |
147
+
|**Select a template for your project's first function**| Select `Azure Blob Storage trigger (using Event Grid)`. |
148
+
|**Provide a function name**| Enter `BlobTriggerEventGrid`. |
149
+
|**Select setting from "local.settings.json"**| Select `Create new local app setting`. |
150
+
|**Select subscription**| Select your subscription.|
151
+
|**Select a storage account**| Use Azurite emulator for local storage. |
152
+
|**This is the path within your storage account that the trigger will monitor**| Accept the default value `samples-workitems`. |
153
+
|**Select how you would like to open your project**| Select `Open in current window`. |
0 commit comments