{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments/29829375","id":29829375,"diff_hunk":"@@ -0,0 +1,1985 @@\n+{\n+\t\"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json\",\n+\t\"contentVersion\": \"1.0.0.0\",\n+\t\"parameters\": {\n+\t\t\"newStorageAccountName\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t \"metadata\": {\n+\t\t\t\t\"Description\": \"The name of the new storage account created to store the VMs disks\"\n+\t\t\t}\n+\t\t},\n+\t\t\"storageAccountType\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"allowedValues\": [\n+\t\t\t\t\"Standard_LRS\",\n+\t\t\t\t\"Standard_GRS\",\n+\t\t\t\t\"Standard_RAGRS\",\n+\t\t\t\t\"Standard_ZRS\",\n+\t\t\t\t\"Premium_LRS\"\n+\t\t\t],\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The type of the Storage Account created\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"Premium_LRS\"\n+\t\t},\n+\t\t\"location\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"allowedValues\": [\n+\t\t\t\t\"West US\",\n+\t\t\t\t\"East US\",\n+\t\t\t\t\"West Europe\",\n+\t\t\t\t\"East Asia\",\n+\t\t\t\t\"Southeast Asia\"\n+\t\t\t],\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The region to deploy the resources into\"\n+\t\t\t}\n+\t\t},\n+\t\t\"virtualNetworkName\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The name of the Virtual Network to Create\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"spfarmhaVNET\"\n+\t\t},\n+\t\t\"virtualNetworkAddressRange\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The address range of the new VNET in CIDR format\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"10.0.0.0/16\"\n+\t\t},\n+\t\t\"staticSubnet\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The address range of the subnet static IPs are allocated from in the new VNET\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"10.0.0.0/24\"\n+\t\t},\n+\t\t\"sqlSubnet\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The address range of the SQL subnet created in the new VNET\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"10.0.1.0/24\"\n+\t\t},\n+\t\t\"spWebSubnet\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The address range of the SP Web subnet created in the new VNET\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"10.0.2.0/24\"\n+\t\t},\n+\t\t\"spAppSubnet\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The address range of the SP App subnet created in the new VNET\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"10.0.3.0/24\"\n+\t\t},\n+\t\t\"adPDCNICIPAddress\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The IP address of the new AD VM\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"10.0.0.4\"\n+\t\t},\n+\t\t\"adBDCNICIPAddress\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The IP address of the new AD VM\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"10.0.0.5\"\n+\t\t},\n+\t\t\"sqlLBIPAddress\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The IP address of the new SQL ILB\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"10.0.0.6\"\n+\t\t},\n+\t\t\"adVMPrefix\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The Prefix of the AD VM name\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"dc\"\n+\t\t},\n+\t\t\"sqlVMPrefix\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The Prefix of the SQL VM Name\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"sql\"\n+\t\t},\n+\t\t\"spVMPrefix\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The Prefix of the SP VM Name\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"sps\"\n+\t\t},\n+\t\t\"adminUsername\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The name of the Administrator of the new VMs and Domain\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"spAdministrator\"\n+\t\t},\n+\t\t\"adminPassword\": {\n+\t\t\t\"type\": \"securestring\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The password for the Administrator account of the new VMs and Domain\"\n+\t\t\t}\n+\t\t},\n+\t\t\"adVMSize\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"allowedValues\": [\n+\t\t\t\t\"Standard_D1\",\n+\t\t\t\t\"Standard_DS1\",\n+\t\t\t\t\"Standard_D2\",\n+\t\t\t\t\"Standard_DS2\",\n+\t\t\t\t\"Standard_D3\",\n+\t\t\t\t\"Standard_DS3\",\n+\t\t\t\t\"Standard_D4\",\n+\t\t\t\t\"Standard_DS4\",\n+\t\t\t\t\"Standard_D11\",\n+\t\t\t\t\"Standard_DS11\",\n+\t\t\t\t\"Standard_D12\",\n+\t\t\t\t\"Standard_DS12\",\n+\t\t\t\t\"Standard_D13\",\n+\t\t\t\t\"Standard_DS13\",\n+\t\t\t\t\"Standard_D14\",\n+\t\t\t\t\"Standard_DS14\"\n+\t\t\t],\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The size of the AD VMs Created\"\n+\t\t\t},\n+\t\t\t\"defaultValue\": \"Standard_DS1\"\n+\t\t},\n+\t\t\"sqlVMSize\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"allowedValues\": [\n+\t\t\t\t\"Standard_D1\",\n+\t\t\t\t\"Standard_DS1\",\n+\t\t\t\t\"Standard_D2\",\n+\t\t\t\t\"Standard_DS2\",\n+\t\t\t\t\"Standard_D3\",\n+\t\t\t\t\"Standard_DS3\",\n+\t\t\t\t\"Standard_D4\",\n+\t\t\t\t\"Standard_DS4\",\n+\t\t\t\t\"Standard_D11\",\n+\t\t\t\t\"Standard_DS11\",\n+\t\t\t\t\"Standard_D12\",\n+\t\t\t\t\"Standard_DS12\",\n+\t\t\t\t\"Standard_D13\",\n+\t\t\t\t\"Standard_DS13\",\n+\t\t\t\t\"Standard_D14\",\n+\t\t\t\t\"Standard_DS14\"\n+\t\t\t],\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The size of the SQL VMs Created\"\n+\t\t\t},\n+\t\t\t\"defaultValue\": \"Standard_DS3\"\n+\t\t},\n+\t\t\"witnessVMSize\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"allowedValues\": [\n+\t\t\t\t\"Standard_D1\",\n+\t\t\t\t\"Standard_DS1\",\n+\t\t\t\t\"Standard_D2\",\n+\t\t\t\t\"Standard_DS2\",\n+\t\t\t\t\"Standard_D3\",\n+\t\t\t\t\"Standard_DS3\",\n+\t\t\t\t\"Standard_D4\",\n+\t\t\t\t\"Standard_DS4\",\n+\t\t\t\t\"Standard_D11\",\n+\t\t\t\t\"Standard_DS11\",\n+\t\t\t\t\"Standard_D12\",\n+\t\t\t\t\"Standard_DS12\",\n+\t\t\t\t\"Standard_D13\",\n+\t\t\t\t\"Standard_DS13\",\n+\t\t\t\t\"Standard_D14\",\n+\t\t\t\t\"Standard_DS14\"\n+\t\t\t],\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The size of the Witness VM Created\"\n+\t\t\t},\n+\t\t\t\"defaultValue\": \"Standard_DS1\"\n+\t\t},\n+\t\t\"spVMSize\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"allowedValues\": [\n+\t\t\t\t\"Standard_D1\",\n+\t\t\t\t\"Standard_DS1\",\n+\t\t\t\t\"Standard_D2\",\n+\t\t\t\t\"Standard_DS2\",\n+\t\t\t\t\"Standard_D3\",\n+\t\t\t\t\"Standard_DS3\",\n+\t\t\t\t\"Standard_D4\",\n+\t\t\t\t\"Standard_DS4\",\n+\t\t\t\t\"Standard_D11\",\n+\t\t\t\t\"Standard_DS11\",\n+\t\t\t\t\"Standard_D12\",\n+\t\t\t\t\"Standard_DS12\",\n+\t\t\t\t\"Standard_D13\",\n+\t\t\t\t\"Standard_DS13\",\n+\t\t\t\t\"Standard_D14\",\n+\t\t\t\t\"Standard_DS14\"\n+\t\t\t],\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The size of the SP VMs Created\"\n+\t\t\t},\n+\t\t\t\"defaultValue\": \"Standard_DS2\"\n+\t\t},\n+\t\t\"adImagePublisher\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"defaultValue\": \"MicrosoftWindowsServer\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"Image Publisher\"\n+\t\t\t}\n+\t\t},\n+\t\t\"adImageOffer\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"defaultValue\": \"WindowsServer\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"Image Offer\"\n+\t\t\t}\n+\t\t},\n+\t\t\"adImageSKU\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"defaultValue\": \"2012-R2-Datacenter\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"Image SKU\"\n+\t\t\t}\n+\t\t},\n+\t\t\"sqlImagePublisher\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"defaultValue\": \"MicrosoftSQLServer\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"Image Publisher\"\n+\t\t\t}\n+\t\t},\n+\t\t\"sqlImageOffer\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"defaultValue\": \"SQL2014-WS2012R2\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"Image Offer\"\n+\t\t\t}\n+\t\t},\n+\t\t\"sqlImageSKU\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"defaultValue\": \"Enterprise\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"Image SKU\"\n+\t\t\t}\n+\t\t},\n+\t\t\"witnessImagePublisher\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"defaultValue\": \"MicrosoftWindowsServer\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"Image Publisher\"\n+\t\t\t}\n+\t\t},\n+\t\t\"witnessImageOffer\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"defaultValue\": \"WindowsServer\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"Image Offer\"\n+\t\t\t}\n+\t\t},\n+\t\t\"witnessImageSKU\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"defaultValue\": \"2012-R2-Datacenter\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"Image SKU\"\n+\t\t\t}\n+\t\t},\n+\t\t\"spImagePublisher\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"defaultValue\": \"MicrosoftSharePoint\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"Image Publisher\"\n+\t\t\t}\n+\t\t},\n+\t\t\"spImageOffer\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"defaultValue\": \"MicrosoftSharePointServer\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"Image Offer\"\n+\t\t\t}\n+\t\t},\n+\t\t\"spImageSKU\": {\n+\t\t\t\"type\": \"string\",\n+\t\t\t\"defaultValue\": \"2013\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"Image SKU\"\n+\t\t\t}\n+\t\t},\n+\t\t\"domainName\":{\n+\t\t\t\"type\":\"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The FQDN of the AD Domain created \"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"sphafarm.com\"\n+\t\t},\n+\t\t\"dnsPrefix\": {\n+\t\t\t\"type\":\"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The DNS Prefix for the Public IP Address for the Sharepoint Web Application\"\n+\t\t\t}\n+\t\t},\n+\t\t\"rdpDNSPrefix\": {\n+\t\t\t\"type\":\"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The DNS Prefix for the Public IP Address for RDP\"\n+\t\t\t}\n+\t\t},\n+\t\t\"spCentralAdminDNSPrefix\": {\n+\t\t\t\"type\":\"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The DNS Prefix for the Public IP Address for the Central Admin site\"\n+\t\t\t}\n+\t\t},\n+\t\t\"rdpPort\":{\n+\t\t\t\"type\":\"int\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The public RDP port for the VM\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":3389\n+\t\t},\n+\t\t\"assetLocation\":{\n+\t\t\t\"type\":\"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The location of resources such as templates and DSC modules that the script is dependent\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/sharepoint-server-farm-ha\"\n+\t\t},\n+\t\t\"sqlServerServiceAccountUserName\":{\n+\t\t\t\"type\":\"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The SQL Server Service account name\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"sqlservice\"\n+\t\t},\n+\t\t\"sqlServerServiceAccountPassword\":{\n+\t\t\t\"type\": \"securestring\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The SQL Server Service account password\"\n+\t\t\t}\n+\t\t},\n+\t\t\"sharePointSetupUserAccountUserName\":{\n+\t\t\t\"type\":\"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The Sharepoint Setup account name\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"sp_setup\"\n+\t\t},\n+\t\t\"sharePointSetupUserAccountPassword\":{\n+\t\t\t\"type\": \"securestring\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The Sharepoint Setup account password\"\n+\t\t\t}\n+\t\t},\n+\t\t\"sharePointFarmAccountUserName\":{\n+\t\t\t\"type\":\"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The Sharepoint Farm account name\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"sp_farm\"\n+\t\t},\n+\t\t\"sharePointFarmAccountPassword\":{\n+\t\t\t\"type\": \"securestring\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The Sharepoint Farm account password\"\n+\t\t\t}\n+\t\t},\n+\t\t\"sharePointFarmPassphrasePassword\":{\n+\t\t\t\"type\": \"securestring\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The Sharepoint Farm Passphrase\"\n+\t\t\t}\n+\t\t},\n+\t\t\"configDatabaseName\":{\n+\t\t\t\"type\":\"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The Sharepoint Config Database Name\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"SP_Config\"\n+\t\t},\n+\t\t\"administrationContentDatabaseName\":{\n+\t\t\t\"type\":\"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The Sharepoint Admin Site Database Name\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"SP_AdminContent\"\n+\t\t},\n+\t\t\"contentDatabaseName\":{\n+\t\t\t\"type\":\"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The Sharepoint Content Database Name\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"spfarm_Content\"\n+\t\t},\n+\t\t\"spSiteTemplateName\":{\n+\t\t\t\"type\":\"string\",\n+\t\t\t\"metadata\": {\n+\t\t\t\t\"Description\": \"The Sharepoint Content Site Template Name\"\n+\t\t\t},\n+\t\t\t\"defaultValue\":\"STS#0\"\n+\t\t}\n+\t},\n+\t\"variables\": {\n+\t\t\"rdpLBFE\":\"rdpLBFE\",\n+\t\t\"sqlLBFE\":\"sqlLBFE\",\n+\t\t\"spWebLBFE\":\"spWebLBFE\",\n+\t\t\"spCALBFE\":\"spCALBFE\",\n+\t\t\"adLBBE\":\"adLBBE\",\n+\t\t\"sqlLBBE\":\"sqlLBBE\",\n+\t\t\"spWebLBBE\":\"spWebLBBE\",\n+\t\t\"spCALBBE\":\"spCALBBE\",\n+\t\t\"RDPNAT\":\"RDP\",\n+\t\t\"spCANAT\":\"spCANAT\",\n+\t\t\"spWebLB\":\"spWeb\",\n+\t\t\"spCALB\":\"spCALB\",\n+\t\t\"SQLAOListener\":\"SQLAlwaysOnEndPointListener\",\n+\t\t\"SQLAOProbe\":\"SQLAlwaysOnEndPointProbe\",\n+\t\t\"staticSubnetName\": \"staticSubnet\",\n+\t\t\"sqlSubnetName\": \"sqlSubnet\",\n+\t\t\"spWebSubnetName\": \"spWebSubnet\",\n+\t\t\"spAppSubnetName\": \"spAppSubnet\",\n+\t\t\"spWebProbe\":\"spWebProbe\",\n+\t\t\"spWebProbePort\":8088,\n+\t\t\"adDataDiskSize\":1000,\n+\t\t\"sqlDataDiskSize\":1000,\n+\t\t\"sqlLogDiskSize\":1000,\n+\t\t\"spDataDiskSize\":1000,\n+\t\t\"witnessDataDiskSize\":1000,\n+\t\t\"rdpIPAddressName\": \"rdpIP\",\n+\t\t\"spWebIPAddressName\": \"spWebIP\",\n+\t\t\"spCAIPAddressName\": \"spCAIP\",\n+\t\t\"sqlAvailabilitySetName\":\"sqlAvailabiltySet\",\n+\t\t\"adAvailabilitySetName\": \"adAvailabiltySet\",\n+\t\t\"spWebAvailabilitySetName\":\"spWebAvailabiltySet\",\n+\t\t\"spAppAvailabilitySetName\": \"spAppAvailabiltySet\",\n+\t\t\"publicIPAddressType\": \"Dynamic\",\n+\t\t\"vmContainerName\": \"vhds\",\n+\t\t\"spCentralAdminPort\":80,\n+\t\t\"noOfSqlVMs\":2,\n+\t\t\"noOfspwebVMs\":2,\n+\t\t\"noOfspappVMs\":2,\n+\t\t\"sqlLBName\" : \"sqlLoadBalancer\",\n+\t\t\"rdpLBName\" : \"rdpLoadBalancer\",\n+\t\t\"spWebLBName\" : \"spWebLoadBalancer\",\n+\t\t\"spCALBName\" : \"spCALoadBalancer\",\n+\t\t\"sqlAOEPName\":\"[concat(parameters('dnsPrefix'),'-hadr')]\",\n+\t\t\"sqlAOAGName\":\"[concat(parameters('dnsPrefix'),'-ag')]\",\n+\t\t\"sqlAOListenerName\":\"[concat(parameters('dnsPrefix'),'ag-listener')]\",\n+\t\t\"sharePath\":\"[concat(parameters('dnsPrefix'),'-fsw')]\",\n+\t\t\"clusterName\":\"[concat(parameters('dnsPrefix'),'-fc')]\",\n+\t\t\"adPDCVMName\":\"[concat(parameters('adVMPrefix'),'-pdc')]\",\n+\t\t\"adBDCVMName\":\"[concat(parameters('adVMPrefix'),'-bdc')]\",\n+\t\t\"sqlVMName\":\"[concat(parameters('sqlVMPrefix'),'-')]\",\n+\t\t\"sqlwVMName\":\"[concat(parameters('sqlVMPrefix'),'-w')]\",\n+\t\t\"spwebVMName\":\"[concat(parameters('spVMPrefix'),'-web-')]\",\n+\t\t\"spappVMName\":\"[concat(parameters('spVMPrefix'),'-app-')]\",\n+\t\t\"adPDCNicName\": \"[concat(variables('adPDCVMName'),'-nic')]\",\n+\t\t\"adBDCNicName\": \"[concat(variables('adBDCVMName'),'-nic')]\",\n+\t\t\"sqlwNicName\": \"[concat(variables('sqlwVMName'),'-nic')]\",\n+\t\t\"VnetID\": \"[resourceId('Microsoft.Network/virtualNetworks', parameters('virtualNetworkName'))]\",\n+\t\t\"staticSubnetRef\": \"[concat(variables('VnetID'),'/subnets/',variables('staticSubnetName'))]\",\n+\t\t\"sqlSubnetRef\": \"[concat(variables('VnetID'),'/subnets/',variables('sqlSubnetName'))]\",\n+\t\t\"spWebSubnetRef\": \"[concat(variables('VnetID'),'/subnets/',variables('spWebSubnetName'))]\",\n+\t\t\"spAppSubnetRef\": \"[concat(variables('VnetID'),'/subnets/',variables('spAppSubnetName'))]\",\n+\t\t\"adNicId\" : \"[resourceId('Microsoft.Network/networkInterfaces',variables('adPDCNicName'))]\",\n+\t\t\"adIPConfigID\": \"[concat(variables('adNicId'),'/ipConfigurations/ipconfig1')]\",\n+\t\t\"rdplbID\":\"[resourceId('Microsoft.Network/loadBalancers',variables('rdpLBName'))]\",\n+\t\t\"rdplbFEConfigID\":\"[concat(variables('rdplbID'),'/frontendIPConfigurations/',variables('rdpLBFE'))]\",\n+\t\t\"spWeblbID\":\"[resourceId('Microsoft.Network/loadBalancers',variables('spWebLBName'))]\",\n+\t\t\"spWebLBFEConfigID\":\"[concat(variables('spWeblbID'),'/frontendIPConfigurations/',variables('spWebLBFE'))]\",\n+\t\t\"adRDPNATRuleID\":\"[concat(variables('rdplbID'),'/inboundNatRules/',variables('RDPNAT'))]\",\n+\t\t\"adBEAddressPoolID\":\"[concat(variables('rdplbID'),'/backendAddressPools/',variables('adLBBE'))]\",\n+\t\t\"spWebProbeID\":\"[concat(variables('spWeblbID'),'/probes/',variables('spWebProbe'))]\",\n+\t\t\"spWebBEAddressPoolID\":\"[concat(variables('spWeblbID'),'/backendAddressPools/',variables('spWebLBBE'))]\",\n+\t\t\"sqllbID\":\"[resourceId('Microsoft.Network/loadBalancers',variables('sqlLBName'))]\",\n+\t\t\"sqlBEAddressPoolID\":\"[concat(variables('sqllbID'),'/backendAddressPools/',variables('sqlLBBE'))]\",\n+\t\t\"sqllbFEConfigID\":\"[concat(variables('sqllbID'),'/frontendIPConfigurations/',variables('sqlLBFE'))]\",\n+\t\t\"sqllbProbeID\":\"[concat(variables('sqllbID'),'/probes/',variables('SQLAOProbe'))]\",\n+\t\t\"spCAlbID\":\"[resourceId('Microsoft.Network/loadBalancers',variables('spCALBName'))]\",\n+\t\t\"spCABEAddressPoolID\":\"[concat(variables('spCAlbID'),'/backendAddressPools/',variables('spCALBBE'))]\",\n+\t\t\"spCAlbFEConfigID\":\"[concat(variables('spCAlbID'),'/frontendIPConfigurations/',variables('spCALBFE'))]\",\n+\t\t\"spCANATRuleID\":\"[concat(variables('spCAlbID'),'/inboundNatRules/',variables('spCANAT'))]\",\n+\t\t\"subnets\": [\n+\t\t\t{\n+\t\t\t\t\"name\": \"[variables('staticSubnetName')]\",\n+\t\t\t\t\"properties\": {\n+\t\t\t\t\t\"addressPrefix\": \"[parameters('staticSubnet')]\"\n+\t\t\t\t}\n+\t\t\t},\n+\t\t\t{\n+\t\t\t\t\"name\": \"[variables('sqlSubnetName')]\",\n+\t\t\t\t\"properties\": {\n+\t\t\t\t\t\"addressPrefix\": \"[parameters('sqlSubnet')]\"\n+\t\t\t\t}\n+\t\t\t},\n+\t\t\t{\n+\t\t\t\t\"name\": \"[variables('spWebSubnetName')]\",\n+\t\t\t\t\"properties\": {\n+\t\t\t\t\t\"addressPrefix\": \"[parameters('spWebSubnet')]\"\n+\t\t\t\t}\n+\t\t\t},\n+\t\t\t{\n+\t\t\t\t\"name\": \"[variables('spAppSubnetName')]\",\n+\t\t\t\t\"properties\": {\n+\t\t\t\t\t\"addressPrefix\": \"[parameters('spAppSubnet')]\"\n+\t\t\t\t}\n+\t\t\t}\n+\t\t],\n+\t\t\"vnetwithDNSTemplateUri\":\"[concat(parameters('assetLocation'),'/vnet-with-dns-server.json')]\",\n+\t\t\"nicTemplateUri\": \"[concat(parameters('assetLocation'),'/nic.json')]\",\n+\t\t\"adPDCModulesURL\":\"[concat(parameters('assetLocation'),'/CreateADPDC.ps1.zip')]\",\n+\t\t\"adPDCConfigurationFunction\":\"CreateADPDC.ps1\\\\CreateADPDC\",\n+\t\t\"adBDCModulesURL\":\"[concat(parameters('assetLocation'),'/CreateADBDC.ps1.zip')]\",\n+\t\t\"adBDCConfigurationFunction\":\"CreateADBDC.ps1\\\\CreateADBDC\",\n+\t\t\"fswModulesURL\":\"[concat(parameters('assetLocation'),'/CreateFileShareWitness.ps1.zip')]\",\n+\t\t\"fswConfigurationFunction\":\"CreateFileShareWitness.ps1\\\\CreateFileShareWitness\",\n+\t\t\"sqlAOPrepareModulesURL\":\"[concat(parameters('assetLocation'),'/PrepareAlwaysOnSqlServer.ps1.zip')]\",\n+\t\t\"sqlAOPrepareConfigurationFunction\":\"PrepareAlwaysOnSqlServer.ps1\\\\PrepareAlwaysOnSqlServer\",\n+\t\t\"createClusterModulesURL\":\"[concat(parameters('assetLocation'),'/CreateFailoverCluster.ps1.zip')]\",\n+\t\t\"createClusterConfigurationFunction\":\"CreateFailoverCluster.ps1\\\\CreateFailoverCluster\",\n+\t\t\"spModulesURL\":\"[concat(parameters('assetLocation'),'/ConfigureSharePointServerHA.ps1.zip')]\",\n+\t\t\"spConfigurationFunction\":\"ConfigureSharePointServerHA.ps1\\\\ConfigureSharePointServerHA\"\n+\n+\t},\n+\t\"resources\": [\n+\t\t{\n+\t\t  \"type\": \"Microsoft.Storage/storageAccounts\",\n+\t\t  \"name\": \"[parameters('newStorageAccountName')]\",\n+\t\t  \"apiVersion\": \"2015-05-01-preview\",\n+\t\t  \"location\": \"[parameters('location')]\",\n+\t\t  \"properties\": {\n+\t\t\t\"accountType\": \"[parameters('storageAccountType')]\"\n+\t\t  }\n+\t\t},\n+\t\t{\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"type\": \"Microsoft.Network/publicIPAddresses\",\n+\t\t\t\"name\": \"[variables('rdpIPAddressName')]\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"properties\": {\n+\t\t\t\t\"publicIPAllocationMethod\": \"[variables('publicIPAddressType')]\",\n+\t\t\t\t\"dnsSettings\": {\n+\t\t\t\t\t\"domainNameLabel\": \"[parameters('rdpDNSPrefix')]\"\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"type\": \"Microsoft.Network/publicIPAddresses\",\n+\t\t\t\"name\": \"[variables('spWebIPAddressName')]\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"properties\": {\n+\t\t\t\t\"publicIPAllocationMethod\": \"[variables('publicIPAddressType')]\",\n+\t\t\t\t\"dnsSettings\": {\n+\t\t\t\t\t\"domainNameLabel\": \"[parameters('dnsPrefix')]\"\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"type\": \"Microsoft.Network/publicIPAddresses\",\n+\t\t\t\"name\": \"[variables('spCAIPAddressName')]\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"properties\": {\n+\t\t\t\t\"publicIPAllocationMethod\": \"[variables('publicIPAddressType')]\",\n+\t\t\t\t\"dnsSettings\": {\n+\t\t\t\t\t\"domainNameLabel\": \"[parameters('spCentralAdminDNSPrefix')]\"\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"type\": \"Microsoft.Compute/availabilitySets\",\n+\t\t\t\"name\": \"[variables('adAvailabilitySetName')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"location\": \"[parameters('location')]\"\n+\t\t},\n+\t\t{\n+\t\t\t\"type\": \"Microsoft.Compute/availabilitySets\",\n+\t\t\t\"name\": \"[variables('sqlAvailabilitySetName')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"properties\": {\n+\t\t\t\t\"platformFaultDomainCount\": \"3\",\n+\t\t\t\t\"platformUpdateDomainCount\": \"3\"\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"type\": \"Microsoft.Compute/availabilitySets\",\n+\t\t\t\"name\": \"[variables('spWebAvailabilitySetName')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"location\": \"[parameters('location')]\"\n+\t\t},\n+\t\t{\n+\t\t\t\"type\": \"Microsoft.Compute/availabilitySets\",\n+\t\t\t\"name\": \"[variables('spAppAvailabilitySetName')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"location\": \"[parameters('location')]\"\n+\t\t},\n+\t\t{\n+\t\t\t\"name\": \"[parameters('virtualNetworkName')]\",\n+\t\t\t\"type\": \"Microsoft.Network/virtualNetworks\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"properties\": {\n+\t\t\t\t\"addressSpace\": {\n+\t\t\t\t\"addressPrefixes\": [\n+\t\t\t\t\t\"[parameters('virtualNetworkAddressRange')]\"\n+\t\t\t\t]\n+\t\t\t\t},\n+\t\t\t\t\"subnets\": \"[variables('subnets')]\"\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"name\": \"[variables('rdplbName')]\",\n+\t\t\t\"type\": \"Microsoft.Network/loadBalancers\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[resourceId('Microsoft.Network/publicIPAddresses',variables('rdpIPAddressName'))]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"frontendIPConfigurations\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('rdpLBFE')]\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"publicIPAddress\": {\n+\t\t\t\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Network/publicIPAddresses',variables('rdpIPAddressName'))]\"\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t],\n+\t\t\t\t\"backendAddressPools\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('adLBBE')]\"\n+\n+\t\t\t\t\t}\n+\t\t\t\t],\n+\t\t\t\t\"inboundNatRules\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('RDPNAT')]\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"frontendIPConfiguration\": {\n+\t\t\t\t\t\t\t\t\"id\": \"[variables('rdplbFEConfigID')]\"\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\"protocol\": \"tcp\",\n+\t\t\t\t\t\t\t\"frontendPort\": \"[parameters('rdpPort')]\",\n+\t\t\t\t\t\t\t\"backendPort\": 3389,\n+\t\t\t\t\t\t\t\"enableFloatingIP\": false\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t]\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"name\": \"[variables('spWebLBName')]\",\n+\t\t\t\"type\": \"Microsoft.Network/loadBalancers\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[resourceId('Microsoft.Network/publicIPAddresses',variables('spWebIPAddressName'))]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"frontendIPConfigurations\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('spWebLBFE')]\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"publicIPAddress\": {\n+\t\t\t\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Network/publicIPAddresses',variables('spWebIPAddressName'))]\"\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t],\n+\t\t\t\t\"backendAddressPools\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('spWebLBBE')]\"\n+\t\t\t\t\t}\n+\t\t\t\t],\n+\t\t\t\t\"loadBalancingRules\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('spWebLB')]\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\"frontendIPConfiguration\": {\n+\t\t\t\t\t\t\t\"id\": \"[variables('spWebLBFEConfigID')]\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"backendAddressPool\": {\n+            \t\t\t\t\"id\": \"[variables('spWebBEAddressPoolID')]\"\n+            \t\t\t},\n+\t\t\t\t\t\t\"probe\": {\n+\t\t\t\t\t\t\t\"id\": \"[variables('spwebProbeID')]\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"protocol\": \"tcp\",\n+\t\t\t\t\t\t\"frontendPort\": 80,\n+\t\t\t\t\t\t\"backendPort\": 80,\n+\t\t\t\t\t\t\"enableFloatingIP\": false\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t],\n+\t\t\t\t\"probes\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('spWebProbe')]\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"protocol\": \"http\",\n+\t\t\t\t\t\t\t\"port\": \"[variables('spWebProbePort')]\",\n+\t\t\t\t\t\t\t\"intervalInSeconds\": \"15\",\n+\t\t\t\t\t\t\t\"numberOfProbes\": \"5\",\n+\t\t\t\t\t\t\t\"requestPath\":\"/iisstart.htm\"\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t]\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"name\": \"[variables('sqllbName')]\",\n+\t\t\t\"type\": \"Microsoft.Network/loadBalancers\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[resourceId('Microsoft.Network/virtualNetworks',parameters('virtualNetworkName'))]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"frontendIPConfigurations\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('sqlLBFE')]\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"privateIPAllocationMethod\": \"Static\",\n+\t\t\t\t\t\t\t\"privateIPAddress\" :\"[parameters('sqlLBIPAddress')]\",\n+\t\t\t\t\t\t\t\"subnet\": {\n+\t\t\t\t\t\t\t\t\"id\": \"[variables('staticSubnetRef')]\"\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t],\n+\t\t\t\t\"backendAddressPools\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('sqlLBBE')]\"\n+\t\t\t\t\t}\n+\t\t\t\t],\n+\t\t\t\t\"loadBalancingRules\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('SQLAOListener')]\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\"frontendIPConfiguration\": {\n+\t\t\t\t\t\t\t\"id\": \"[variables('sqllbFEConfigID')]\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"probe\": {\n+\t\t\t\t\t\t\t\"id\": \"[variables('sqllbProbeID')]\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"protocol\": \"tcp\",\n+\t\t\t\t\t\t\"frontendPort\": 1433,\n+\t\t\t\t\t\t\"backendPort\": 1433,\n+\t\t\t\t\t\t\"enableFloatingIP\": true\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t],\n+\t\t\t\t\"probes\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('SQLAOProbe')]\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"protocol\": \"tcp\",\n+\t\t\t\t\t\t\t\"port\": 59999,\n+\t\t\t\t\t\t\t\"intervalInSeconds\": \"5\",\n+\t\t\t\t\t\t\t\"numberOfProbes\": \"2\"\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t]\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"name\": \"[variables('spCAlbName')]\",\n+\t\t\t\"type\": \"Microsoft.Network/loadBalancers\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[resourceId('Microsoft.Network/publicIPAddresses',variables('spCAIPAddressName'))]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"frontendIPConfigurations\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('spCALBFE')]\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"publicIPAddress\": {\n+\t\t\t\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Network/publicIPAddresses',variables('spCAIPAddressName'))]\"\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t],\n+\t\t\t\t\"backendAddressPools\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('spCALBBE')]\"\n+\n+\t\t\t\t\t}\n+\t\t\t\t],\n+\t\t\t\t\"inboundNatRules\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"[variables('spCANAT')]\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"frontendIPConfiguration\": {\n+\t\t\t\t\t\t\t\t\"id\": \"[variables('spCAlbFEConfigID')]\"\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\"protocol\": \"tcp\",\n+\t\t\t\t\t\t\t\"frontendPort\": 80,\n+\t\t\t\t\t\t\t\"backendPort\": \"[variables('spCentralAdminPort')]\",\n+\t\t\t\t\t\t\t\"enableFloatingIP\": false\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t]\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"name\": \"[variables('adPDCNicName')]\",\n+\t\t\t\"type\": \"Microsoft.Network/networkInterfaces\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[parameters('virtualNetworkName')]\",\n+\t\t\t\t\"[concat('Microsoft.Network/loadBalancers/',variables('rdpLBName'))]\"\n+\t\t\t],\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"properties\": {\n+\t\t\t\t\"ipConfigurations\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"ipconfig1\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"privateIPAllocationMethod\": \"Static\",\n+\t\t\t\t\t\t\t\"privateIPAddress\" :\"[parameters('adPDCNICIPAddress')]\",\n+\t\t\t\t\t\t\t\"subnet\": {\n+\t\t\t\t\t\t\t\t\"id\": \"[variables('staticSubnetRef')]\"\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\"loadBalancerBackendAddressPools\": [\n+\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\"id\":\"[variables('adBEAddressPoolID')]\"\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t],\n+\t\t\t\t\t\t\t\"loadBalancerInboundNatRules\": [\n+\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\"id\": \"[variables('adRDPNATRuleID')]\"\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t]\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t]\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"name\": \"[variables('adBDCNicName')]\",\n+\t\t\t\"type\": \"Microsoft.Network/networkInterfaces\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[concat('Microsoft.Network/loadBalancers/',variables('rdpLBName'))]\"\n+\t\t\t],\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"properties\": {\n+\t\t\t\t\"ipConfigurations\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"ipconfig1\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"privateIPAllocationMethod\": \"Static\",\n+\t\t\t\t\t\t\t\"privateIPAddress\" :\"[parameters('adBDCNICIPAddress')]\",\n+\t\t\t\t\t\t\t\"subnet\": {\n+\t\t\t\t\t\t\t\t\"id\": \"[variables('staticSubnetRef')]\"\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t]\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"name\": \"[concat(variables('sqlVMName'), copyindex(),'-nic')]\",\n+\t\t\t\"type\": \"Microsoft.Network/networkInterfaces\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"copy\": {\n+\t\t\t\t\"name\": \"sqlnicLoop\",\n+\t\t\t\t\"count\": \"[variables('noOfSqlVMs')]\"\n+\t\t\t},\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[parameters('virtualNetworkName')]\",\n+\t\t\t\t\"[concat('Microsoft.Network/loadBalancers/',variables('sqllbName'))]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"ipConfigurations\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"ipconfig1\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"privateIPAllocationMethod\": \"Dynamic\",\n+\t\t\t\t\t\t\t\"subnet\": {\n+\t\t\t\t\t\t\t\t\"id\": \"[variables('sqlSubnetRef')]\"\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\"loadBalancerBackendAddressPools\": [\n+\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\"id\":\"[variables('sqlBEAddressPoolID')]\"\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t]\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t]\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"name\": \"[concat(variables('spWebVMName'), copyindex(),'-nic')]\",\n+\t\t\t\"type\": \"Microsoft.Network/networkInterfaces\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"copy\": {\n+\t\t\t\t\"name\": \"spWebnicLoop\",\n+\t\t\t\t\"count\": \"[variables('noOfspWebVMs')]\"\n+\t\t\t},\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[parameters('virtualNetworkName')]\",\n+\t\t\t\t\"[concat('Microsoft.Network/loadBalancers/',variables('spWebLBName'))]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"ipConfigurations\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"ipconfig1\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"privateIPAllocationMethod\": \"Dynamic\",\n+\t\t\t\t\t\t\t\"subnet\": {\n+\t\t\t\t\t\t\t\t\"id\": \"[variables('spWebSubnetRef')]\"\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\"loadBalancerBackendAddressPools\": [\n+\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\"id\":\"[variables('spWebBEAddressPoolID')]\"\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t]\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t]\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"name\": \"[concat(variables('spAppVMName'),'0-nic')]\",\n+\t\t\t\"type\": \"Microsoft.Network/networkInterfaces\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[parameters('virtualNetworkName')]\",\n+\t\t\t\t\"[concat('Microsoft.Network/loadBalancers/',variables('spCAlbName'))]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"ipConfigurations\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"ipconfig1\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"privateIPAllocationMethod\": \"Dynamic\",\n+\t\t\t\t\t\t\t\"subnet\": {\n+\t\t\t\t\t\t\t\t\"id\": \"[variables('spAppSubnetRef')]\"\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\"loadBalancerBackendAddressPools\": [\n+\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\"id\":\"[variables('spCABEAddressPoolID')]\"\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t],\n+\t\t\t\t\t\t\t\"loadBalancerInboundNatRules\": [\n+\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\"id\": \"[variables('spCANATRuleID')]\"\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t]\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t]\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"name\": \"[concat(variables('spAppVMName'),'1-nic')]\",\n+\t\t\t\"type\": \"Microsoft.Network/networkInterfaces\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[parameters('virtualNetworkName')]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"ipConfigurations\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"ipconfig1\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"privateIPAllocationMethod\": \"Dynamic\",\n+\t\t\t\t\t\t\t\"subnet\": {\n+\t\t\t\t\t\t\t\t\"id\": \"[variables('spAppSubnetRef')]\"\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t]\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"name\": \"[variables('sqlwNicName')]\",\n+\t\t\t\"type\": \"Microsoft.Network/networkInterfaces\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[concat('Microsoft.Network/loadBalancers/',variables('sqlLBName'))]\"\n+\t\t\t],\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"properties\": {\n+\t\t\t\t\"ipConfigurations\": [\n+\t\t\t\t\t{\n+\t\t\t\t\t\t\"name\": \"ipconfig1\",\n+\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\"privateIPAllocationMethod\": \"Dynamic\",\n+\t\t\t\t\t\t\t\"subnet\": {\n+\t\t\t\t\t\t\t\t\"id\": \"[variables('sqlSubnetRef')]\"\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t]\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"type\": \"Microsoft.Compute/virtualMachines\",\n+\t\t\t\"name\": \"[variables('adPDCVMName')]\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[resourceId('Microsoft.Storage/storageAccounts',parameters('newStorageAccountName'))]\",\n+\t\t\t\t\"[resourceId('Microsoft.Network/networkInterfaces',variables('adPDCNicName'))]\",\n+\t\t\t\t\"[resourceId('Microsoft.Compute/availabilitySets', variables('adAvailabilitySetName'))]\",\n+\t\t\t\t\"[resourceId('Microsoft.Network/loadBalancers',variables('rdpLBName'))]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"hardwareProfile\": {\n+\t\t\t\t\t\"vmSize\": \"[parameters('adVMSize')]\"\n+\t\t\t\t},\n+\t\t\t\t\"availabilitySet\": {\n+\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Compute/availabilitySets', variables('adAvailabilitySetName'))]\"\n+\t\t\t\t},\n+\t\t\t\t\"osProfile\": {\n+\t\t\t\t\t\"computername\": \"[variables('adPDCVMName')]\",\n+\t\t\t\t\t\"adminUsername\": \"[parameters('adminUsername')]\",\n+\t\t\t\t\t\"adminPassword\": \"[parameters('adminPassword')]\"\n+\t\t\t\t},\n+\t\t\t\t\"storageProfile\": {\n+\t\t\t\t\t\"imageReference\": {\n+\t\t\t\t\t\t\"publisher\": \"[parameters('adImagePublisher')]\",\n+\t\t\t\t\t\t\"offer\": \"[parameters('adImageOffer')]\",\n+\t\t\t\t\t\t\"sku\": \"[parameters('adImageSKU')]\",\n+\t\t\t\t\t\t\"version\": \"latest\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"osDisk\": {\n+\t\t\t\t\t\t\"name\": \"osdisk\",\n+\t\t\t\t\t\t\"vhd\": {\n+\t\t\t\t\t\t\t\"uri\": \"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmContainerName'),'/',variables('adPDCVMName'),'-osdisk.vhd')]\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"caching\": \"ReadWrite\",\n+\t\t\t\t\t\t\"createOption\": \"FromImage\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"dataDisks\": [\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\"vhd\": {\n+\t\t\t\t\t\t\t\t\"uri\":\"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmContainerName'),'/', variables('adPDCVMName'),'data-1.vhd')]\"\n+\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\"name\":\"[concat(variables('adPDCVMName'),'-data-disk1')]\",\n+\t\t\t\t\t\t\t\"createOption\": \"empty\",\n+\t\t\t\t\t\t\t\"caching\" : \"None\",\n+\t\t\t\t\t\t\t\"diskSizeGB\": \"[variables('adDataDiskSize')]\",\n+\t\t\t\t\t\t\t\"lun\": 0\n+\t\t\t\t\t\t}\n+\t\t\t\t\t]\n+\t\t\t\t},\n+\t\t\t\t\"networkProfile\": {\n+\t\t\t\t\t\"networkInterfaces\": [\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Network/networkInterfaces',variables('adPDCNicName'))]\"\n+\t\t\t\t\t\t}\n+\t\t\t\t\t]\n+\t\t\t\t}\n+\t\t\t},\n+\t\t\t\"resources\" :[\n+\t\t\t\t{\n+\t\t\t\t\t\"type\": \"Microsoft.Compute/virtualMachines/extensions\",\n+\t\t\t\t\t\"name\": \"[concat(variables('adPDCVMName'),'/InstallDomainController')]\",\n+\t\t\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\t\t\"dependsOn\":[\n+\t\t\t\t\t\t\"[resourceId('Microsoft.Compute/virtualMachines', variables('adPDCVMName'))]\"\n+\t\t\t\t\t],\n+\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\"publisher\": \"Microsoft.Powershell\",\n+\t\t\t\t\t\t\"type\": \"DSC\",\n+\t\t\t\t\t\t\"typeHandlerVersion\": \"1.7\",\n+\t\t\t\t\t\t\"settings\": {\n+\t\t\t\t\t\t\t\"ModulesUrl\": \"[variables('adPDCModulesURL')]\",\n+\t\t\t\t\t\t\t\"ConfigurationFunction\": \"[variables('adPDCConfigurationFunction')]\",\n+\t\t\t\t\t\t\t\"Properties\": {\n+\t\t\t\t\t\t\t\t\"DomainName\": \"[parameters('domainName')]\",\n+\t\t\t\t\t\t\t\t\"AdminCreds\":{\n+\t\t\t\t\t\t\t\t\t\"UserName\": \"[parameters('adminUserName')]\",\n+\t\t\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:AdminPassword\"\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"protectedSettings\": {\n+\t\t\t\t\t\t\t\"Items\": {\n+\t\t\t\t\t\t\t\t\"AdminPassword\": \"[parameters('adminPassword')]\"\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t]\n+\t\t},\n+\t\t{\n+\t\t\t\"name\": \"UpdateVNetDNS1\",\n+\t\t\t\"type\": \"Microsoft.Resources/deployments\",\n+\t\t\t\"apiVersion\": \"2015-01-01\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[concat('Microsoft.Compute/virtualMachines/', variables('adPDCVMName'),'/extensions/InstallDomainController')]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"mode\": \"Incremental\",\n+\t\t\t\t\"templateLink\": {\n+\t\t\t\t  \"uri\": \"[variables('vnetwithDNSTemplateUri')]\",\n+\t\t\t\t  \"contentVersion\": \"1.0.0.0\"\n+\t\t\t\t},\n+\t\t\t\t\"parameters\": {\n+\t\t\t\t\t\"location\": {\"value\":\"[parameters('location')]\"},\n+\t\t\t\t\t\"virtualNetworkName\": {\"value\":\"[parameters('virtualNetworkName')]\"},\n+\t\t\t\t\t\"virtualNetworkAddressRange\": {\"value\":\"[parameters('virtualNetworkAddressRange')]\"},\n+\t\t\t\t\t\"subnets\": {\"value\":\"[variables('subnets')]\"},\n+\t\t\t\t\t\"DNSServerAddress\": {\"value\":[\"[parameters('adPDCNICIPAddress')]\"]}\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"type\": \"Microsoft.Compute/virtualMachines\",\n+\t\t\t\"name\": \"[variables('adBDCVMName')]\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[resourceId('Microsoft.Storage/storageAccounts',parameters('newStorageAccountName'))]\",\n+\t\t\t\t\"[resourceId('Microsoft.Network/networkInterfaces',variables('adBDCNicName'))]\",\n+\t\t\t\t\"[resourceId('Microsoft.Compute/availabilitySets', variables('adAvailabilitySetName'))]\",\n+\t\t\t\t\"Microsoft.Resources/deployments/UpdateVNetDNS1\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"hardwareProfile\": {\n+\t\t\t\t\t\"vmSize\": \"[parameters('adVMSize')]\"\n+\t\t\t\t},\n+\t\t\t\t\"availabilitySet\": {\n+\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Compute/availabilitySets', variables('adAvailabilitySetName'))]\"\n+\t\t\t\t},\n+\t\t\t\t\"osProfile\": {\n+\t\t\t\t\t\"computername\": \"[variables('adBDCVMName')]\",\n+\t\t\t\t\t\"adminUsername\": \"[parameters('adminUsername')]\",\n+\t\t\t\t\t\"adminPassword\": \"[parameters('adminPassword')]\"\n+\t\t\t\t},\n+\t\t\t\t\"storageProfile\": {\n+\t\t\t\t\t\"imageReference\": {\n+\t\t\t\t\t\t\"publisher\": \"[parameters('adImagePublisher')]\",\n+\t\t\t\t\t\t\"offer\": \"[parameters('adImageOffer')]\",\n+\t\t\t\t\t\t\"sku\": \"[parameters('adImageSKU')]\",\n+\t\t\t\t\t\t\"version\": \"latest\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"osDisk\": {\n+\t\t\t\t\t\t\"name\": \"osdisk\",\n+\t\t\t\t\t\t\"vhd\": {\n+\t\t\t\t\t\t\t\"uri\": \"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmContainerName'),'/',variables('adBDCVMName'),'-osdisk.vhd')]\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"caching\": \"ReadWrite\",\n+\t\t\t\t\t\t\"createOption\": \"FromImage\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"dataDisks\": [\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\"vhd\": {\n+\t\t\t\t\t\t\t\t\"uri\":\"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmContainerName'),'/', variables('adBDCVMName'),'data-1.vhd')]\"\n+\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\"name\":\"[concat(variables('adBDCVMName'),'-data-disk1')]\",\n+\t\t\t\t\t\t\t\"createOption\": \"empty\",\n+\t\t\t\t\t\t\t\"caching\" : \"None\",\n+\t\t\t\t\t\t\t\"diskSizeGB\": \"[variables('adDataDiskSize')]\",\n+\t\t\t\t\t\t\t\"lun\": 0\n+\t\t\t\t\t\t}\n+\t\t\t\t\t]\n+\t\t\t\t},\n+\t\t\t\t\"networkProfile\": {\n+\t\t\t\t\t\"networkInterfaces\": [\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Network/networkInterfaces',variables('adBDCNicName'))]\"\n+\t\t\t\t\t\t}\n+\t\t\t\t\t]\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"type\": \"Microsoft.Compute/virtualMachines/extensions\",\n+\t\t\t\"name\": \"[concat(variables('adBDCVMName'),'/CreateBDC')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\":[\n+\t\t\t\t\"[concat('Microsoft.Compute/virtualMachines/', variables('adBDCVMName'))]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"publisher\": \"Microsoft.Powershell\",\n+\t\t\t\t\"type\": \"DSC\",\n+\t\t\t\t\"typeHandlerVersion\": \"1.7\",\n+\t\t\t\t\"settings\": {\n+\t\t\t\t\t\"ModulesUrl\": \"[variables('adBDCModulesURL')]\",\n+\t\t\t\t\t\"ConfigurationFunction\": \"[variables('adBDCConfigurationFunction')]\",\n+\t\t\t\t\t\"Properties\": {\n+\t\t\t\t\t\t\"DomainName\": \"[parameters('domainName')]\",\n+\t\t\t\t\t\t\"AdminCreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('adminUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:AdminPassword\"\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t},\n+\t\t\t\t\"protectedSettings\": {\n+\t\t\t\t\t\"Items\": {\n+\t\t\t\t\t\t\"AdminPassword\": \"[parameters('adminPassword')]\"\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"type\": \"Microsoft.Compute/virtualMachines\",\n+\t\t\t\"name\": \"[concat(variables('sqlVMName'), copyindex())]\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"copy\": {\n+\t\t\t\t\"name\": \"sqlvirtualMachineLoop\",\n+\t\t\t\t\"count\": \"[variables('noOfSqlVMs')]\"\n+\t\t\t},\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[resourceId('Microsoft.Storage/storageAccounts',parameters('newStorageAccountName'))]\",\n+\t\t\t\t\"[resourceId('Microsoft.Network/networkInterfaces',concat(variables('sqlVMName'), copyindex(),'-nic'))]\",\n+\t\t\t\t\"[resourceId('Microsoft.Compute/availabilitySets', variables('sqlAvailabilitySetName'))]\",\n+\t\t\t\t\"Microsoft.Resources/deployments/UpdateVNetDNS1\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"hardwareProfile\": {\n+\t\t\t\t\t\"vmSize\": \"[parameters('sqlVMSize')]\"\n+\t\t\t\t},\n+\t\t\t\t\"availabilitySet\": {\n+\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Compute/availabilitySets', variables('sqlAvailabilitySetName'))]\"\n+\t\t\t\t},\n+\t\t\t\t\"osProfile\": {\n+\t\t\t\t\t\"computername\": \"[concat(variables('sqlVMName'), copyindex())]\",\n+\t\t\t\t\t\"adminUsername\": \"[parameters('adminUsername')]\",\n+\t\t\t\t\t\"adminPassword\": \"[parameters('adminPassword')]\"\n+\t\t\t\t},\n+\t\t\t\t\"storageProfile\": {\n+\t\t\t\t\t\"imageReference\": {\n+\t\t\t\t\t\t\"publisher\": \"[parameters('sqlImagePublisher')]\",\n+\t\t\t\t\t\t\"offer\": \"[parameters('sqlImageOffer')]\",\n+\t\t\t\t\t\t\"sku\": \"[parameters('sqlImageSKU')]\",\n+\t\t\t\t\t\t\"version\": \"latest\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"osDisk\": {\n+\t\t\t\t\t\t\"name\": \"osdisk\",\n+\t\t\t\t\t\t\"vhd\": {\n+\t\t\t\t\t\t\t\"uri\": \"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmContainerName'),'/',variables('sqlVMName'), copyindex(), '-osdisk.vhd')]\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"caching\": \"ReadWrite\",\n+\t\t\t\t\t\t\"createOption\": \"FromImage\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"dataDisks\": [\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\"vhd\": {\n+\t\t\t\t\t\t\t\t\"uri\":\"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmContainerName'),'/', variables('sqlVMName'), copyindex(), '-Data-1.vhd')]\"\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\"name\":\"[concat(variables('sqlVMName'), copyindex(),'-data-disk1')]\",\n+\t\t\t\t\t\t\t\"caching\" : \"None\",\n+\t\t\t\t\t\t\t\"createOption\": \"empty\",\n+\t\t\t\t\t\t\t\"diskSizeGB\": \"[variables('sqlDataDiskSize')]\",\n+\t\t\t\t\t\t\t\"lun\": 0\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\"vhd\": {\n+\t\t\t\t\t\t\t\t\"uri\":\"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmContainerName'),'/', variables('sqlVMName'), copyindex(), '-log.vhd')]\"\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\"name\":\"[concat(variables('sqlVMName'), copyindex(),'-log-disk1')]\",\n+\t\t\t\t\t\t\t\"caching\" : \"None\",\n+\t\t\t\t\t\t\t\"createOption\": \"empty\",\n+\t\t\t\t\t\t\t\"diskSizeGB\": \"[variables('sqlLogDiskSize')]\",\n+\t\t\t\t\t\t\t\"lun\": 1\n+\t\t\t\t\t\t}\n+\t\t\t\t\t]\n+\t\t\t\t},\n+\t\t\t\t\"networkProfile\": {\n+\t\t\t\t\t\"networkInterfaces\": [\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Network/networkInterfaces',concat(variables('sqlVMName'), copyindex(),'-nic'))]\"\n+\t\t\t\t\t\t}\n+\t\t\t\t\t]\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"type\": \"Microsoft.Compute/virtualMachines\",\n+\t\t\t\"name\": \"[variables('sqlwVMName')]\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[resourceId('Microsoft.Storage/storageAccounts',parameters('newStorageAccountName'))]\",\n+\t\t\t\t\"[resourceId('Microsoft.Network/networkInterfaces',variables('sqlwNicName'))]\",\n+\t\t\t\t\"[resourceId('Microsoft.Compute/availabilitySets', variables('sqlAvailabilitySetName'))]\",\n+\t\t\t\t\"Microsoft.Resources/deployments/UpdateVNetDNS1\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"hardwareProfile\": {\n+\t\t\t\t\t\"vmSize\": \"[parameters('witnessVMSize')]\"\n+\t\t\t\t},\n+\t\t\t\t\"availabilitySet\": {\n+\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Compute/availabilitySets', variables('sqlAvailabilitySetName'))]\"\n+\t\t\t\t},\n+\t\t\t\t\"osProfile\": {\n+\t\t\t\t\t\"computername\": \"[variables('sqlwVMName')]\",\n+\t\t\t\t\t\"adminUsername\": \"[parameters('adminUsername')]\",\n+\t\t\t\t\t\"adminPassword\": \"[parameters('adminPassword')]\"\n+\t\t\t\t},\n+\t\t\t\t\"storageProfile\": {\n+\t\t\t\t\t\"imageReference\": {\n+\t\t\t\t\t\t\"publisher\": \"[parameters('witnessImagePublisher')]\",\n+\t\t\t\t\t\t\"offer\": \"[parameters('witnessImageOffer')]\",\n+\t\t\t\t\t\t\"sku\": \"[parameters('witnessImageSKU')]\",\n+\t\t\t\t\t\t\"version\": \"latest\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"osDisk\": {\n+\t\t\t\t\t\t\"name\": \"osdisk\",\n+\t\t\t\t\t\t\"vhd\": {\n+\t\t\t\t\t\t\t\"uri\": \"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmContainerName'),'/',variables('sqlwVMName'),'-osdisk.vhd')]\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"caching\": \"ReadWrite\",\n+\t\t\t\t\t\t\"createOption\": \"FromImage\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"dataDisks\": [\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\"vhd\": {\n+\t\t\t\t\t\t\t\t\"uri\":\"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmContainerName'),'/', variables('sqlwVMName'),'-data-1.vhd')]\"\n+\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\"name\":\"[concat(variables('sqlwVMName'),'-data-disk1')]\",\n+\t\t\t\t\t\t\t\"caching\" : \"None\",\n+\t\t\t\t\t\t\t\"createOption\": \"empty\",\n+\t\t\t\t\t\t\t\"diskSizeGB\": \"[variables('witnessDataDiskSize')]\",\n+\t\t\t\t\t\t\t\"lun\": 0\n+\t\t\t\t\t\t}\n+\t\t\t\t\t]\n+\t\t\t\t},\n+\t\t\t\t\"networkProfile\": {\n+\t\t\t\t\t\"networkInterfaces\": [\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Network/networkInterfaces',variables('sqlwNicName'))]\"\n+\t\t\t\t\t\t}\n+\t\t\t\t\t]\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"name\": \"UpdateVNetDNS2\",\n+\t\t\t\"type\": \"Microsoft.Resources/deployments\",\n+\t\t\t\"apiVersion\": \"2015-01-01\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[concat('Microsoft.Compute/virtualMachines/',variables('adBDCVMName'),'/extensions/CreateBDC')]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"mode\": \"Incremental\",\n+\t\t\t\t\"templateLink\": {\n+\t\t\t\t  \"uri\": \"[variables('vnetwithDNSTemplateUri')]\",\n+\t\t\t\t  \"contentVersion\": \"1.0.0.0\"\n+\t\t\t\t},\n+\t\t\t\t\"parameters\": {\n+\t\t\t\t\t\"location\": {\"value\":\"[parameters('location')]\"},\n+\t\t\t\t\t\"virtualNetworkName\": {\"value\":\"[parameters('virtualNetworkName')]\"},\n+\t\t\t\t\t\"virtualNetworkAddressRange\": {\"value\":\"[parameters('virtualNetworkAddressRange')]\"},\n+\t\t\t\t\t\"subnets\": {\"value\":\"[variables('subnets')]\"},\n+\t\t\t\t\t\"DNSServerAddress\": {\"value\":[\"[parameters('adPDCNICIPAddress')]\",\"[parameters('adBDCNICIPAddress')]\"]}\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"name\": \"UpdateSQLWNic\",\n+\t\t\t\"type\": \"Microsoft.Resources/deployments\",\n+\t\t\t\"apiVersion\": \"2015-01-01\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"Microsoft.Resources/deployments/UpdateVNetDNS2\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"mode\": \"Incremental\",\n+\t\t\t\t\"templateLink\": {\n+\t\t\t\t\t\"uri\": \"[variables('nicTemplateUri')]\",\n+\t\t\t\t\t\"contentVersion\": \"1.0.0.0\"\n+\t\t\t\t},\n+\t\t\t\t\"parameters\": {\n+\t\t\t\t\t\"location\": {\n+\t\t\t\t\t\t\"value\": \"[parameters('location')]\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"nicName\": {\n+\t\t\t\t\t\t\"value\": \"[variables('sqlwNicName')]\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"ipConfigurations\": {\n+\t\t\t\t\t\t\"value\": [\n+\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\"name\": \"ipconfig1\",\n+\t\t\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\t\t\"privateIPAllocationMethod\": \"Dynamic\",\n+\t\t\t\t\t\t\t\t\t\"subnet\": {\n+\t\t\t\t\t\t\t\t\t\t\"id\": \"[variables('sqlSubnetRef')]\"\n+\t\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t]\n+\t\t\t\t\t},\n+\t\t\t\t\t\"dnsServers\": {\n+\t\t\t\t\t\t\"value\": [\n+\t\t\t\t\t\t\t\t\"[parameters('adPDCNICIPAddress')]\",\"[parameters('adBDCNICIPAddress')]\"\n+\t\t\t\t\t\t]\n+\t\t\t\t\t}\n+\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"name\":  \"[concat('Update',variables('sqlVMName'), copyindex(),'-nic')]\",\n+\t\t\t\"type\": \"Microsoft.Resources/deployments\",\n+\t\t\t\"apiVersion\": \"2015-01-01\",\n+\t\t\t\"copy\": {\n+\t\t\t\t\"name\": \"sqlnicupdateLoop\",\n+\t\t\t\t\"count\": \"[variables('noOfSqlVMs')]\"\n+\t\t\t},\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"Microsoft.Resources/deployments/UpdateVNetDNS2\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"mode\": \"Incremental\",\n+\t\t\t\t\"templateLink\": {\n+\t\t\t\t\t\"uri\": \"[variables('nicTemplateUri')]\",\n+\t\t\t\t\t\"contentVersion\": \"1.0.0.0\"\n+\t\t\t\t},\n+\t\t\t\t\"parameters\": {\n+\t\t\t\t\t\"location\": {\n+\t\t\t\t\t\t\"value\": \"[parameters('location')]\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"nicName\": {\n+\t\t\t\t\t\t\"value\": \"[concat(variables('sqlVMName'), copyindex(),'-nic')]\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"ipConfigurations\": {\n+\t\t\t\t\t\t\"value\": [\n+\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\"name\": \"ipconfig1\",\n+\t\t\t\t\t\t\t\t\"properties\": {\n+\t\t\t\t\t\t\t\t\t\"privateIPAllocationMethod\": \"Dynamic\",\n+\t\t\t\t\t\t\t\t\t\"subnet\": {\n+\t\t\t\t\t\t\t\t\t\t\"id\": \"[variables('sqlSubnetRef')]\"\n+\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\"loadBalancerBackendAddressPools\": [\n+\t\t\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\t\t\"id\":\"[variables('sqlBEAddressPoolID')]\"\n+\t\t\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\t\t]\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t]\n+\t\t\t\t\t},\n+\t\t\t\t\t\"dnsServers\": {\n+\t\t\t\t\t\t\"value\": [\n+\t\t\t\t\t\t\t\t\"[parameters('adPDCNICIPAddress')]\",\"[parameters('adBDCNICIPAddress')]\"\n+\t\t\t\t\t\t]\n+\t\t\t\t\t}\n+\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"type\": \"Microsoft.Compute/virtualMachines/extensions\",\n+\t\t\t\"name\": \"[concat(variables('sqlwVMName'),'/CreateFileShareWitness')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\":[\n+\t\t\t\t\"[concat('Microsoft.Compute/virtualMachines/', variables('sqlwVMName'))]\",\n+\t\t\t\t\"Microsoft.Resources/deployments/UpdateSQLWNic\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"publisher\": \"Microsoft.Powershell\",\n+\t\t\t\t\"type\": \"DSC\",\n+\t\t\t\t\"typeHandlerVersion\": \"1.7\",\n+\t\t\t\t\"settings\": {\n+\t\t\t\t\t\"ModulesUrl\": \"[variables('fswModulesURL')]\",\n+\t\t\t\t\t\"ConfigurationFunction\": \"[variables('fswConfigurationFunction')]\",\n+\t\t\t\t\t\"Properties\": {\n+\t\t\t\t\t\t\"DomainName\": \"[parameters('domainName')]\",\n+\t\t\t\t\t\t\"SharePath\":\"[variables('sharePath')]\",\n+\t\t\t\t\t\t\"AdminCreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('adminUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:AdminPassword\"\n+\t\t\t\t\t\t}\n+\n+\t\t\t\t\t}\n+\t\t\t\t},\n+\t\t\t\t\"protectedSettings\": {\n+\t\t\t\t\t\"Items\": {\n+\t\t\t\t\t\t\"AdminPassword\": \"[parameters('adminPassword')]\"\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"type\": \"Microsoft.Compute/virtualMachines/extensions\",\n+\t\t\t\"name\": \"[concat(variables('sqlVMName'),'0/sqlAOPrepare')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\":[\n+\t\t\t\t\"[concat('Microsoft.Compute/virtualMachines/', variables('sqlVMName'),'0')]\",\n+\t\t\t\t\"[concat('Microsoft.Compute/virtualMachines/',variables('sqlwVMName'),'/extensions/CreateFileShareWitness')]\",\n+\t\t\t\t\"[concat('Microsoft.Resources/deployments/Update',variables('sqlVMName'),'0-nic')]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"publisher\": \"Microsoft.Powershell\",\n+\t\t\t\t\"type\": \"DSC\",\n+\t\t\t\t\"typeHandlerVersion\": \"1.7\",\n+\t\t\t\t\"settings\": {\n+\t\t\t\t\t\"ModulesUrl\": \"[variables('sqlAOPrepareModulesURL')]\",\n+\t\t\t\t\t\"ConfigurationFunction\": \"[variables('sqlAOPrepareConfigurationFunction')]\",\n+\t\t\t\t\t\"Properties\": {\n+\t\t\t\t\t\t\"DomainName\": \"[parameters('domainName')]\",\n+\t\t\t\t\t\t\"SqlAlwaysOnEndpointName\":\"[variables('sqlAOEPName')]\",\n+\t\t\t\t\t\t\"AdminCreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('adminUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:AdminPassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"SQLServiceCreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('sqlServerServiceAccountUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:SqlServerServiceAccountPassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"SharePointSetupUserAccountcreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('sharePointSetupUserAccountUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:SharePointSetupUserAccountPassword\"\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t},\n+\t\t\t\t\"protectedSettings\": {\n+\t\t\t\t\t\"Items\": {\n+\t\t\t\t\t\t\"AdminPassword\": \"[parameters('adminPassword')]\",\n+\t\t\t\t\t\t\"SqlServerServiceAccountPassword\": \"[parameters('sqlServerServiceAccountPassword')]\",\n+\t\t\t\t\t\t\"SharePointSetupUserAccountPassword\": \"[parameters('sharePointSetupUserAccountPassword')]\"\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"type\": \"Microsoft.Compute/virtualMachines/extensions\",\n+\t\t\t\"name\": \"[concat(variables('sqlVMName'),'1/CreateCluster')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\":[\n+\t\t\t\t\"[concat('Microsoft.Compute/virtualMachines/', variables('sqlVMName'),'1')]\",\n+\t\t\t\t\"[concat('Microsoft.Compute/virtualMachines/',variables('sqlVMName'),'0/extensions/sqlAOPrepare')]\",\n+\t\t\t\t\"[concat('Microsoft.Resources/deployments/Update',variables('sqlVMName'),'1-nic')]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"publisher\": \"Microsoft.Powershell\",\n+\t\t\t\t\"type\": \"DSC\",\n+\t\t\t\t\"typeHandlerVersion\": \"1.7\",\n+\t\t\t\t\"settings\": {\n+\t\t\t\t\t\"ModulesUrl\": \"[variables('createClusterModulesURL')]\",\n+\t\t\t\t\t\"ConfigurationFunction\": \"[variables('createClusterConfigurationFunction')]\",\n+\t\t\t\t\t\"Properties\": {\n+\t\t\t\t\t\t\"DomainName\": \"[parameters('domainName')]\",\n+\t\t\t\t\t\t\"ClusterName\":\"[variables('clusterName')]\",\n+\t\t\t\t\t\t\"SharePath\":\"[concat('\\\\\\\\',variables('sqlwVMName'),'\\\\',variables('sharePath'))]\",\n+\t\t\t\t\t\t\"Nodes\":[\"[concat(variables('sqlVMName'),'0')]\",\"[concat(variables('sqlVMName'),'1')]\"],\n+\t\t\t\t\t\t\"SqlAlwaysOnEndpointName\":\"[variables('sqlAOEPName')]\",\n+\t\t\t\t\t\t\"SqlAlwaysOnAvailabilityGroupName\":\"[variables('sqlAOAGName')]\",\n+\t\t\t\t\t\t\"SqlAlwaysOnAvailabilityGroupListenerName\":\"[variables('sqlAOListenerName')]\",\n+\t\t\t\t\t\t\"SqlAlwaysOnAvailabilityGroupListenerPort\":1433,\n+\t\t\t\t\t\t\"DatabaseNames\":null,\n+\t\t\t\t\t\t\"LBName\":\"[variables('sqlLBName')]\",\n+\t\t\t\t\t\t\"LBAddress\":\"[parameters('sqlLBIPAddress')]\",\n+\t\t\t\t\t\t\"PrimaryReplica\":\"[concat(variables('sqlVMName'),'1')]\",\n+\t\t\t\t\t\t\"SecondaryReplica\":\"[concat(variables('sqlVMName'),'0')]\",\n+\t\t\t\t\t\t\"DNSServerName\":\"[variables('adPDCVMName')]\",\n+\t\t\t\t\t\t\"AdminCreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('adminUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:AdminPassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"SQLServiceCreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('sqlServerServiceAccountUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:SqlServerServiceAccountPassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"SharePointSetupUserAccountcreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('sharePointSetupUserAccountUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:SharePointSetupUserAccountPassword\"\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t},\n+\t\t\t\t\"protectedSettings\": {\n+\t\t\t\t\t\"Items\": {\n+\t\t\t\t\t\t\"AdminPassword\": \"[parameters('adminPassword')]\",\n+\t\t\t\t\t\t\"SqlServerServiceAccountPassword\": \"[parameters('sqlServerServiceAccountPassword')]\",\n+\t\t\t\t\t\t\"SharePointSetupUserAccountPassword\": \"[parameters('sharePointSetupUserAccountPassword')]\"\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"type\": \"Microsoft.Compute/virtualMachines\",\n+\t\t\t\"name\": \"[concat(variables('spWebVMName'), copyindex())]\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"copy\": {\n+\t\t\t\t\"name\": \"spWebVMLoop\",\n+\t\t\t\t\"count\": \"[variables('noOfspWebVMs')]\"\n+\t\t\t},\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[resourceId('Microsoft.Storage/storageAccounts',parameters('newStorageAccountName'))]\",\n+\t\t\t\t\"[resourceId('Microsoft.Network/networkInterfaces',concat(variables('spWebVMName'), copyindex(),'-nic'))]\",\n+\t\t\t\t\"[resourceId('Microsoft.Compute/availabilitySets', variables('spWebAvailabilitySetName'))]\",\n+\t\t\t\t\"Microsoft.Resources/deployments/UpdateVNetDNS2\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"hardwareProfile\": {\n+\t\t\t\t\t\"vmSize\": \"[parameters('spVMSize')]\"\n+\t\t\t\t},\n+\t\t\t\t\"availabilitySet\": {\n+\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Compute/availabilitySets', variables('spWebAvailabilitySetName'))]\"\n+\t\t\t\t},\n+\t\t\t\t\"osProfile\": {\n+\t\t\t\t\t\"computername\": \"[concat(variables('spWebVMName'), copyindex())]\",\n+\t\t\t\t\t\"adminUsername\": \"[parameters('adminUsername')]\",\n+\t\t\t\t\t\"adminPassword\": \"[parameters('adminPassword')]\"\n+\t\t\t\t},\n+\t\t\t\t\"storageProfile\": {\n+\t\t\t\t\t\"imageReference\": {\n+\t\t\t\t\t\t\"publisher\": \"[parameters('spImagePublisher')]\",\n+\t\t\t\t\t\t\"offer\": \"[parameters('spImageOffer')]\",\n+\t\t\t\t\t\t\"sku\": \"[parameters('spImageSKU')]\",\n+\t\t\t\t\t\t\"version\": \"latest\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"osDisk\": {\n+\t\t\t\t\t\t\"name\": \"osdisk\",\n+\t\t\t\t\t\t\"vhd\": {\n+\t\t\t\t\t\t\t\"uri\": \"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmContainerName'),'/',variables('spWebVMName'), copyindex(),'-osdisk.vhd')]\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"caching\": \"ReadWrite\",\n+\t\t\t\t\t\t\"createOption\": \"FromImage\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"dataDisks\": [\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\"vhd\": {\n+\t\t\t\t\t\t\t\t\"uri\":\"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmContainerName'),'/', variables('spWebVMName'), copyindex(), '-Data-1.vhd')]\"\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\"name\":\"[concat(variables('spWebVMName'), copyindex(),'-data-disk1')]\",\n+\t\t\t\t\t\t\t\"caching\" : \"None\",\n+\t\t\t\t\t\t\t\"createOption\": \"empty\",\n+\t\t\t\t\t\t\t\"diskSizeGB\": \"[variables('spDataDiskSize')]\",\n+\t\t\t\t\t\t\t\"lun\": 0\n+\t\t\t\t\t\t}\n+\t\t\t\t\t]\n+\t\t\t\t},\n+\t\t\t\t\"networkProfile\": {\n+\t\t\t\t\t\"networkInterfaces\": [\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Network/networkInterfaces',concat(variables('spWebVMName'), copyindex(),'-nic'))]\"\n+\t\t\t\t\t\t}\n+\t\t\t\t\t]\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"type\": \"Microsoft.Compute/virtualMachines\",\n+\t\t\t\"name\": \"[concat(variables('spAppVMName'), copyindex())]\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"copy\": {\n+\t\t\t\t\"name\": \"spAppVMLoop\",\n+\t\t\t\t\"count\": \"[variables('noOfspAppVMs')]\"\n+\t\t\t},\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[resourceId('Microsoft.Storage/storageAccounts',parameters('newStorageAccountName'))]\",\n+\t\t\t\t\"[resourceId('Microsoft.Network/networkInterfaces',concat(variables('spAppVMName'), copyindex(),'-nic'))]\",\n+\t\t\t\t\"[resourceId('Microsoft.Compute/availabilitySets', variables('spAppAvailabilitySetName'))]\",\n+\t\t\t\t\"Microsoft.Resources/deployments/UpdateVNetDNS2\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"hardwareProfile\": {\n+\t\t\t\t\t\"vmSize\": \"[parameters('spVMSize')]\"\n+\t\t\t\t},\n+\t\t\t\t\"availabilitySet\": {\n+\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Compute/availabilitySets', variables('spAppAvailabilitySetName'))]\"\n+\t\t\t\t},\n+\t\t\t\t\"osProfile\": {\n+\t\t\t\t\t\"computername\": \"[concat(variables('spAppVMName'), copyindex())]\",\n+\t\t\t\t\t\"adminUsername\": \"[parameters('adminUsername')]\",\n+\t\t\t\t\t\"adminPassword\": \"[parameters('adminPassword')]\"\n+\t\t\t\t},\n+\t\t\t\t\"storageProfile\": {\n+\t\t\t\t\t\"imageReference\": {\n+\t\t\t\t\t\t\"publisher\": \"[parameters('spImagePublisher')]\",\n+\t\t\t\t\t\t\"offer\": \"[parameters('spImageOffer')]\",\n+\t\t\t\t\t\t\"sku\": \"[parameters('spImageSKU')]\",\n+\t\t\t\t\t\t\"version\": \"latest\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"osDisk\": {\n+\t\t\t\t\t\t\"name\": \"osdisk\",\n+\t\t\t\t\t\t\"vhd\": {\n+\t\t\t\t\t\t\t\"uri\": \"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmContainerName'),'/',variables('spAppVMName'), copyindex(),'-osdisk.vhd')]\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"caching\": \"ReadWrite\",\n+\t\t\t\t\t\t\"createOption\": \"FromImage\"\n+\t\t\t\t\t},\n+\t\t\t\t\t\"dataDisks\": [\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\"vhd\": {\n+\t\t\t\t\t\t\t\t\"uri\":\"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmContainerName'),'/', variables('spAppVMName'), copyindex(), '-Data-1.vhd')]\"\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\"name\":\"[concat(variables('spAppVMName'), copyindex(),'-data-disk1')]\",\n+\t\t\t\t\t\t\t\"caching\" : \"None\",\n+\t\t\t\t\t\t\t\"createOption\": \"empty\",\n+\t\t\t\t\t\t\t\"diskSizeGB\": \"[variables('spDataDiskSize')]\",\n+\t\t\t\t\t\t\t\"lun\": 0\n+\t\t\t\t\t\t}\n+\t\t\t\t\t]\n+\t\t\t\t},\n+\t\t\t\t\"networkProfile\": {\n+\t\t\t\t\t\"networkInterfaces\": [\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\"id\": \"[resourceId('Microsoft.Network/networkInterfaces',concat(variables('spAppVMName'), copyindex(),'-nic'))]\"\n+\t\t\t\t\t\t}\n+\t\t\t\t\t]\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"type\": \"Microsoft.Compute/virtualMachines/extensions\",\n+\t\t\t\"name\": \"[concat(variables('spAppVMName'),'0/ConfigureSPAppServer')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[concat('Microsoft.Compute/virtualMachines/', variables('spAppVMName'),'0')]\",\n+\t\t\t\t\"[concat('Microsoft.Compute/virtualMachines/',variables('sqlVMName'),'1/extensions/CreateCluster')]\"\n+\t\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"publisher\": \"Microsoft.Powershell\",\n+\t\t\t\t\"type\": \"DSC\",\n+\t\t\t\t\"typeHandlerVersion\": \"1.7\",\n+\t\t\t\t\"settings\": {\n+\t\t\t\t\t\"ModulesUrl\": \"[variables('spModulesURL')]\",\n+\t\t\t\t\t\"ConfigurationFunction\": \"[variables('spConfigurationFunction')]\",\n+\t\t\t\t\t\"Properties\": {\n+\t\t\t\t\t\t\"DomainName\": \"[parameters('domainName')]\",\n+\t\t\t\t\t\t\"AdminCreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('adminUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:AdminPassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"SharePointSetupUserAccountcreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('sharePointSetupUserAccountUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:SharePointSetupUserAccountPassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"SharePointFarmAccountcreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('sharePointFarmAccountUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:SharePointFarmAccountPassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"SharePointFarmPassphrasecreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"ignore\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:SharePointFarmPassphrasePassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"SQLServiceCreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('sqlServerServiceAccountUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:SqlServerServiceAccountPassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"DatabaseName\":\"[parameters('configDatabaseName')]\",\n+\t\t\t\t\t\t\"SqlAlwaysOnAvailabilityGroupName\":\"[variables('sqlAOAGName')]\",\n+\t\t\t\t\t\t\"PrimaryReplica\":\"[concat(variables('sqlVMName'),'1')]\",\n+\t\t\t\t\t\t\"SecondaryReplica\":\"[concat(variables('sqlVMName'),'0')]\",\n+\t\t\t\t\t\t\"databaseNames\":[\"[parameters('administrationContentDatabaseName')]\",\"[parameters('configDatabaseName')]\"],\n+\t\t\t\t\t\t\"AdministrationContentDatabaseName\":\"[parameters('administrationContentDatabaseName')]\",\n+\t\t\t\t\t\t\"DatabaseServer\":\"[concat(variables('sqlVMName'),'1.',parameters('domainName'))]\",\n+\t\t\t\t\t\t\"Configuration\":\"[concat('{\\\"roles\\\":[{\\\"type\\\":\\\"application\\\",\\\"properties\\\":{\\\"fqdn\\\":\\\"',reference(variables('spCAIPAddressName')).dnsSettings.fqdn,'\\\",\\\"port\\\":',variables('spCentralAdminPort'),'}}],\\\"configureForHa\\\":\\\"True\\\",\\\"loadBalancedSetProbePort\\\":',variables('spWebProbePort'),'}')]\"\n+\t\t\t\t\t}\n+\t\t\t\t},\n+\t\t\t\t\"protectedSettings\": {\n+\t\t\t\t\t\"Items\": {\n+\t\t\t\t\t\t\"AdminPassword\": \"[parameters('adminPassword')]\",\n+\t\t\t\t\t\t\"SharePointSetupUserAccountPassword\": \"[parameters('sharePointSetupUserAccountPassword')]\",\n+\t\t\t\t\t\t\"SharePointFarmAccountPassword\": \"[parameters('sharePointFarmAccountPassword')]\",\n+\t\t\t\t\t\t\"SharePointFarmPassphrasePassword\": \"[parameters('sharePointFarmPassphrasePassword')]\",\n+\t\t\t\t\t\t\"SqlServerServiceAccountPassword\": \"[parameters('sqlServerServiceAccountPassword')]\"\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t}\n+\t\t},\n+\t\t{\n+\t\t\t\"type\": \"Microsoft.Compute/virtualMachines/extensions\",\n+\t\t\t\"name\": \"[concat(variables('spAppVMName'),'1/ConfigureSPAppServer')]\",\n+\t\t\t\"apiVersion\": \"2015-05-01-preview\",\n+\t\t\t\"location\": \"[parameters('location')]\",\n+\t\t\t\"dependsOn\": [\n+\t\t\t\t\"[concat('Microsoft.Compute/virtualMachines/', variables('spAppVMName'),'1')]\",\n+\t\t\t\t\"[concat('Microsoft.Compute/virtualMachines/', variables('spAppVMName'),'0/extensions/ConfigureSPAppServer')]\"\n+\t\t\t],\n+\t\t\t\"properties\": {\n+\t\t\t\t\"publisher\": \"Microsoft.Powershell\",\n+\t\t\t\t\"type\": \"DSC\",\n+\t\t\t\t\"typeHandlerVersion\": \"1.7\",\n+\t\t\t\t\"settings\": {\n+\t\t\t\t\t\"ModulesUrl\": \"[variables('spModulesURL')]\",\n+\t\t\t\t\t\"ConfigurationFunction\": \"[variables('spConfigurationFunction')]\",\n+\t\t\t\t\t\"Properties\": {\n+\t\t\t\t\t\t\"DomainName\": \"[parameters('domainName')]\",\n+\t\t\t\t\t\t\"AdminCreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('adminUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:AdminPassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"SharePointSetupUserAccountcreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('sharePointSetupUserAccountUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:SharePointSetupUserAccountPassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"SharePointFarmAccountcreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('sharePointFarmAccountUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:SharePointFarmAccountPassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"SharePointFarmPassphrasecreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"ignore\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:SharePointFarmPassphrasePassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"SQLServiceCreds\":{\n+\t\t\t\t\t\t\t\"UserName\": \"[parameters('sqlServerServiceAccountUserName')]\",\n+\t\t\t\t\t\t\t\"Password\": \"PrivateSettingsRef:SqlServerServiceAccountPassword\"\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"DatabaseName\":\"[parameters('configDatabaseName')]\",\n+\t\t\t\t\t\t\"AdministrationContentDatabaseName\":\"[parameters('administrationContentDatabaseName')]\",\n+\t\t\t\t\t\t\"DatabaseServer\":\"[concat(variables('sqlVMName'),'1.',parameters('domainName'))]\",\n+\t\t\t\t\t\t\"SqlAlwaysOnAvailabilityGroupName\":\"[variables('sqlAOAGName')]\",\n+\t\t\t\t\t\t\"PrimaryReplica\":\"[concat(variables('sqlVMName'),'1')]\",\n+\t\t\t\t\t\t\"SecondaryReplica\":\"[concat(variables('sqlVMName'),'0')]\",\n+\t\t\t\t\t\t\"databaseNames\":null,","path":"sharepoint-server-farm-ha/azuredeploy.json","position":1851,"original_position":1851,"commit_id":"2981f6194a275ad0cbe7bd493e29552ac1f7264d","original_commit_id":"2981f6194a275ad0cbe7bd493e29552ac1f7264d","user":{"login":"simongdavies","id":1397489,"avatar_url":"https://avatars.githubusercontent.com/u/1397489?v=3","gravatar_id":"","url":"https://api.github.com/users/simongdavies","html_url":"https://github.com/simongdavies","followers_url":"https://api.github.com/users/simongdavies/followers","following_url":"https://api.github.com/users/simongdavies/following{/other_user}","gists_url":"https://api.github.com/users/simongdavies/gists{/gist_id}","starred_url":"https://api.github.com/users/simongdavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simongdavies/subscriptions","organizations_url":"https://api.github.com/users/simongdavies/orgs","repos_url":"https://api.github.com/users/simongdavies/repos","events_url":"https://api.github.com/users/simongdavies/events{/privacy}","received_events_url":"https://api.github.com/users/simongdavies/received_events","type":"User","site_admin":false},"body":"Same issue as the previous null argument","created_at":"2015-05-07T07:18:29Z","updated_at":"2015-05-07T07:18:29Z","html_url":"https://github.com/Azure/azure-quickstart-templates/pull/238#discussion_r29829375","pull_request_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/238","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments/29829375"},"html":{"href":"https://github.com/Azure/azure-quickstart-templates/pull/238#discussion_r29829375"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/238"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/238","id":34831766,"html_url":"https://github.com/Azure/azure-quickstart-templates/pull/238","diff_url":"https://github.com/Azure/azure-quickstart-templates/pull/238.diff","patch_url":"https://github.com/Azure/azure-quickstart-templates/pull/238.patch","issue_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/238","number":238,"state":"open","locked":false,"title":"Added new Sharepoint HA template","user":{"login":"simongdavies","id":1397489,"avatar_url":"https://avatars.githubusercontent.com/u/1397489?v=3","gravatar_id":"","url":"https://api.github.com/users/simongdavies","html_url":"https://github.com/simongdavies","followers_url":"https://api.github.com/users/simongdavies/followers","following_url":"https://api.github.com/users/simongdavies/following{/other_user}","gists_url":"https://api.github.com/users/simongdavies/gists{/gist_id}","starred_url":"https://api.github.com/users/simongdavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simongdavies/subscriptions","organizations_url":"https://api.github.com/users/simongdavies/orgs","repos_url":"https://api.github.com/users/simongdavies/repos","events_url":"https://api.github.com/users/simongdavies/events{/privacy}","received_events_url":"https://api.github.com/users/simongdavies/received_events","type":"User","site_admin":false},"body":"Added a new template that deploys a 9 VM HA Sharepoint farm","created_at":"2015-05-06T15:57:52Z","updated_at":"2015-05-07T07:18:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db98792f795743c5f50a2b48bd5189ea598a6117","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/238/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/238/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/238/comments","statuses_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/statuses/2981f6194a275ad0cbe7bd493e29552ac1f7264d","head":{"label":"simongdavies:master","ref":"master","sha":"2981f6194a275ad0cbe7bd493e29552ac1f7264d","user":{"login":"simongdavies","id":1397489,"avatar_url":"https://avatars.githubusercontent.com/u/1397489?v=3","gravatar_id":"","url":"https://api.github.com/users/simongdavies","html_url":"https://github.com/simongdavies","followers_url":"https://api.github.com/users/simongdavies/followers","following_url":"https://api.github.com/users/simongdavies/following{/other_user}","gists_url":"https://api.github.com/users/simongdavies/gists{/gist_id}","starred_url":"https://api.github.com/users/simongdavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simongdavies/subscriptions","organizations_url":"https://api.github.com/users/simongdavies/orgs","repos_url":"https://api.github.com/users/simongdavies/repos","events_url":"https://api.github.com/users/simongdavies/events{/privacy}","received_events_url":"https://api.github.com/users/simongdavies/received_events","type":"User","site_admin":false},"repo":{"id":34760739,"name":"azure-quickstart-templates","full_name":"simongdavies/azure-quickstart-templates","owner":{"login":"simongdavies","id":1397489,"avatar_url":"https://avatars.githubusercontent.com/u/1397489?v=3","gravatar_id":"","url":"https://api.github.com/users/simongdavies","html_url":"https://github.com/simongdavies","followers_url":"https://api.github.com/users/simongdavies/followers","following_url":"https://api.github.com/users/simongdavies/following{/other_user}","gists_url":"https://api.github.com/users/simongdavies/gists{/gist_id}","starred_url":"https://api.github.com/users/simongdavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simongdavies/subscriptions","organizations_url":"https://api.github.com/users/simongdavies/orgs","repos_url":"https://api.github.com/users/simongdavies/repos","events_url":"https://api.github.com/users/simongdavies/events{/privacy}","received_events_url":"https://api.github.com/users/simongdavies/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simongdavies/azure-quickstart-templates","description":"Azure Quickstart Templates","fork":true,"url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates","forks_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/forks","keys_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/teams","hooks_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/hooks","issue_events_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/issues/events{/number}","events_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/events","assignees_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/assignees{/user}","branches_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/branches{/branch}","tags_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/tags","blobs_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/statuses/{sha}","languages_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/languages","stargazers_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/stargazers","contributors_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/contributors","subscribers_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/subscribers","subscription_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/subscription","commits_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/contents/{+path}","compare_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/merges","archive_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/downloads","issues_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/issues{/number}","pulls_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/pulls{/number}","milestones_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/milestones{/number}","notifications_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/labels{/name}","releases_url":"https://api.github.com/repos/simongdavies/azure-quickstart-templates/releases{/id}","created_at":"2015-04-28T23:09:47Z","updated_at":"2015-05-06T15:56:05Z","pushed_at":"2015-05-06T15:56:05Z","git_url":"git://github.com/simongdavies/azure-quickstart-templates.git","ssh_url":"git@github.com:simongdavies/azure-quickstart-templates.git","clone_url":"https://github.com/simongdavies/azure-quickstart-templates.git","svn_url":"https://github.com/simongdavies/azure-quickstart-templates","homepage":null,"size":10580,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"363f8f6a52cd41a7acde5062bfe1e3e4daa4f984","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":34407651,"name":"azure-quickstart-templates","full_name":"Azure/azure-quickstart-templates","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-quickstart-templates","description":"Azure Quickstart Templates","fork":false,"url":"https://api.github.com/repos/Azure/azure-quickstart-templates","forks_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/forks","keys_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/teams","hooks_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/events","assignees_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/tags","blobs_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/subscription","commits_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/merges","archive_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/downloads","issues_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/releases{/id}","created_at":"2015-04-22T18:19:03Z","updated_at":"2015-05-06T21:46:24Z","pushed_at":"2015-05-07T02:50:10Z","git_url":"git://github.com/Azure/azure-quickstart-templates.git","ssh_url":"git@github.com:Azure/azure-quickstart-templates.git","clone_url":"https://github.com/Azure/azure-quickstart-templates.git","svn_url":"https://github.com/Azure/azure-quickstart-templates","homepage":null,"size":13703,"stargazers_count":24,"watchers_count":24,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":4,"forks":57,"open_issues":4,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/238"},"html":{"href":"https://github.com/Azure/azure-quickstart-templates/pull/238"},"issue":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/238"},"comments":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/238/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/238/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/238/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/statuses/2981f6194a275ad0cbe7bd493e29552ac1f7264d"}}}}