Reverting API Version to 2015-01-01
This commit is contained in:
Родитель
e9a5146e96
Коммит
8f4d997b6c
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"$schema": "http://schema.management.azure.com/schemas/2014-05-01-preview/deploymentTemplate.json#",
|
||||
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
|
||||
"parameters": {
|
||||
|
@ -112,6 +112,7 @@
|
|||
"sku": "14.04.2-LTS",
|
||||
"version": "latest"
|
||||
},
|
||||
"sourceImage": "[concat('/', subscription().subscriptionId, '/services/images/', variables('ubuntuVMImage') )]",
|
||||
"scripts": [
|
||||
"https://raw.githubusercontent.com/dennisan/azure-quickstart-templates/master/jenkins-on-ubuntu/jenkSlaveInstall.sh"
|
||||
]
|
||||
|
@ -122,7 +123,7 @@
|
|||
{
|
||||
"name": "shared",
|
||||
"type": "Microsoft.Resources/deployments",
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
"apiVersion": "2015-01-01",
|
||||
"properties": {
|
||||
"mode": "Incremental",
|
||||
"templateLink": {
|
||||
|
@ -146,7 +147,7 @@
|
|||
{
|
||||
"name": "jenkMasterNode",
|
||||
"type": "Microsoft.Resources/deployments",
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
"apiVersion": "2015-01-01",
|
||||
"dependsOn": [
|
||||
"[concat('Microsoft.Resources/deployments/', 'shared')]"
|
||||
],
|
||||
|
@ -196,7 +197,7 @@
|
|||
{
|
||||
"name": "[concat('jenkSlaveNode', copyindex())]",
|
||||
"type": "Microsoft.Resources/deployments",
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
"apiVersion": "2015-01-01",
|
||||
"dependsOn": [
|
||||
"[concat('Microsoft.Resources/deployments/', 'shared')]",
|
||||
"[concat('Microsoft.Resources/deployments/', 'jenkMasterNode')]"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"$schema": "http://schema.management.azure.com/schemas/2014-05-01-preview/deploymentTemplate.json#",
|
||||
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"region": {
|
||||
|
@ -41,7 +41,7 @@
|
|||
},
|
||||
"resources": [
|
||||
{
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
"apiVersion": "2015-01-01",
|
||||
"type": "Microsoft.Network/publicIPAddresses",
|
||||
"name": "jenkMasterPublicIp",
|
||||
"location": "[parameters('region')]",
|
||||
|
@ -50,14 +50,14 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
"apiVersion": "2015-01-01",
|
||||
"type": "Microsoft.Compute/availabilitySets",
|
||||
"name": "[concat(parameters('namespace'), 'set')]",
|
||||
"location": "[parameters('region')]",
|
||||
"properties": { }
|
||||
},
|
||||
{
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
"apiVersion": "2015-01-01",
|
||||
"type": "Microsoft.Network/networkInterfaces",
|
||||
"name": "[concat(parameters('namespace'), concat(parameters('vmbasename'), 'nic'))]",
|
||||
"location": "[parameters('region')]",
|
||||
|
@ -83,7 +83,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
"apiVersion": "2015-01-01",
|
||||
"type": "Microsoft.Compute/virtualMachines",
|
||||
"name": "[concat(parameters('namespace'), concat(parameters('vmbasename'), 'vm'))]",
|
||||
"location": "[parameters('region')]",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"$schema": "http://schema.management.azure.com/schemas/2014-05-01-preview/deploymentTemplate.json#",
|
||||
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"region": {
|
||||
|
@ -38,14 +38,14 @@
|
|||
},
|
||||
"resources": [
|
||||
{
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
"apiVersion": "2015-01-01",
|
||||
"type": "Microsoft.Compute/availabilitySets",
|
||||
"name": "[concat(parameters('namespace'), 'set')]",
|
||||
"location": "[parameters('region')]",
|
||||
"properties": { }
|
||||
},
|
||||
{
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
"apiVersion": "2015-01-01",
|
||||
"type": "Microsoft.Network/networkInterfaces",
|
||||
"name": "[concat(parameters('namespace'), parameters('vmbasename'), 'nic')]",
|
||||
"location": "[parameters('region')]",
|
||||
|
@ -64,7 +64,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
"apiVersion": "2015-01-01",
|
||||
"type": "Microsoft.Compute/virtualMachines",
|
||||
"name": "[concat(parameters('namespace'), concat(parameters('vmbasename'), 'vm'))]",
|
||||
"location": "[parameters('region')]",
|
||||
|
@ -91,6 +91,8 @@
|
|||
"createOption": "FromImage"
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"networkProfile": {
|
||||
"networkInterfaces": [
|
||||
{
|
||||
|
@ -112,7 +114,7 @@
|
|||
{
|
||||
"type": "Microsoft.Compute/virtualMachines/extensions",
|
||||
"name": "[concat(parameters('namespace'), parameters('vmbasename'), 'vm', '/jenkInstall')]",
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
"apiVersion": "2015-01-01",
|
||||
"location": "[parameters('region')]",
|
||||
"dependsOn": [
|
||||
"[concat('Microsoft.Compute/virtualMachines/', concat(parameters('namespace'), concat(parameters('vmbasename'), 'vm')))]",
|
||||
|
|
|
@ -26,14 +26,14 @@
|
|||
{
|
||||
"type": "Microsoft.Storage/storageAccounts",
|
||||
"name": "[parameters('storageAccountName')]",
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
"apiVersion": "2015-01-01",
|
||||
"location": "[parameters('region')]",
|
||||
"properties": {
|
||||
"accountType": "Standard_LRS"
|
||||
}
|
||||
},
|
||||
{
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
"apiVersion": "2015-01-01",
|
||||
"type": "Microsoft.Network/virtualNetworks",
|
||||
"name": "[parameters('networkSettings').virtualNetworkName]",
|
||||
"location": "[parameters('region')]",
|
||||
|
|
Загрузка…
Ссылка в новой задаче