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 and iscai-msft committed Sep 29, 2021
1 parent 7d7ffd7 commit 7238152
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 7238152

Please sign in to comment.