Skip to content

Instantly share code, notes, and snippets.

@marckean
Last active August 3, 2017 03:30
Show Gist options
  • Save marckean/a3bc6140202d1d8d84372e7a00fa0607 to your computer and use it in GitHub Desktop.
Save marckean/a3bc6140202d1d8d84372e7a00fa0607 to your computer and use it in GitHub Desktop.
{
"$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