我有一個.NET Web Api項目,其中有幾個REST終結點,我只想通過我創建的Azure虛擬網絡中的資源訪問這些終結點。像Azure Functions和Azure Web Roles這樣的資源只能訪問這些端點。換句話說,我不希望公開端點。如何製作Azure Web Api項目REST終結點僅適用於Azure虛擬網絡
因此,我將Web Api應用程序與我的虛擬網絡配置在一起,但顯然我還需要將Web Api應用程序添加到應用程序服務環境中(從我所閱讀的內容來看,這相當昂貴)。引述Azure的documentation:
VNET Integration gives your web app access to resources in your virtual network but does not grant private access to your web app from the virtual network.
我是否確實需要使用的應用程序服務環境和公正的處理成本或有另一種方式,我可以實現我想要什麼?