diff --git a/new_dsg_environment/arm-templates/DataServer/datasvr-template.json b/new_dsg_environment/arm-templates/DataServer/datasvr-template.json deleted file mode 100644 index 7275949368..0000000000 --- a/new_dsg_environment/arm-templates/DataServer/datasvr-template.json +++ /dev/null @@ -1,228 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "Data Server Name": { - "defaultValue": "DATASERVER", - "type": "string", - "metadata": { - "description": "Enter name for DC VM i.e DSG2DC" - } - }, - "VM Size": { - "type": "string", - "defaultValue": "Standard_F4s_v2", - "allowedValues": [ - "Standard_F4s_v2", - "Standard_DS2_v2" - ], - "metadata": { - "description": "Select size of VM" - } - }, - "IP Address": { - "type": "string", - "defaultValue": "10.250.x.100", - "metadata": { - "description": "Enter IP address for VM, must end in 100" - } - }, - "Administrator User": { - "type": "string", - "metadata": { - "description": "Enter name for VM Administrator" - } - }, - "Administrator Password": { - "type": "securestring", - "metadata": { - "description": "Enter name for VM Administrator Password" - } - }, - "Virtual Network Name": { - "type": "string", - "defaultValue": "DSG_DSGROUPX_VNET1", - "metadata": { - "description": "Enter name of virtual network to provision this VM" - } - }, - "Virtual Network Resource Group": { - "type": "string", - "metadata": { - "description": "Enter name of resource group that is assoicated with the virtual network above" - } - }, - "Virtual Network Subnet": { - "type": "string", - "defaultValue": "Subnet-Data", - "metadata": { - "description": "Enter name of subnet where you want to provision this VM" - } - } - }, - "variables": { - "nic": "[concat(parameters('Data Server Name'),'_','NIC1')]", - "diagStorageAccountName": "[concat('diags',uniqueString(resourceGroup().id))]", - "vnetID": "[resourceId(parameters('Virtual Network Resource Group'), 'Microsoft.Network/virtualNetworks', parameters('Virtual Network Name'))]", - "subnet": "[concat(variables('vnetID'),'/subnets/', parameters('Virtual Network Subnet'))]", - "datadisk": "[concat(parameters('Data Server Name'),'_Data_Disk1')]" - }, - "resources": [ - { - "type": "Microsoft.Compute/virtualMachines", - "name": "[parameters('Data Server Name')]", - "apiVersion": "2018-06-01", - "location": "[resourceGroup().location]", - "scale": null, - "properties": { - "hardwareProfile": { - "vmSize": "[parameters('VM Size')]" - }, - "storageProfile": { - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2016-Datacenter", - "version": "latest" - }, - "osDisk": { - "osType": "Windows", - "name": "[concat(parameters('Data Server Name'),'_OS_DISK')]", - "createOption": "FromImage", - "caching": "ReadWrite", - "writeAcceleratorEnabled": false, - "managedDisk": { - "storageAccountType": "Premium_LRS" - }, - "diskSizeGB": 128 - }, - "dataDisks": [ - { - "lun": 0, - "name": "[variables('datadisk')]", - "createOption": "Empty", - "caching": "None", - "writeAcceleratorEnabled": false, - "managedDisk": { - "storageAccountType": "Premium_LRS" - }, - "diskSizeGB": 512 - } - ] - }, - "osProfile": { - "computerName": "[parameters('Data Server Name')]", - "adminUsername": "[parameters('Administrator User')]", - "adminPassword": "[parameters('Administrator Password')]", - "windowsConfiguration": { - "provisionVMAgent": true, - "enableAutomaticUpdates": true - }, - "secrets": [] - }, - "networkProfile": { - "networkInterfaces": [ - { - "id": "[resourceId('Microsoft.Network/networkInterfaces', variables('nic'))]", - "properties": { - "primary": true - } - } - ] - }, - "diagnosticsProfile": { - "bootDiagnostics": { - "enabled": true, - "storageUri": "[concat('https', '://', variables('diagStorageAccountName'), '.blob.core.windows.net', '/')]" - } - } - }, - "dependsOn": [ - "[resourceId('Microsoft.Network/networkInterfaces', variables('nic'))]", - "[resourceId('Microsoft.Storage/storageAccounts', variables('diagStorageAccountName'))]" - ] - }, - { - "type": "Microsoft.Network/networkInterfaces", - "name": "[variables('nic')]", - "apiVersion": "2018-10-01", - "location": "[resourceGroup().location]", - "scale": null, - "properties": { - "ipConfigurations": [ - { - "name": "ipconfig1", - "properties": { - "privateIPAddress": "[parameters('IP Address')]", - "privateIPAllocationMethod": "Static", - "subnet": { - "id": "[variables('subnet')]" - }, - "primary": true, - "privateIPAddressVersion": "IPv4" - } - } - ], - "dnsSettings": { - "dnsServers": [], - "appliedDnsServers": [] - }, - "enableAcceleratedNetworking": false, - "enableIPForwarding": false, - "primary": true, - "tapConfigurations": [] - }, - "dependsOn": [] - }, - { - "type": "Microsoft.Storage/storageAccounts", - "sku": { - "name": "Standard_LRS", - "tier": "Standard" - }, - "kind": "Storage", - "name": "[variables('diagStorageAccountName')]", - "apiVersion": "2018-07-01", - "location": "[resourceGroup().location]", - "tags": {}, - "scale": null, - "properties": { - "networkAcls": { - "bypass": "AzureServices", - "virtualNetworkRules": [], - "ipRules": [], - "defaultAction": "Allow" - }, - "supportsHttpsTrafficOnly": false, - "encryption": { - "services": { - "file": { - "enabled": true - }, - "blob": { - "enabled": true - } - }, - "keySource": "Microsoft.Storage" - } - }, - "dependsOn": [] - }, - { - "type": "Microsoft.Compute/virtualMachines/extensions", - "name": "[concat(parameters('Data Server Name'), '/', 'bginfo')]", - "apiVersion": "2018-06-01", - "location": "[resourceGroup().location]", - "scale": null, - "properties": { - "autoUpgradeMinorVersion": true, - "publisher": "Microsoft.Compute", - "type": "bginfo", - "typeHandlerVersion": "2.1" - }, - "dependsOn": [ - "[resourceId('Microsoft.Compute/virtualMachines', parameters('Data Server Name'))]" - ] - } - ] -} \ No newline at end of file