功能应用程序 - Python堆栈 - 混合连接 [英] Function app - Python Stack - Hybrid Connection

查看:78
本文介绍了功能应用程序 - Python堆栈 - 混合连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我的功能app运行时版本1带有python函数。我有一个混合连接设置,因为此功能从一些内部部署服务器获取数据。这些功能在Windows操作系统上。


看起来python现在处于运行时版本2的预览版中。我打算开始将python功能从运行时版本1升级到2.我是计划为此目的创建一个新的功能应用程序,但我遇到了一些挑战:


1 - 看起来python运行时堆栈仅在创建新的功能应用程序时选择Linux OS时可用。 / p>

2.-如果我选择Linux操作系统,我会收到错误' Linux工作人员在资源组中不可用
'。


3.-我理想地想要将我的功能应用程序放在同一资源组中。使用新资源组仅用于测试目的,我能够使用Linux OS和Python运行时堆栈创建功能应用程序。我发现的问题是在尝试设置
混合连接时。看起来混合连接不适用于使用Linux OS的功能应用程序,这是正确的吗?



使用python函数的最佳选择是什么?混合连接和运行时版本2?或者我应该坚持运行时版本1?就像我现在拥有它们一样。 



我是否需要混合连接才能连接到位于azure vm中的数据源? / p>


谢谢,


奥斯卡



  

解决方案

不幸的是,混合连接目前无法用于Linux App Service产品。如果您需要混合连接的功能,那么您需要保留其中一个Windows产品。


要回答您提出的最后一个问题,您不需要混合连接来访问位于Azure VM上的数据。


Hello,

I have function app run time version 1 with python functions. I have a hybrid connection setup as this function get data from some on-premise servers. These function are on Windows OS.

Looks python is now in preview for run time version 2. I was planning to start upgrading the python function from run time version 1 to 2. I'm planning to create a new function app for this purposes but I'm having some challenges:

1 - Looks python runtime stack is only available when choosing Linux OS when creating a new function app.

2.- If I choose Linux OS I get error 'Linux workers are not available in resource group '.

3.- I ideally would like to have my function apps in the same resource group. Using a new resource group just for testing purposes I was able to create the function app with Linux OS and Python runtime stack. The problem I found was when trying to setup the hybrid connection. Looks hybrid connection is not available for function apps with Linux OS, is this correct?

What would be my best option to have python functions using a hybrid connection and runtime version 2? or should I stick with runtime version 1? just the way I have them now. 

Do I need a hybrid connection to connect to data source sitting in an azure vm?

Thanks,

Oscar

  

解决方案

Unfortunately, hybrid connection is currently not available for the Linux App Service offerings. If you need the features of hybrid connection, then you would need to stay on one of the Windows offerings.

To answer the last question you asked, you should not need a hybrid connection to access data sitting on an Azure VM.


这篇关于功能应用程序 - Python堆栈 - 混合连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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