有关Azure API管理功能集的问题 [英] Questions on feature set of Azure API management

查看:133
本文介绍了有关Azure API管理功能集的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试评估这是否适合我们.

I am trying to evaluate if this is a good fit for us.

我们有一个Google云系统,其中包含在WS 2016上运行的MVC5中创建的API.我们的客户使用我们的API,我们希望管理系统执行以下操作:

We have a google cloud system with APIs created in MVC5 running on WS 2016.  Our clients hit our APIs and we are wanting the management system to do the following:

1) 简化了入门过程,因此可以在5分钟内创建用户并运行API查询.

1)  Ease onboarding so users can be created and run API inquiries within 5 minutes.

2)处理基于Oauth的身份验证-令牌调用,然后后续调用使用令牌.

2) Handle Oauth based authentication - token call then subsequent calls use token.

3)显示用户正在发送的确切呼叫和我们的响应-这是当前的一个大问题,因为我们无法记录令牌呼叫.因此,我们不知道用户遇到了什么问题.

3) Show the exact call our users are sending and our response - this is a big issue currently as we can't log the token call.  So we have no idea what issue the users have.  

4) 进行监控和记录,以便我们可以在>每小时100个错误(如果可能,由客户端,而不是端点)

4)  Monitoring and logging so we can alert when > 100 errors per hour (by client if possible, not endpoint)


推荐答案

Hi gibbie99

请参见以下内容:

1) 简化了入门过程,因此可以在5分钟内创建用户并运行API查询.
可以肯定的是,您可以这样做,但是您可以针对特定的需求/过程或方案进行详细说明吗?

1)  Ease onboarding so users can be created and run API inquiries within 5 minutes.
Pretty sure you can do this but could you elaborate more for specific requirement/process or a scenario? 

2) 处理基于Oauth的身份验证-令牌调用,随后的调用将使用令牌.
是的,请使用AAD作为OAuth提供程序查看以下文档:
通过将OAuth 2.0与Azure Active结合使用来保护API目录和API管理

2) Handle Oauth based authentication - token call then subsequent calls use token.
Yes, please have a look at this documentation using AAD as OAuth provider: 
Protect an API by using OAuth 2.0 with Azure Active Directory and API Management

3)显示用户正在发送的确切呼叫以及我们的响应-这是当前的一个大问题,因为我们无法记录令牌呼叫.因此,我们不知道用户遇到了什么问题.
4)
监视和记录,以便我们可以在>每小时100个错误(如果可能,由客户端,而不是端点)
是的,通过使用API​​管理服务中的日志到事件中心策略,您可以将请求和响应中的任何详细信息发送到Azure事件中心...有关此内容的更多信息:
使用Azure API管理,事件中心和Runscope

3) Show the exact call our users are sending and our response - this is a big issue currently as we can't log the token call.  So we have no idea what issue the users have. 
4) 
Monitoring and logging so we can alert when > 100 errors per hour (by client if possible, not endpoint)
Yes, By using the log-to-eventhub policy in the API Management service, you can send any details from the request and response to an Azure Event Hub... more on this here: 
Monitor your APIs with Azure API Management, Event Hubs, and Runscope


这篇关于有关Azure API管理功能集的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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