什么是适合我的自动化方案的Azure产品? [英] What are the right Azure products for my Automation scenario?

查看:71
本文介绍了什么是适合我的自动化方案的Azure产品?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早安,

我刚刚开始在Azure上进行开发,正在使用Function and Logic Apps,我仍在学习中,我想要有关如何使公司的帐单自动化的建议,这是简短的摘要:

1.从客户的网域获取所有交易费用. (我设法创建了一个功能,您需要传递零售商频率参数 然后将返回计算结果). PS:我的功能支持 monthl y,每季度每半年,<强劲的频率,只需添加频率参数 ,默认值为每月.

Good Day,

I just begin developing on Azure, I am using Function and Logic Apps, I am still studying and learning, I want an advice on how can I automate my company's billing, here is the brief summary:

1. Get all the transaction fee from client's domain. (I managed to create a Function that you need to pass domainretailerfrequencyetc. parameters then it will return the calculated result). PS: my Function supports monthly, quarterlyhalfyearlyyearly frequency, just add frequency parameter , and the default is monthly.

示例响应:

{
    "Period": "December 2018",
    "Domain": "domain",
    "Retailer": "retailer",
    "TransactionCount": 246,
    "TransactionFee": 61.5
}


2.保存包含域,零售商等的客户端列表.属性. (硬编码)
示例列表:


2. Save a list of client containing domain, retailer, etc. properties.  (Hard Coded)
example list:

{
    "Domain": "domain1",
    "Retailer": "retailer1",
},
{
    "Domain": "domain1",
    "Retailer": "retailer2",
},
{
    "Domain": "domain1",
    "Retailer": "retailer3",
}


3.自动执行 Function 功能以运行列表中的每个项目(其中item是参数),然后从每个响应计算 TransactionFee&字段的总和. (此外,这应该可以配置为每个月运行, 每季度一次,每半年一次每年).注意:如果响应已确定进行到下一步,那么也应该有一个条件;如果没有,则应该通过电子邮件通知我有问题.

4.得到结果后,应将结果通过电子邮件发送到给定的电子邮件.


3. Automate my Function to run each item from the list (where item is the parameter) , and then compute the sum of TransactionFee field from each response. (Also this should be configurable to run every month, quarterly, halfyearly & yearly) Note: there should be a condition too , if the response is OK proceed to the next step, If not should notify me that theres a problem , via email I guess.

4. After getting the result, the result should be emailed to given emails.

请告知我需要使用哪些Azure产品来实现此目标.

谢谢
NicoTing

Please advice which Azure products I need to use to achieve this.

Thanks,
NicoTing

推荐答案

您好,NicoTing,使用功能和逻辑应用程序,您的位置正确.这里有2个有用的文档,可以帮助您入门.

Hi NicoTing, You are on the right track with using Function and Logic apps. Here are 2 useful docs to get you started.

1.  https://docs.microsoft.com/zh-CN/azure/azure-functions/functions-twitter-email

1. https://docs.microsoft.com/en-us/azure/azure-functions/functions-twitter-email

2.添加并运行自定义具有Azure功能的Azure Logic应用中的代码片段 以下是您可以运行的特定于服务的论坛:遇到任何问题或有任何相关问题

Here are the service-specific Forums you can post to if you run  into any issues or have any related questions

1. Azure逻辑应用程序的MSDN论坛 2.  Azure函数的MSDN论坛


这篇关于什么是适合我的自动化方案的Azure产品?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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