-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.bicep
29 lines (27 loc) · 871 Bytes
/
main.bicep
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
param serviceBusNamespaceName string
param serviceBusQueueName string
param location string = resourceGroup().location
resource serviceBusNamespace 'Microsoft.ServiceBus/namespaces@2017-04-01' = {
name: serviceBusNamespaceName
location: location
sku: {
name: 'Standard'
}
properties: {}
}
resource serviceBusQueue 'Microsoft.ServiceBus/namespaces/queues@2017-04-01' = {
name: '${serviceBusNamespace.name}/${serviceBusQueueName}'
properties: {
lockDuration: 'PT5M'
maxSizeInMegabytes: 1024
requiresDuplicateDetection: false
requiresSession: false
defaultMessageTimeToLive: 'P10675199DT2H48M5.4775807S'
deadLetteringOnMessageExpiration: false
duplicateDetectionHistoryTimeWindow: 'PT10M'
maxDeliveryCount: 10
autoDeleteOnIdle: 'P10675199DT2H48M5.4775807S'
enablePartitioning: false
enableExpress: false
}
}