Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EventHubs] Fix livetest #20820

Merged
merged 3 commits into from
Sep 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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