0

情况:我正在二头肌中部署一个 Synapse 工作区实例,并启用了托管虚拟网络。我可以从 UI 中看到 Managed Vnet 已启用: 在此处输入图像描述

但是,当我进入工作区时,我的集成运行时未启用虚拟网络访问,并且我无法创建托管专用端点。

我正在为二头肌部署编写以下代码:

resource synapse_workspace 'Microsoft.Synapse/workspaces@2021-06-01' = {
  name: synapse_workspace_name
  location: location
  tags: {
    Workload: '####'
    Environment: envName
    Classification: 'Confidential'
    Criticality: 'Low'
  }
  identity: {
    type: 'SystemAssigned'
  }
  properties: {
    // Git Repo
    workspaceRepositoryConfiguration: {
      accountName: '#####'
      collaborationBranch: 'main'
      projectName: '####'
      repositoryName: '#############'
      rootFolder: '/synapse/syn-data-${envName}'
      tenantId: '####################'
      type: 'WorkspaceVSTSConfiguration'
    }
    defaultDataLakeStorage: {
      resourceId: storage_account_id
      createManagedPrivateEndpoint: true
      accountUrl: ###################
      filesystem: ################
    }
    encryption: {
      cmk: {
        kekIdentity: {
          useSystemAssignedIdentity: true
        }
        key: {
          name: 'default'
          keyVaultUrl: '#########################'
        }
      }
    }
    managedVirtualNetwork: 'default'
    connectivityEndpoints: {
      web: 'https://web.azuresynapse.net?workspace=%2fsubscriptions%######################
      dev: 'https://##############.dev.azuresynapse.net'
      sqlOnDemand: '################-ondemand.sql.azuresynapse.net'
      sql: '################.sql.azuresynapse.net'
    }
    managedResourceGroupName: guid('synapseworkspace-managed-resource-group-${envName}')
    sqlAdministratorLogin: 'sqladminuser'
    privateEndpointConnections: []
    managedVirtualNetworkSettings: {
      preventDataExfiltration: true
      allowedAadTenantIdsForLinking: []
    }
    publicNetworkAccess: 'Disabled'
    cspWorkspaceAdminProperties: {
      initialWorkspaceAdminObjectId: '#########################'
    }
    trustedServiceBypassEnabled: false
  }
}

我在部署中没有收到有关虚拟网络或任何相关设置的错误,但我仍然将默认集成运行时设置为“公共”而不是“托管虚拟网络”。这是二头肌的限制还是我缺少一些参数?任何帮助都会很棒 Joao

4

0 回答 0