Deploy Azure function from code (c#)

后端 未结 2 470
天涯浪人
天涯浪人 2021-01-01 07:38

How to deploy azure function (executed on schedule) with code as string (in c#) to given azure functions app?

I am going to use ARM template to depl

2条回答
  •  悲哀的现实
    2021-01-01 08:28

    If you're going to deploy the function itself directly from code as opposed to using a CI/CD pipeline then your best bet is to use the Kudu REST APIs to upload the function code as a zip to the running function app. You should be able to make do using HttpClient or any of the other .NET REST libraries.

提交回复
热议问题