You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用Bicep创建Azure Purview Ingestion专用终结点相关问题咨询

Bicep配置Purview专用终结点解决方案

Bicep完全支持配置Purview的两类专用终结点,你遇到的问题是Microsoft.Network/privateEndpoints资源的groupIds参数配置错误导致的。

  • 首先明确Purview两类专用终结点对应的groupIds取值:

    • 常规访问专用终结点:取值为account
    • 数据摄入(Ingestion)专用终结点:取值为ingestion
      你之前创建的终结点未出现在Ingestion列表中,就是因为创建时groupIds未指定为ingestion,被系统识别为常规专用终结点。
  • 关于Microsoft.Purview/accounts/privateEndpointConnectionsAPI的说明:该资源仅用于管理已存在的专用终结点连接的审批状态,本身不用于创建专用终结点,因此不适合用来实现你的需求。

  • 可用的Ingestion专用终结点Bicep配置示例如下:

param location string = resourceGroup().location
param purviewAccountName string
param subnetId string

// 引用目标Purview账户
resource purviewAccount 'Microsoft.Purview/accounts@2021-12-01' existing = {
  name: purviewAccountName
}

// 创建Ingestion类型专用终结点
resource purviewIngestionPE 'Microsoft.Network/privateEndpoints@2023-04-01' = {
  name: '${purviewAccount.name}-pe-ingestion'
  location: location
  properties: {
    subnet: {
      id: subnetId
    }
    privateLinkServiceConnections: [
      {
        name: '${purviewAccount.name}-pe-ingestion-conn'
        properties: {
          privateLinkServiceId: purviewAccount.id
          // 核心配置:指定group为ingestion
          groupIds: [
            'ingestion'
          ]
          privateLinkServiceConnectionState: {
            status: 'Approved'
            description: 'Auto approved ingestion private endpoint'
          }
        }
      }
    ]
  }
}
  • 预览阶段适配说明:虽然当前Purview专用终结点处于公共预览阶段,Azure门户暂不支持导出包含专用终结点配置的Purview ARM模板,但只要使用2021-12-01及以上版本的Purview资源API,配合2022及以上版本的网络资源API,即可正常通过Bicep完成所有专用终结点配置,无需放弃Bicep实现该需求。

内容的提问来源于stack exchange,提问作者HT1

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.10.04 14:45:04