An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
I faced the same issue and the following bicep worked for me:
resource dataFactory 'Microsoft.DataFactory/factories@2018-06-01' existing = {
name: dataFactoryName
}
resource integrationRuntimeName 'Microsoft.DataFactory/factories/integrationRuntimes@2018-06-01' = {
name: runtimeName
parent: dataFactory
properties: {
description: 'Azure managed integration runtime'
type: 'Managed'
managedVirtualNetwork: {
referenceName: managedVnet.name
type: 'ManagedVirtualNetworkReference'
}
typeProperties: {
computeProperties: {
dataFlowProperties: {
computeType: 'General'
coreCount: 8
timeToLive: 10
}
location: location
pipelineExternalComputeScaleProperties: {
numberOfExternalNodes: 1
numberOfPipelineNodes: 1
timeToLive: 60
}
}
}
}
dependsOn: [
managedVnet
]
}
resource managedVnet 'Microsoft.DataFactory/factories/managedVirtualNetworks@2018-06-01' = {
parent: dataFactory
name: 'default'
properties: {
}
}
output runtimeResourceId string = integrationRuntimeName.id