azure-maven-plugins icon indicating copy to clipboard operation
azure-maven-plugins copied to clipboard

[Functions] Introduce azure-functions:up target

Open asavaritayal opened this issue 6 years ago • 2 comments

Feature proposal - starting issue to gauge traction and get thoughts of the larger group. This is inspired by az webapp up. /cc @ahmedelnably

mvn azure-functions:up \
                 -DappName={function app name} \
                 -Dregion={region} 

Introduce a azure-functions:up target that :

  • automatically creates a resource group and function app in Azure based on the appName and region parameters
  • generates a local Java project with an HTTP triggered function which is slightly more complex than basic hello world
  • builds the package and publishes it to Azure
  • prints the Function URL to the CLI

/cc @hexiaokai @selvasingh @brunoborges @jeffhollan

asavaritayal avatar Jan 25 '19 21:01 asavaritayal

Also /cc @JasonFreeberg - may be relevant to App Service as well.

asavaritayal avatar Jan 25 '19 21:01 asavaritayal

@asavaritayal Sorry for reply late . For me the azure-functions:up seems to be an demo project which could show the usage of functions. and i think this could be better to implemented by an archetype. Or we could made a demo project published to azure and user may visit it through URL we provided.

Flanker32 avatar Feb 01 '19 03:02 Flanker32