Last active
November 11, 2017 16:01
-
-
Save QiMata/cc9c58a85826ff8bf35f1cb525ced04b to your computer and use it in GitHub Desktop.
function.json for Function that reacts to azure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"disabled": false, | |
"bindings": [ | |
{ | |
"name": "myBlob", | |
"type": "blobTrigger", | |
"direction": "in", | |
"path": "samples-workitems", | |
"connection":"MyStorageAccountAppSetting" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void Run(Stream myBlob, TraceWriter log) | |
{ | |
log.Info($"C# Blob trigger function Processed blob\n Name:{name} \n Size: {myBlob.Length} Bytes"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment