Skip to content

Commit 003c6cb

Browse files
authored
resolves #46379
resolves MicrosoftDocs/azure-docs#46379
1 parent 99ce487 commit 003c6cb

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

articles/azure-functions/functions-bindings-expressions-patterns.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,19 @@ public static void Run(
127127

128128
```
129129

130-
You can also create expressions for parts of the file name such as the extension. For more information on how to use expressions and patterns in the Blob path string, see the [Storage blob binding reference](functions-bindings-storage-blob.md).
130+
You can also create expressions for parts of the file name. In the following example, function is triggered only on file names that match a pattern: `anyname-anyfile.csv`
131+
132+
```json
133+
{
134+
"name": "myBlob",
135+
"type": "blobTrigger",
136+
"direction": "in",
137+
"path": "testContainerName/{date}-{filetype}.csv",
138+
"connection": "OrderStorageConnection"
139+
}
140+
```
141+
142+
For more information on how to use expressions and patterns in the Blob path string, see the [Storage blob binding reference](functions-bindings-storage-blob.md).
131143

132144
## Trigger metadata
133145

0 commit comments

Comments
 (0)