Skip to content

Commit

Permalink
[EventHubs] Fix livetest (#20820)
Browse files Browse the repository at this point in the history
* fix livetest

* rm bicep file

* rename stress test file
  • Loading branch information
yunhaoling authored Sep 24, 2021
1 parent 650943c commit f2b2cea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var defaultSASKeyName = 'RootManageSharedAccessKey'
var eventHubsAuthRuleResourceId = resourceId('Microsoft.EventHub/namespaces/authorizationRules', eventHubsNamespace_var, defaultSASKeyName)
var storageAccountId = storageAccount.id

resource eventHubsNamespace 'Microsoft.EventHub/Namespaces@[variables(\'ehVersion\')]' = {
resource eventHubsNamespace 'Microsoft.EventHub/Namespaces@2017-04-01' = {
name: eventHubsNamespace_var
location: location
sku: {
Expand All @@ -32,7 +32,7 @@ resource eventHubsNamespace 'Microsoft.EventHub/Namespaces@[variables(\'ehVersio
properties: {}
}

resource eventHubsNamespace_eventHubName 'Microsoft.EventHub/namespaces/eventhubs@[variables(\'ehVersion\')]' = {
resource eventHubsNamespace_eventHubName 'Microsoft.EventHub/namespaces/eventhubs@2017-04-01' = {
name: '${eventHubsNamespace_var}/${eventHubName}'
location: location
properties: {
Expand All @@ -44,10 +44,10 @@ resource eventHubsNamespace_eventHubName 'Microsoft.EventHub/namespaces/eventhub
]
}

resource eventHubsNamespace_eventHubName_eventHubAuthRuleName 'Microsoft.EventHub/namespaces/eventhubs/authorizationRules@[variables(\'ehVersion\')]' = {
resource eventHubsNamespace_eventHubName_eventHubAuthRuleName 'Microsoft.EventHub/namespaces/eventhubs/authorizationRules@2017-04-01' = {
name: '${eventHubsNamespace_var}/${eventHubName}/${eventHubAuthRuleName}'
properties: {
Rights: [
rights: [
'Manage'
'Send'
'Listen'
Expand Down

0 comments on commit f2b2cea

Please sign in to comment.