sql-server - 使用 Azure DevOps 连接到专用链接上的 Azure SQL

标签 sql-server azure azure-devops azure-sql-database

我想知道,是否有任何方法可以通过 Azure DevOps 连接到使用专用终结点配置的 Azure SQL 服务器。我有一个 Azure SQL 数据库部署任务,该任务无法连接到 SQL 服务器,因为服务器是使用专用终结点配置的。

我想知道如何通过 Azure DevOps 连接到使用专用端点配置的 Azure SQL Server。

任何线索都会非常有帮助。

最佳答案

正如所说的here .

Clients can connect to the Private endpoint from the same VNet, peered VNet in same region, or via VNet-to-VNet connection across regions.

Additionally, clients can connect from on-premises using ExpressRoute, private peering, or VPN tunneling. Below is a simplified diagram showing the common use cases.

您可以在 Azure SQL Server VM 或连接到同一 VNet 的 Azure VM 上创建自托管代理。检查here了解创建自托管代理的详细步骤。

您还可以在本地计算机上创建自托管代理。并使用 ExpressRoute、专用对等互连或 VPN 隧道连接到专用终结点。更多信息请查看文档Connecting from an on-premises environment over VPN

然后,您可以通过设置 pool 在自托管代理上运行管道。到托管自托管代理的私有(private)代理池。您的管道应该能够连接到 SQL Server,因为代理计算机已配置为连接到专用端点。

关于sql-server - 使用 Azure DevOps 连接到专用链接上的 Azure SQL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62042593/

相关文章:

azure - 查看修改管道构建

Azure Web Job App.Config 转换在 TFS 发布管道中不起作用

sql-server - 为什么 STContains 会返回 null?

sql-server - 附加数据库时访问被拒绝

api - 我是否需要带有 Azure API 服务的 Azure 流量管理器?

azure - 在 Azure Web APP 部署任务中排除删除文件夹

sql-server - SQL:按升序排序,不带列名

c# - 优化 linq 查询的日期时间

c# - 从 Azure Blob 存储反序列化对象的最快方法?

azure - 如何在Azure函数中的数据表上使用 "AsEnumerable()"?