Skip to content

Commit 64e6a4c

Browse files
authored
Merge pull request #94407 from KetanChawda-MSFT/patch-34
Azure CXP Fixes MicrosoftDocs/azure-docs#41934
2 parents bd7c64b + 64c7f07 commit 64e6a4c

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

articles/service-bus-messaging/service-bus-resource-manager-namespace-queue.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,27 +90,29 @@ The Service Bus API version of the template.
9090
Creates a standard Service Bus namespace of type **Messaging**, with a queue.
9191

9292
```json
93-
"resources ": [{
94-
"apiVersion": "[variables('sbVersion')]",
95-
"name": "[parameters('serviceBusNamespaceName')]",
96-
"type": "Microsoft.ServiceBus/Namespaces",
97-
"location": "[variables('location')]",
98-
"kind": "Messaging",
99-
"sku": {
100-
"name": "Standard",
101-
},
102-
"resources": [{
93+
{
94+
"resources": [{
95+
"apiVersion": "2017-04-01",
96+
"name": "[parameters('serviceBusNamespaceName')]",
97+
"type": "Microsoft.ServiceBus/namespaces",
98+
"location": "[parameters('location')]",
99+
"sku": {
100+
"name": "Standard"
101+
},
102+
"properties": {},
103+
"resources": [{
103104
"apiVersion": "[variables('sbVersion')]",
104105
"name": "[parameters('serviceBusQueueName')]",
105106
"type": "Queues",
106107
"dependsOn": [
107108
"[concat('Microsoft.ServiceBus/namespaces/', parameters('serviceBusNamespaceName'))]"
108109
],
109110
"properties": {
110-
"path": "[parameters('serviceBusQueueName')]",
111+
"path": "[parameters('serviceBusQueueName')]"
111112
}
112113
}]
113-
}]
114+
}]
115+
}
114116
```
115117

116118
For JSON syntax and properties, see [namespaces](/azure/templates/microsoft.servicebus/namespaces) and [queues](/azure/templates/microsoft.servicebus/namespaces/queues).

0 commit comments

Comments
 (0)