系统中不存在具有指定 ID 的实体
Entity with the specified id does not exist in the system
我正在尝试从集成到 vnet subnet = "default"
的应用程序服务访问 cosmos db。此子网已为 Cosmos db 启用服务终结点,并且已在 cosmos db 门户中添加 vnet+子网的配置。
I am getting this error - Entity with the specified id does not exist in the system when my app sends a query to the cosmos db account through NodeJS SDK
与 vnet 关联的虚拟网络网关有
Address pool = 172.16.0.0/24, Tunnel type = SSL VPN(SSTP) [disabled IKEv2 VPN]
SKU = VpnGw1
我想要与 vnet 集成的应用程序服务访问 cosmos db,它为 vnet,子网启用了服务端点
Azure 应用服务中的应用程序托管在多租户系统中,这排除了直接在 VNet 中配置应用程序的可能性。此外,VNet 集成功能始终用于安全访问虚拟网络中的资源。这并不意味着 Web 应用程序位于该 VNet 中,并且您无法通过 VNet 端点部分限制 Web 应用程序访问 cosmos DB。
如果您只想允许从 VNet 访问,您可以使用 App Service Environments 创建 Web 应用程序服务。 Web 应用将部署到 VNet 中,你可以精细控制入站和出站应用程序网络流量。然后就可以将VNet添加到cosmos DB防火墙了。
我正在尝试从集成到 vnet subnet = "default"
的应用程序服务访问 cosmos db。此子网已为 Cosmos db 启用服务终结点,并且已在 cosmos db 门户中添加 vnet+子网的配置。
I am getting this error - Entity with the specified id does not exist in the system when my app sends a query to the cosmos db account through NodeJS SDK
与 vnet 关联的虚拟网络网关有
Address pool = 172.16.0.0/24, Tunnel type = SSL VPN(SSTP) [disabled IKEv2 VPN]
SKU = VpnGw1
我想要与 vnet 集成的应用程序服务访问 cosmos db,它为 vnet,子网启用了服务端点
Azure 应用服务中的应用程序托管在多租户系统中,这排除了直接在 VNet 中配置应用程序的可能性。此外,VNet 集成功能始终用于安全访问虚拟网络中的资源。这并不意味着 Web 应用程序位于该 VNet 中,并且您无法通过 VNet 端点部分限制 Web 应用程序访问 cosmos DB。
如果您只想允许从 VNet 访问,您可以使用 App Service Environments 创建 Web 应用程序服务。 Web 应用将部署到 VNet 中,你可以精细控制入站和出站应用程序网络流量。然后就可以将VNet添加到cosmos DB防火墙了。