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

57 строки
1.5 KiB
JSON

{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"region": {
"type": "string",
"metadata": {
"Description": "Location where resources will be provisioned"
}
},
"networkSettings": {
"type": "object",
"metadata": {
"Description": "Network settings object"
}
},
"storageAccountName": {
"type": "string",
"metadata": {
"Description": "A shared storage account for images"
}
}
},
"variables": {},
"resources": [
{
"apiVersion": "2014-12-01-preview",
"type": "Microsoft.Storage/storageAccounts",
"name": "[parameters('storageAccountName')]",
"location": "[parameters('region')]",
"properties": {
"accountType": "Standard_LRS"
}
},
{
"apiVersion": "2014-12-01-preview",
"type": "Microsoft.Network/virtualNetworks",
"name": "[parameters('networkSettings').virtualNetworkName]",
"location": "[parameters('region')]",
"properties": {
"addressSpace": {
"addressPrefixes": [
"[parameters('networkSettings').addressPrefix]"
]
},
"subnets": [
{
"name": "[parameters('networkSettings').subnet.dse.name]",
"properties": {
"addressPrefix": "[parameters('networkSettings').subnet.dse.prefix]"
}
}
]
}
}
]
}