azure-functions-node | A node.js client library for Azure Functions | Azure library
kandi X-RAY | azure-functions-node Summary
kandi X-RAY | azure-functions-node Summary
List, deploy and delete Azure Functions via Node.js. NOTE: this is not an official Microsoft library. If you're looking for the Azure Functions CLI, see azure-functions-cli.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of azure-functions-node
azure-functions-node Key Features
azure-functions-node Examples and Code Snippets
Community Discussions
Trending Discussions on azure-functions-node
QUESTION
When deploying to an Azure functions app using the devops task AzureFunctionApp@1, there is an option to supply a runtimeStack. When I choose JavaScript it automatically inserts the runtimeStack as shown below
...ANSWER
Answered 2021-Jan-12 at 18:48Answering my own question here, but looks like this is a bug in the azure tasks UI and will be fixed soon
https://github.com/microsoft/azure-pipelines-tasks/commit/ae348864ae539a2c84c49b1e6bd499ce92b90356
QUESTION
I'm new to both Docker and Azure Functions so it must be a silly question...
You can pull the images of Azure Functions from Docker Hub, like:
...ANSWER
Answered 2020-Dec-01 at 17:15You can install the remote development extension tools for VSCode and the Azure Functions extension.
Create your local folder then using the remote development tools, open that folder inside a container from the command pallette by selecting 'Reopen In Container'
Then select your definition.
This actually use those base images you mentioned.
It will create a .devcontainer
hidden directory in your repo where it stores the container information and saves you having to install the Function Core tools/NPM or anything else on your local machine.
It automatically forwards the required ports for local debugging and you can push the devcontainer definitions to source control so that others can use your definition with the project.
QUESTION
I have a Nodejs Azure Function using a timer trigger. It uses some modern Javascript syntax (await, flatMap, etc) that is supported in Node v12.
I've deployed my infrastructure with Terraform and specified the linuxFxVersion as "node|12". So far so good. When I deploy my code from the Azure DevOps using the built-in AzureFunctionApp@1 task, it will cause the function to deploy a new image that is running Node v8. This causes my function to break.
Here is the release definition:
...ANSWER
Answered 2020-Oct-08 at 22:37After writing up this whole big question, and proof reading it... I noticed this little snippet in the release task YAML (which I hadn't seen before today as it's a release and uses the AzDO GUI for editing):
runtimeStack: 'DOCKER|microsoft/azure-functions-node8:2.0'
It turns out, if you specify the stack as 'JavaScript' (the options are .NET and JavaScript) the task sets the "runtimeStack" to that string. Which is what gets set in the linuxFxVersion setting on the Function App. Even if you override that setting in the configuration settings.
The fix is to leave the Runtime field blank and then it will respect your settings. Awesome.
QUESTION
I'm building an Azure Function app and have had some issues trying to proxy requests (for data capture purposes) and still respond with the requested files. Essentially what I'm trying to accomplish is:
- Client requests file via GET parameter on an Azure Function endpoint (not its blob storage location)
- Function logs some metadata to table storage (e.g. IP address, timestamp, file name, etc.)
- Function locates the desired file in blob storage and forwards it to the client as if Step 2 didn't occur
I've tried an approach using Q (outlined here) with no luck, and I haven't been able to narrow the issue down (beyond standard 500 errors).
The tutorial above basically goes as follows:
...ANSWER
Answered 2019-Aug-25 at 08:56Let me paraphrase what you asked:
- You want just to retrieve blob storage object upon http request.
I think it is worth looking into bindings. They simplify the integration with other Azure services - Storage Accounts, Service Bus, Twilio - and Function Apps.
In your case it should be an input binding for blob storage. As one way to achieve it you need to customize your route in the http trigger part of function.json as follows: file/{fileName}
. Then you use fileName
in input binding definition in the same function.json.
I think function.json should like this:
QUESTION
I am trying to dockerize azure functions by using the official microsoft/azure-functions-node8
image. I could not find any documentation at all regarding configuring the runtime, and whenever I run the runtime the following errors occur:
ANSWER
Answered 2018-Jul-06 at 01:02It was an old tip used to remind us default storage connection AzureWebJobsStorage
is not set correctly, which had been improved to be more intelligible long time ago. See this issue and its fix.
Looks like in docker image, this fix is omitted somehow.
To solve your problem, just set AzureWebJobsStorage
in your Dockerfile.
QUESTION
I believe Azure ARM does support Azure Functions because obviously this GitHub project https://github.com/sedouard/azure-functions-node is calling ARM to create/get/list/delete Azure Functions. But I couldn't find anything about Azure Functions on Azure REST API Reference (https://docs.microsoft.com/en-us/rest/api/).
Is it an officially supported feature in ARM to manipulate Azure Functions? Where can I find the complete (and up-to-date) documentation of Azure ARM REST API for Azure Functions?
...ANSWER
Answered 2017-May-31 at 22:25Azure Functions is built on top of App Service, and ARM is indeed supported.
You can find links to the REST API and template format for Function Apps under the Web & Mobile section here
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install azure-functions-node
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page