diff --git a/sdk/eventhub/azure-eventhub/stress/test-resources.bicep b/sdk/eventhub/azure-eventhub/stress/stress-test-resources.bicep similarity index 94% rename from sdk/eventhub/azure-eventhub/stress/test-resources.bicep rename to sdk/eventhub/azure-eventhub/stress/stress-test-resources.bicep index 353192bab4f7..856f6352e2d2 100644 --- a/sdk/eventhub/azure-eventhub/stress/test-resources.bicep +++ b/sdk/eventhub/azure-eventhub/stress/stress-test-resources.bicep @@ -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: { @@ -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: { @@ -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' diff --git a/sdk/eventhub/azure-eventhub/stress/test-resources.json b/sdk/eventhub/azure-eventhub/stress/stress-test-resources.json similarity index 100% rename from sdk/eventhub/azure-eventhub/stress/test-resources.json rename to sdk/eventhub/azure-eventhub/stress/stress-test-resources.json