From 68e42e68cfb47675a5b0c46612a0107663881243 Mon Sep 17 00:00:00 2001 From: staleycyn <45440075+staleycyn@users.noreply.github.com> Date: Fri, 1 Mar 2024 13:18:24 -0800 Subject: [PATCH] Delete Allfiles/04/az104-04-vms-loop-template.json --- Allfiles/04/az104-04-vms-loop-template.json | 162 -------------------- 1 file changed, 162 deletions(-) delete mode 100644 Allfiles/04/az104-04-vms-loop-template.json diff --git a/Allfiles/04/az104-04-vms-loop-template.json b/Allfiles/04/az104-04-vms-loop-template.json deleted file mode 100644 index 628c5e6e..00000000 --- a/Allfiles/04/az104-04-vms-loop-template.json +++ /dev/null @@ -1,162 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "vmSize": { - "type": "string", - "defaultValue": "Standard_D2s_v3", - "metadata": { - "description": "VM size" - } - }, - "vmName": { - "type": "string", - "defaultValue": "az104-04-vm", - "metadata": { - "description": "VM name Prefix" - } - }, - "vmCount": { - "type": "int", - "defaultValue": 2, - "metadata": { - "description": "Number of VMs" - } - }, - "adminUsername": { - "type": "string", - "metadata": { - "description": "Admin username" - } - }, - "adminPassword": { - "type": "securestring", - "metadata": { - "description": "Admin password" - } - }, - "virtualNetworkName": { - "type": "string", - "defaultValue": "az104-04-vnet1", - "metadata": { - "description": "Virtual network name" - } - } - }, - "variables": { - "nic": "az104-04-nic", - "virtualNetworkName": "[parameters('virtualNetworkName')]", - "subnetName": "subnet", - "subnet0Name": "subnet0", - "subnet1Name": "subnet1", - "computeApiVersion": "2018-06-01", - "networkApiVersion": "2018-08-01" - }, - "resources": [ - { - "name": "[concat(parameters('vmName'),copyIndex())]", - "copy": { - "name": "VMcopy", - "count": "[parameters('vmCount')]" - }, - "type": "Microsoft.Compute/virtualMachines", - "apiVersion": "[variables('computeApiVersion')]", - "location": "[resourceGroup().location]", - "comments": "Creating VMs", - "dependsOn": [ - "[concat(variables('nic'),copyIndex())]" - ], - "properties": { - "osProfile": { - "computerName": "[concat(parameters('vmName'),copyIndex())]", - "adminUsername": "[parameters('adminUsername')]", - "adminPassword": "[parameters('adminPassword')]", - "windowsConfiguration": { - "provisionVmAgent": "true" - } - }, - "hardwareProfile": { - "vmSize": "[parameters('vmSize')]" - }, - "storageProfile": { - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2019-Datacenter", - "version": "latest" - }, - "osDisk": { - "createOption": "fromImage" - }, - "dataDisks": [] - }, - "networkProfile": { - "networkInterfaces": [ - { - "properties": { - "primary": true - }, - "id": "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('nic'),copyIndex()))]" - } - ] - } - } - }, - { - "type": "Microsoft.Network/virtualNetworks", - "name": "[variables('virtualNetworkName')]", - "apiVersion": "[variables('networkApiVersion')]", - "location": "[resourceGroup().location]", - "comments": "Virtual Network", - "properties": { - "addressSpace": { - "addressPrefixes": [ - "10.40.0.0/22" - ] - }, - "subnets": [ - { - "name": "[variables('subnet0Name')]", - "properties": { - "addressPrefix": "10.40.0.0/24" - } - }, - { - "name": "[variables('subnet1Name')]", - "properties": { - "addressPrefix": "10.40.1.0/24" - } - } - ] - } - }, - { - "name": "[concat(variables('nic'),copyIndex())]", - "copy":{ - "name": "nicCopy", - "count": "[parameters('vmCount')]" - }, - "type": "Microsoft.Network/networkInterfaces", - "apiVersion": "[variables('networkApiVersion')]", - "location": "[resourceGroup().location]", - "comments": "Primary NIC", - "dependsOn": [ - "[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]" - ], - "properties": { - "ipConfigurations": [ - { - "name": "ipconfig1", - "properties": { - "subnet": { - "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', variables('virtualNetworkName'), concat(variables('subnetName'),copyIndex()))]" - }, - "privateIPAllocationMethod":"Dynamic" - } - } - ] - } - } - ], - "outputs": {} -}