您可以将Traffic Manager与Blob存储或Azure函数一起使用吗 [英] Can you use Traffic Manager with blob storage or Azure functions

查看:60
本文介绍了您可以将Traffic Manager与Blob存储或Azure函数一起使用吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从Azure Traffic Manager请求中获得了一些简单的JSON,因此理想情况下,它将被存储在标有公共访问策略以读取blob的blob存储帐户中.尝试执行此操作时-在ATM中使用外部端点-我收到400 HTTP响应.

I have a simple bit of JSON from an Azure Traffic Manager request, so ideally it would be stored in a blob storage account that is marked with a public access policy to read the blob. When I attempt this - using external endpoint in ATM - I get a 400 HTTP response.

端点在门户网站上在线显示,这很有趣,因为通过浏览器发布URL也会导致400错误.我的健康状况调查指向$ root容器中的公共Blob.

The endpoint shows online in the portal, which is interesting since issuing that URL through the browser also results in a 400 error. I have the health probe pointed at a public blob at the $root container.

我的第二个尝试是然后尝试将Azure函数用作终结点,在这种情况下,运行状况探测将导致已停止"状态.从较早的文章看来,这将返回基本的App服务计划(这是消费计划),但是我认为这已经过时了?

My second attempt was to then try an Azure function as the endpoint, and in this case the health probe results in a 'stopped' state. From older articles it appeared this would be returned for a basic App service plan (this is a consumption plan), but I presume that's outdated at this point?

这里的分辨率是多少?这不应该那么难!

What's the resolution here? This shouldn't be this hard!

推荐答案

根据您的描述,我从一边检查了此问题,并且可能遇到与您提到的问题相同的问题.然后我发现了有关将Azure功能与Traffic Manager集成.

According to your description, I checked this issue on my side and I could encounter the same issue as you mentioned. Then I found issues about Traffic Manager and Blob Storage and Integration of Azure Functions with Traffic Manager.

据我了解,Traffic Manager不支持与Blob存储集成,您可以添加功能请求这里.

Per my understanding, Traffic Manager does not support integration with Blob Storage, you could add your feature request here.

要与Azure Functions集成,需要确保 Standard SKU或更高版本的Web应用程序可与Traffic Manager一起使用.对于 Standard SKU以下的Web应用,您可以利用

For integrating with Azure Functions, you need to make sure your Web Apps at the Standard SKU or above are eligible for use with Traffic Manager. For web apps below Standard SKU, you could leverage Azure Functions Proxies. Here are some references, you could refer to them:

Traffic Manager-Web Apps作为端点

Azure Functions Traffic Manager

这篇关于您可以将Traffic Manager与Blob存储或Azure函数一起使用吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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