Skip to content

Commit 769fa89

Browse files
committed
Merge from Develop - 1
2 parents 50bb588 + 366068f commit 769fa89

File tree

7 files changed

+21
-39
lines changed

7 files changed

+21
-39
lines changed

101-simple-linux-vm/azuredeploy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"virtualNetworkName": "[tolower(concat('vnet',uniquestring(resourceGroup().id)))]",
5757
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]",
5858
"subnetRef": "[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]",
59-
"networkSecurityGroupName": "[tolower(concat('nsg',uniquestring(resourceGroup().id)))]"
59+
"networkSecurityGroupName": "[tolower(concat('nsg',uniquestring(resourceGroup().id)))]"
6060
},
6161
"resources": [
6262
{

101-simple-windows-vm/azuredeploy.json

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,36 @@
66
"type": "string",
77
"metadata": {
88
"description": "Unique DNS Name for the Storage Account where the Virtual Machine's disks will be placed."
9-
}
9+
},
10+
"defaultValue": "[replace(replace(tolower(concat('sa',resourceGroup().name)), '-', ''), '.','')]"
1011
},
1112
"vmName": {
1213
"type": "string",
1314
"metadata": {
1415
"description": "Name of the VM."
15-
}
16+
},
17+
"defaultValue": "[substring(replace(replace(tolower(concat('vm',resourceGroup().name)), '-', ''), '.',''),0,8)]"
1618
},
1719
"adminUsername": {
1820
"type": "string",
1921
"metadata": {
2022
"description": "Username for the Virtual Machine."
21-
}
23+
},
24+
"defaultValue": "vmadmin1"
2225
},
2326
"adminPassword": {
2427
"type": "securestring",
2528
"metadata": {
26-
"description": "Password for the Virtual Machine."
27-
}
29+
"description": "The password for the Administrator account of the new VMs. Default value is subscription id"
30+
},
31+
"defaultValue": "[concat('Subscription#',substring(resourcegroup().id,15,36))]"
2832
},
2933
"dnsNameForPublicIP": {
3034
"type": "string",
3135
"metadata": {
3236
"description": "Unique DNS Name for the Public IP used to access the Virtual Machine."
33-
}
37+
},
38+
"defaultValue": "[replace(replace(tolower(concat('dns',resourceGroup().name)), '-', ''), '.','')]"
3439
},
3540
"windowsOSVersion": {
3641
"type": "string",
@@ -50,19 +55,19 @@
5055
"imagePublisher": "MicrosoftWindowsServer",
5156
"imageOffer": "WindowsServer",
5257
"OSDiskName": "osdisk",
53-
"nicName": "myVnic",
58+
"nicName": "[replace(replace(tolower(concat('nic',resourceGroup().name)), '-', ''), '.','')]",
5459
"addressPrefix": "10.0.0.0/24",
55-
"subnetName": "mySubnet",
60+
"subnetName": "[replace(replace(tolower(concat('subnet',resourceGroup().name)), '-', ''), '.','')]",
5661
"subnetPrefix": "10.0.0.0/24",
5762
"storageAccountType": "Standard_LRS",
58-
"publicIPAddressName": "myPublicIP",
63+
"publicIPAddressName": "[replace(replace(tolower(concat('pip',resourceGroup().name)), '-', ''), '.','')]",
5964
"publicIPAddressType": "Dynamic",
6065
"vmStorageAccountContainerName": "vhds",
6166
"vmSize": "Standard_A1",
62-
"virtualNetworkName": "myVnet",
67+
"virtualNetworkName": "[replace(replace(tolower(concat('vnet',resourceGroup().name)), '-', ''), '.','')]",
6368
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]",
6469
"subnetRef": "[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]",
65-
"networkSecurityGroupName": "mySG"
70+
"networkSecurityGroupName": "[replace(replace(tolower(concat('nsg',resourceGroup().name)), '-', ''), '.','')]"
6671
},
6772
"resources": [
6873
{
@@ -136,10 +141,7 @@
136141
}
137142
}
138143
}
139-
],
140-
"dhcpOptions": {
141-
"dnsServers": ["192.168.100.2"]
142-
}
144+
]
143145
}
144146
},
145147
{
@@ -152,9 +154,6 @@
152154
"[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]"
153155
],
154156
"properties": {
155-
"dnsSettings": {
156-
"dnsServers": ["192.168.100.2"]
157-
},
158157
"ipConfigurations": [
159158
{
160159
"name": "ipconfig1",

101-simple-windows-vm/azuredeploy.parameters.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,6 @@
22
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
33
"contentVersion": "1.0.0.0",
44
"parameters": {
5-
"newStorageAccountName": {
6-
"value": "mystorage001"
7-
},
8-
"vmName": {
9-
"value": "myVM001"
10-
},
11-
"adminUsername": {
12-
"value": "admin123"
13-
},
14-
"adminPassword": {
15-
"value": "GEN-PASSWORD"
16-
},
17-
"dnsNameForPublicIP": {
18-
"value": "mydns001"
19-
},
205
"windowsOSVersion": {
216
"value": "2012-R2-Datacenter"
227
}

anti-malware-ext-win/azuredeploy.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@
201201
"publisher": "Microsoft.Azure.Security",
202202
"type": "IaaSAntimalware",
203203
"typeHandlerVersion": "1.4",
204-
"autoUpgradeMinorVersion": "true",
204+
"autoUpgradeMinorVersion": true,
205205
"settings": {
206-
"AntimalwareEnabled": "true",
206+
"AntimalwareEnabled": true,
207207
"RealtimeProtectionEnabled": "true",
208208
"ScheduledScanSettings": {
209209
"isEnabled": "true",

exchange-2016-non-ha/azuredeploy.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
}
107107
},
108108
{
109-
110109
"apiVersion": "2015-06-15",
111110
"type": "Microsoft.Network/virtualNetworks",
112111
"name": "[variables('virtualNetworkName')]",

jetstress-2013-exchange-loadtest/azuredeploy.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@
146146
}
147147
},
148148
{
149-
150149
"apiVersion": "2015-06-15",
151150
"type": "Microsoft.Network/virtualNetworks",
152151
"name": "[variables('virtualNetworkName')]",

mesos-windows-jumpbox/azuredeploy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@
418418
"publisher": "Microsoft.Compute",
419419
"type": "CustomScriptExtension",
420420
"typeHandlerVersion": "1.4",
421-
"autoUpgradeMinorVersion": "true",
421+
"autoUpgradeMinorVersion": true,
422422
"settings": {
423423
"fileUris": [],
424424
"commandToExecute": "[variables('jumpboxWindowsCustomScript')]"

0 commit comments

Comments
 (0)