Skip to content

Latest commit

 

History

History
70 lines (42 loc) · 1.45 KB

File metadata and controls

70 lines (42 loc) · 1.45 KB

Micronaut and Azure Function

Prerequisites

  • Gradle 5+
  • Latest Function Core Tools
  • Azure CLI. This plugin use Azure CLI for authentication, please make sure you have Azure CLI installed and logged in.

Setup

az login
az account set -s <your subscription id>

## Running the function locally

```cmd
./mvnw clean package azure-functions:run

And visit http://localhost:7071/api/demo

Deploying the function

To deploy the function run:

$ ./mvnw clean package azure-functions:deploy

Micronaut and Azure Function

Prerequisites

  • Gradle 5+
  • Latest Function Core Tools
  • Azure CLI. This plugin use Azure CLI for authentication, please make sure you have Azure CLI installed and logged in.

Setup

az login
az account set -s <your subscription id>

## Running the function locally

```cmd
./mvnw clean package azure-functions:run

And visit http://localhost:7071/api/demo

Deploying the function

To deploy the function run:

$ ./mvnw clean package azure-functions:deploy

Feature azure-function-http documentation

Feature azure-function documentation