зеркало из
1
0
Форкнуть 0
azure-quickstart-templates/couchbase-on-ubuntu/shared-resources.json

50 строки
1.4 KiB
JSON

{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"commonSettings": {
"type": "object",
"metadata": {
"Description": "Common settings object"
}
},
"networkSettings": {
"type": "object",
"metadata": {
"Description": "Network settings object"
}
},
"storageAccountNamePrefix": {
"type": "string",
"metadata": {
"Description": "A shared storage account for images"
}
}
},
"variables": {},
"resources": [{
"apiVersion": "2015-05-01-preview",
"type": "Microsoft.Network/virtualNetworks",
"name": "[parameters('networkSettings').virtualNetworkName]",
"location": "[parameters('commonSettings').region]",
"properties": {
"addressSpace": {
"addressPrefixes": [
"[parameters('networkSettings').addressPrefix]"
]
},
"subnets": [{
"name": "[parameters('networkSettings').subnet.name]",
"properties": {
"addressPrefix": "[parameters('networkSettings').subnet.prefix]"
}
}]
}
}, {
"apiVersion": "2015-05-01-preview",
"type": "Microsoft.Compute/availabilitySets",
"name": "[parameters('commonSettings').availabilitySet]",
"location": "[parameters('commonSettings').region]",
"properties": {}
}]
}