如何使用Azure功能检查Logic App运行状况? [英] How to check Logic App health status using Azure Function?

查看:73
本文介绍了如何使用Azure功能检查Logic App运行状况?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望使用Azure API管理向第三方公开安全端点,并将Azure功能称为后端api和Azure功能,我们需要检查Logic App的健康状态。你能帮忙怎么做。

We want to expose secure endpoint to third party using Azure API management and which call Azure function as backend api and inside Azure function, We need to check Logic App heath Status. Could you please help how to do it.

推荐答案

按Logic App Health Status,你的意思是正在运行的工作流程的状态吗?

如果是这样,您可以通过调用获取状态。工作流程运行 - 获取  API。

By Logic App Health Status, do you mean the status of a running workflow?
If so, you can get the status by calling the Workflow Runs - Get API.

与任何标准REST调用一样,您只需编写一个简单的函数即可。

Like any standard REST call, you can just write up a simple function which does just that.

要控制对Azure ARM API的访问,您需要使用
Azure功能的托管标识

To control access to the Azure ARM API, you will want to check out using Managed Identities for Azure Functions.


这篇关于如何使用Azure功能检查Logic App运行状况?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆