您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

使用专用链接连接到 Azure Synapse 工作区Connect to your Azure Synapse workspace using private links

本文介绍如何为 Azure Synapse 工作区创建专用终结点。This article will teach you how to create a private endpoint to your Azure Synapse workspace. 有关详细信息,请参阅专用链接和专用终结点See private links and private endpoints to learn more.

步骤 1:注册网络资源提供程序Step 1: Register Network resource provider

如果尚未注册网络资源提供程序,请注册它。If you haven't already done so, register the Network resource provider. 通过注册资源提供程序来配置订阅,以供资源提供程序使用。Registering a resource provider configures your subscription to work with the resource provider. 注册时,从资源提供程序列表中选择“Microsoft.Network”。Choose Microsoft.Network from the list of resource providers when you register. 如果已注册网络资源提供程序,则继续执行步骤 2。If the Network resource provider is already registered, then proceed to Step 2.

步骤 2:在 Azure 门户中打开 Azure Synapse 工作区Step 2: Open your Azure Synapse workspace in Azure portal

选择“安全性”下的“专用终结点连接”。Select Private endpoint connection under Security. 在 Azure 门户中打开 Azure Synapse 工作区Open Azure Synapse workspace in Azure portal

在下一个屏幕上,选择“+ 专用终结点”。On the next screen select + Private endpoint.

在 Azure 门户中打开专用终结点

步骤 3:选择订阅和区域详细信息Step 3: Select your subscription and region details

在“创建专用终结点”窗口中的“基本信息”选项卡下,选择“订阅”和“资源组” 。Under the Basics tab in the Create a private endpoint window, choose your Subscription and Resource Group. 为要创建的专用终结点指定“名称”。Give a Name to the private endpoint that you want to create. 选择要在其中创建专用终结点的“区域”。Select the Region where you want the private endpoint created.

在子网中创建专用终结点。Private endpoints are created in a subnet. 所选的订阅、资源组和区域将筛选专用终结点子网。The subscription, resource group, and region selected filter the private endpoint subnets. 在完成时选择“下一步:资源”。Select Next: Resource > when done. 选择订阅和区域详细信息 1Select subscription and region details 1

步骤 4:选择 Azure Synapse 工作区详细信息Step 4: Select your Azure Synapse workspace details

在“资源”选项卡中选择“连接到目录中的 Azure 资源” 。选择包含 Azure Synapse 工作区的“订阅”。Select Connect to an Azure resource in my directory in the Resource tab. Select the Subscription that contains your Azure Synapse workspace. 用于创建 Azure Synapse 工作空间的专用终结点的“资源类型”为 Microsoft.Synapse/workspaces。The Resource type for creating private endpoints to an Azure Synapse workspace is Microsoft.Synapse/workspaces.

选择 Azure Synapse 工作区作为“资源”。Select your Azure Synapse workspace as the Resource. 每个 Azure Synapse 工作区都具有三个可以在其中创建专用终结点的“目标子资源”:Sql、SqlOnDemand 和 Dev。Every Azure Synapse workspace has three Target sub-resource that you can create a private endpoint to: Sql, SqlOnDemand, and Dev.

在完成时选择“下一步:配置”以进入设置的下一部分。Select Next: Configuration> to advance to the next part of the setup. 选择订阅和区域详细信息 2Select subscription and region details 2

在“配置”选项卡中,选择要在其中创建专用终结点的“虚拟网络”和“子网” 。In the Configuration tab, select the Virtual network and the Subnet in which the private endpoint should be created. 还需要创建映射到专用终结点的 DNS 记录。You also need to create a DNS record that maps to the private endpoint.

为“与专用 DNS 区域集成”选择“是”,以将专用终结点与专用 DNS 区域集成 。Select Yes for Integrate with private DNS zone to integrate your private endpoint with a private DNS zone. 如果没有与 Microsoft Azure 虚拟网络关联的专用 DNS 区域,则会创建一个新的专用 DNS 区域。If you don't have a private DNS zone associated with your Microsoft Azure Virtual Network, then a new private DNS zone is created. 完成时选择“查看 + 创建”。Select Review + create when done.

选择订阅和区域详细信息 3

部署完成后,在 Azure 门户中打开 Azure Synapse 工作区,并选择“专用终结点连接”。When the deployment is complete, open your Azure Synapse workspace in Azure portal and select Private endpoint connections. 将显示新专用终结点和与专用终结点关联的专用终结点连接名称。The new private endpoint and private endpoint connection name associated to the private endpoint are shown.

选择订阅和区域详细信息 4

后续步骤Next steps

详细了解托管工作区虚拟网络Learn more about Managed workspace Virtual Network

详细了解托管专用终结点Learn more about Managed private endpoints

创建用于访问数据源的托管专用终结点Create Managed private endpoints to your data sources