Skip to content

Commit

Permalink
Add queue for process tags command handling
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrWachulec committed Apr 20, 2024
1 parent ccad242 commit fca18b7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/infra/vm-start-stop.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ param logAnalyticsWorkspaceName string
@description('Resource group name where LAW is placed')
param logAnalyticsWorkspaceResourceGroupName string

var timeTriggerServiceBusQueueName = 'time-trigger-service-bus-queue'

resource storageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' = {
name: storageAccountName
location: location
Expand Down Expand Up @@ -118,6 +120,11 @@ resource serviceBus 'Microsoft.ServiceBus/namespaces@2022-10-01-preview' = {
}
}

resource serviceBusQueue 'Microsoft.ServiceBus/namespaces/queues@2022-10-01-preview' = {
parent: serviceBus
name: timeTriggerServiceBusQueueName
}

resource law 'Microsoft.OperationalInsights/workspaces@2023-09-01' existing = {
name: logAnalyticsWorkspaceName
scope: resourceGroup(logAnalyticsWorkspaceResourceGroupName)
Expand Down

0 comments on commit fca18b7

Please sign in to comment.