@@ -11,8 +11,6 @@ param location string = resourceGroup().location
1111param storageEndpointSuffix string = 'core.windows.net'
1212
1313var ehVersion = '2017-04-01'
14- var contributorRoleId = 'b24988ac-6180-42a0-ab88-20f7382dd24c'
15- var eventHubsDataOwnerRoleId = 'f526a384-b230-433a-b45c-95f59c4a2dec'
1614var eventHubsNamespace_var = 'eh-${baseName }'
1715var eventHubName = 'eh-${baseName }-hub'
1816var eventHubAuthRuleName = 'eh-${baseName }-hub-auth-rule'
@@ -78,24 +76,6 @@ resource storageAccount_default_containerName 'Microsoft.Storage/storageAccounts
7876 ]
7977}
8078
81- resource id_name_baseName_eventHubsDataOwnerRoleId_testApplicationOid 'Microsoft.Authorization/roleAssignments@2019-04-01-preview' = {
82- name : guid (resourceGroup ().id , deployment ().name , baseName , eventHubsDataOwnerRoleId , testApplicationOid )
83- properties : {
84- roleDefinitionId : resourceId ('Microsoft.Authorization/roleDefinitions' , eventHubsDataOwnerRoleId )
85- principalId : testApplicationOid
86- scope : resourceGroup ().id
87- }
88- }
89-
90- resource id_name_baseName_contributorRoleId_testApplicationOid 'Microsoft.Authorization/roleAssignments@2019-04-01-preview' = {
91- name : guid (resourceGroup ().id , deployment ().name , baseName , contributorRoleId , testApplicationOid )
92- properties : {
93- roleDefinitionId : resourceId ('Microsoft.Authorization/roleDefinitions' , contributorRoleId )
94- principalId : testApplicationOid
95- scope : resourceGroup ().id
96- }
97- }
98-
9979output EVENT_HUB_NAMESPACE string = eventHubsNamespace_var
10080output EVENT_HUB_HOSTNAME string = '${eventHubsNamespace_var }.servicebus.windows.net'
10181output EVENT_HUB_NAME string = eventHubName
0 commit comments