Skip to content

Commit

Permalink
Merge pull request #2262 from sebassem/1417-feature-br
Browse files Browse the repository at this point in the history
add role assignment
  • Loading branch information
sebassem authored Nov 10, 2023
2 parents 4166ff7 + a3a521f commit e2b81c8
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,13 @@ resource adxEventHubConnection 'Microsoft.Kusto/clusters/databases/dataConnectio
}
}

resource eventHubRoleAssignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid('AzureEventHubsDataReceiverRole', adxCluster.id, eventHubResourceId)
scope: adxCluster
properties: {
roleDefinitionId: 'a638d3c7-ab3a-418d-83e6-5f17a39d4fde'
principalId: adxCluster.identity.principalId
}
}

output adxEndpoint string = adxCluster.properties.uri

0 comments on commit e2b81c8

Please sign in to comment.