Skip to content

Instantly share code, notes, and snippets.

@QiMata
Last active November 11, 2017 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save QiMata/cc9c58a85826ff8bf35f1cb525ced04b to your computer and use it in GitHub Desktop.
Save QiMata/cc9c58a85826ff8bf35f1cb525ced04b to your computer and use it in GitHub Desktop.
function.json for Function that reacts to azure
{
"disabled": false,
"bindings": [
{
"name": "myBlob",
"type": "blobTrigger",
"direction": "in",
"path": "samples-workitems",
"connection":"MyStorageAccountAppSetting"
}
]
}
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