Functions in Function app reversal

Krishnamohan Nadimpalli 406 Reputation points
2022-11-15T07:58:03.78+00:00

Hi

I am new to function apps and Deployment.

I had an existing function app which has two Functions dtr_raw_sql_push and dtr_copy_data. Now I wanted to create a new function dtr_raw_mysql_push . So I created new function in VS Code and Deployed to above function app. But this has deleted the existing functions dtr_raw_sql_push and dtr_copy_data. And I want to retrieve them. Please help me in this. There is not source control as such for the above Function app.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,642 questions
0 comments No comments
{count} votes

Accepted answer
  1. MughundhanRaveendran-MSFT 12,451 Reputation points
    2022-11-15T10:28:44.947+00:00

    @Krishnamohan Nadimpalli ,

    Unfortunately, the source code of the functions dtr_raw_sql_push and dtr_copy_data cannot be retrieved. As you mentioned, the new deployment would overwrite the existing functions, this is by design. It is recommended to create multiple functions inside one function app and deploy them at once. You can configure source control using github/git and build a CI/CD pipeline to automate the deployment process.

    https://learn.microsoft.com/en-us/azure/architecture/example-scenario/apps/devops-dotnet-webapp

    Hope this helps!


0 additional answers

Sort by: Most helpful