如何获取功能应用程序的最新部署日期?也许通过Azure REST API? [英] How to get latest deployment date of a Function App? Maybe via the Azure REST api?
问题描述
就像标题所述,我需要获取功能应用程序的最新部署日期。
我正在尝试不同的Azure REST调用,但找不到正确的调用。
不幸的是,并非如此
消费计划
在消费计划中运行的Linux功能应用没有SCM / Kudu站点,这限制了部署选项。但是,在《消费计划》中运行的Linux上的功能应用程序确实支持远程构建。
https://docs.microsoft.com/bs-latn-ba/azure/azure-functions/functions-deployment-technologies
Like the title says, I need to get the latest deployment date of a function app. I'm trying different Azure REST calls, but I can't find the right one. https://docs.microsoft.com/en-us/rest/api/appservice/
For deployment, I mean every time I make a change to the code and re-deploy the Function App.
I'm using Linux/Python environment.
I tried using this GET:
https://docs.microsoft.com/en-us/rest/api/appservice/webapps/listdeployments#code-try-0
But it returns HTML content like:
<html>
<head>
<title>Your Azure Function App is up and running.</title>
<style type="text/css">
@font-face {
font-family: 'SegoeLight';
...
...
...
Which looks like this:
Unfortunately, it's not supported.
Consumption plan
Linux function apps running in the Consumption plan don't have an SCM/Kudu site, which limits the deployment options. However, function apps on Linux running in the Consumption plan do support remote builds.
https://docs.microsoft.com/bs-latn-ba/azure/azure-functions/functions-deployment-technologies
这篇关于如何获取功能应用程序的最新部署日期?也许通过Azure REST API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!