简体   繁体   English

将prem API导入到Azure API Management

[英]Importing on prem APIs to Azure API Management

It is my understanding that if I create a VPN gateway from my Azure VNET to my on prem network that I should be able to import APIs using the WSDL import into API Management. 据我了解,如果我创建了一个从Azure VNET到本地网络的VPN网关,则应该能够使用WSDL导入API Management来导入API。

Is this possible? 这可能吗? When in Azure it doesn't seem to be able to resolve my internal web api address. 在Azure中时,似乎无法解析我的内部Web API地址。 Do I need to put some DNS stuff in to Azure? 我是否需要将一些DNS内容放入Azure?

Yes, go to your Virtual Network in Azure that has the VPN Gateway resource and add your on-prem DNS stuff. 是的,转到具有VPN网关资源的Azure中的虚拟网络,然后添加本地DNS内容。 API Management will then use those name servers when resolving names . 然后,API Management将在解析名称时使用这些名称服务器

Careful here, it will use those name servers for all queries, so make sure your on-prem DNS stuff resolves public names as well. 请注意,它将对所有查询使用这些名称服务器,因此请确保本地DNS内容也可以解析公共名称。

You'll need to apply the Network Configuration updates once you're done. 完成后,您将需要应用网络配置更新

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM