Azure / azure-functions-templates

Azure functions templates for the azure portal, CLI, and VS
MIT License
338 stars 194 forks source link

Binding template help or docs for experimental languages #375

Open mathewc opened 7 years ago

mathewc commented 7 years ago

For some of our experimental languages, we need to find a way to help users with the code they need to write to use the bindings. E.g. this recently came up in a SO question here: http://stackoverflow.com/questions/40982167/azure-function-powershell-read-from-storage-queue-and-write-to-storage-table.

This might take the form of more samples, or perhaps language specific doc for each binding. As it stands now, determining the right code for each binding per language is very hard for users (i.e. magical incantations).

alandevos commented 7 years ago

@mathewc speaking of, is there any way to bind to the blobname w/ powershell (using BlobTrigger). I have been unable to find any documentation and have had no luck tinkering (setting a paramater in path, etc.).

cparker4486 commented 7 years ago

I would really appreciate more samples in PowerShell. Us IT folks are not devs but Azure can be a powerful resource for us. With lack of PowerShell support (docs and samples), I'm flying blind.

This is the sample for QueueTrigger-PowerShell:

$in = Get-Content $triggerInput
Write-Output "PowerShell script processed queue message '$in'"

I, personally, can't do much with that. Especially when trying to read/write to OneDrive for Business.