Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"SBname": {
"type": "string"
},
"location": {
"type": "array",
"defaultValue": [
"AustraliaEast",
"AustraliaSouthEast",
"SouthEastAsia"
]
},
"skuTier": {
"type": "string",
"defaultValue": "Basic",
"allowedValues": [
"Basic",
"Standard",
"Premium"
]
},
"skuCapacity": {
"type": "int",
"defaultValue": 1
}
},
"resources": [
{
"apiVersion": "2017-04-01",
"name": "[concat('bus', parameters('location')[copyIndex()])]",
"location": "[parameters('location')[copyIndex()]]",
"type": "Microsoft.ServiceBus/namespaces",
"tags": {
"displayName": "Service Bus"
},
"copy": {
"name": "myCopySet",
"count": "[length(parameters('location'))]",
"mode": "parallel"
},
"sku": {
"name": "[parameters('skuTier')]",
"tier": "[parameters('skuTier')]",
"capacity": "[parameters('skuCapacity')]"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.