Last active
August 3, 2017 03:30
-
-
Save marckean/a3bc6140202d1d8d84372e7a00fa0607 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$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