Updated test-resources to add eventhubs host name (#4854)

This commit is contained in:
Larry Osterman 2023-08-08 11:35:56 -07:00 committed by GitHub
parent 0d26f247ec
commit 15a8a7b0da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,6 +136,10 @@
"type": "string",
"value": "[variables('eventHubName')]"
},
"EVENTHUBS_HOST": {
"type": "string",
"value": "[concat(parameters('baseName'), '.servicebus.windows.net')]"
},
"EVENTHUB_CONNECTION_STRING": {
"type": "string",
"value": "[listKeys(resourceId('Microsoft.EventHub/namespaces/authorizationRules', variables('namespaceName'), 'RootManageSharedAccessKey'), variables('apiVersion')).primaryConnectionString]"