Skip to content

Instantly share code, notes, and snippets.

@tomaustin700
Created May 11, 2019 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomaustin700/55e0ad640f58c0dde4d809e18fe6c8ab to your computer and use it in GitHub Desktop.
Save tomaustin700/55e0ad640f58c0dde4d809e18fe6c8ab to your computer and use it in GitHub Desktop.
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"virtualMachines_DC_name": {
"defaultValue": "DC",
"type": "String"
},
"virtualMachines_ADS_name": {
"defaultValue": "ADS",
"type": "String"
},
"virtualMachines_Haproxy_name": {
"defaultValue": "Haproxy",
"type": "String"
},
"networkInterfaces_dc772_name": {
"defaultValue": "dc772",
"type": "String"
},
"publicIPAddresses_DC_ip_name": {
"defaultValue": "DC-ip",
"type": "String"
},
"networkInterfaces_ads622_name": {
"defaultValue": "ads622",
"type": "String"
},
"publicIPAddresses_ADS_ip_name": {
"defaultValue": "ADS-ip",
"type": "String"
},
"storageAccounts_tfshapdiag_name": {
"defaultValue": "tfshapdiag",
"type": "String"
},
"networkInterfaces_apache597_name": {
"defaultValue": "apache597",
"type": "String"
},
"networkInterfaces_haproxy27_name": {
"defaultValue": "haproxy27",
"type": "String"
},
"publicIPAddresses_apache_ip_name": {
"defaultValue": "apache-ip",
"type": "String"
},
"virtualNetworks_TFSHAP_vnet_name": {
"defaultValue": "TFSHAP-vnet",
"type": "String"
},
"networkSecurityGroups_DC_nsg_name": {
"defaultValue": "DC-nsg",
"type": "String"
},
"publicIPAddresses_Haproxy_ip_name": {
"defaultValue": "Haproxy-ip",
"type": "String"
},
"virtualMachines_apachereverse_name": {
"defaultValue": "apachereverse",
"type": "String"
},
"networkSecurityGroups_ADS_nsg_name": {
"defaultValue": "ADS-nsg",
"type": "String"
},
"virtualNetworks_TFSHAPvnet318_name": {
"defaultValue": "TFSHAPvnet318",
"type": "String"
},
"virtualNetworks_TFSHAPvnet825_name": {
"defaultValue": "TFSHAPvnet825",
"type": "String"
},
"storageAccounts_tfshapdiag520_name": {
"defaultValue": "tfshapdiag520",
"type": "String"
},
"storageAccounts_tfshapdiag698_name": {
"defaultValue": "tfshapdiag698",
"type": "String"
},
"networkSecurityGroups_apache_nsg_name": {
"defaultValue": "apache-nsg",
"type": "String"
},
"networkSecurityGroups_Haproxy_nsg_name": {
"defaultValue": "Haproxy-nsg",
"type": "String"
},
"schedules_shutdown_computevm_dc_name": {
"defaultValue": "shutdown-computevm-dc",
"type": "String"
},
"networkInterfaces_apachereverse186_name": {
"defaultValue": "apachereverse186",
"type": "String"
},
"publicIPAddresses_apachereverse_ip_name": {
"defaultValue": "apachereverse-ip",
"type": "String"
},
"schedules_shutdown_computevm_ads_name": {
"defaultValue": "shutdown-computevm-ads",
"type": "String"
},
"schedules_shutdown_computevm_haproxy_name": {
"defaultValue": "shutdown-computevm-haproxy",
"type": "String"
},
"networkSecurityGroups_apachereverse_nsg_name": {
"defaultValue": "apachereverse-nsg",
"type": "String"
},
"schedules_shutdown_computevm_apachereverse_name": {
"defaultValue": "shutdown-computevm-apachereverse",
"type": "String"
},
"disks_apache_disk1_9b91fbdab03a4488b227936502e1bb04_name": {
"defaultValue": "apache_disk1_9b91fbdab03a4488b227936502e1bb04",
"type": "String"
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.Compute/disks",
"apiVersion": "2018-06-01",
"name": "[parameters('disks_apache_disk1_9b91fbdab03a4488b227936502e1bb04_name')]",
"location": "southcentralus",
"sku": {
"name": "Premium_LRS",
"tier": "Premium"
},
"properties": {
"osType": "Linux",
"creationData": {
"createOption": "FromImage",
"imageReference": {
"id": "/Subscriptions/659b786f-af30-490d-b93e-5b737a6f6d81/Providers/Microsoft.Compute/Locations/southcentralus/Publishers/canonical/ArtifactTypes/VMImage/Offers/ubuntuserver/Skus/18.04-lts/Versions/18.04.201904170"
}
},
"diskSizeGB": 30,
"diskIOPSReadWrite": 120,
"diskMBpsReadWrite": 25
}
},
{
"type": "Microsoft.Network/networkSecurityGroups",
"apiVersion": "2018-12-01",
"name": "[parameters('networkSecurityGroups_ADS_nsg_name')]",
"location": "ukwest",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "32d43121-2e18-4d06-80e2-161707e53d6e",
"securityRules": [
{
"name": "RDP",
"etag": "W/\"7d4ca7d3-12fa-43aa-a4d2-77bd9381f7cf\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "TCP",
"sourcePortRange": "*",
"destinationPortRange": "3389",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 300,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "Port_80",
"etag": "W/\"7d4ca7d3-12fa-43aa-a4d2-77bd9381f7cf\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "80",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 310,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
}
],
"defaultSecurityRules": [
{
"name": "AllowVnetInBound",
"etag": "W/\"7d4ca7d3-12fa-43aa-a4d2-77bd9381f7cf\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow inbound traffic from all VMs in VNET",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "VirtualNetwork",
"destinationAddressPrefix": "VirtualNetwork",
"access": "Allow",
"priority": 65000,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowAzureLoadBalancerInBound",
"etag": "W/\"7d4ca7d3-12fa-43aa-a4d2-77bd9381f7cf\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow inbound traffic from azure load balancer",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "AzureLoadBalancer",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 65001,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "DenyAllInBound",
"etag": "W/\"7d4ca7d3-12fa-43aa-a4d2-77bd9381f7cf\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Deny all inbound traffic",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Deny",
"priority": 65500,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowVnetOutBound",
"etag": "W/\"7d4ca7d3-12fa-43aa-a4d2-77bd9381f7cf\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow outbound traffic from all VMs to all VMs in VNET",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "VirtualNetwork",
"destinationAddressPrefix": "VirtualNetwork",
"access": "Allow",
"priority": 65000,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowInternetOutBound",
"etag": "W/\"7d4ca7d3-12fa-43aa-a4d2-77bd9381f7cf\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow outbound traffic from all VMs to Internet",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "Internet",
"access": "Allow",
"priority": 65001,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "DenyAllOutBound",
"etag": "W/\"7d4ca7d3-12fa-43aa-a4d2-77bd9381f7cf\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Deny all outbound traffic",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Deny",
"priority": 65500,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
}
]
}
},
{
"type": "Microsoft.Network/networkSecurityGroups",
"apiVersion": "2018-12-01",
"name": "[parameters('networkSecurityGroups_apache_nsg_name')]",
"location": "southcentralus",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "730410a4-dd4c-4074-925b-4a8e78bf6808",
"securityRules": [
{
"name": "Port_22",
"etag": "W/\"844507f0-b77b-43a6-a8d7-26851954073a\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "22",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 100,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "Port_80",
"etag": "W/\"844507f0-b77b-43a6-a8d7-26851954073a\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "80",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 110,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
}
],
"defaultSecurityRules": [
{
"name": "AllowVnetInBound",
"etag": "W/\"844507f0-b77b-43a6-a8d7-26851954073a\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow inbound traffic from all VMs in VNET",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "VirtualNetwork",
"destinationAddressPrefix": "VirtualNetwork",
"access": "Allow",
"priority": 65000,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowAzureLoadBalancerInBound",
"etag": "W/\"844507f0-b77b-43a6-a8d7-26851954073a\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow inbound traffic from azure load balancer",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "AzureLoadBalancer",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 65001,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "DenyAllInBound",
"etag": "W/\"844507f0-b77b-43a6-a8d7-26851954073a\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Deny all inbound traffic",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Deny",
"priority": 65500,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowVnetOutBound",
"etag": "W/\"844507f0-b77b-43a6-a8d7-26851954073a\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow outbound traffic from all VMs to all VMs in VNET",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "VirtualNetwork",
"destinationAddressPrefix": "VirtualNetwork",
"access": "Allow",
"priority": 65000,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowInternetOutBound",
"etag": "W/\"844507f0-b77b-43a6-a8d7-26851954073a\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow outbound traffic from all VMs to Internet",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "Internet",
"access": "Allow",
"priority": 65001,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "DenyAllOutBound",
"etag": "W/\"844507f0-b77b-43a6-a8d7-26851954073a\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Deny all outbound traffic",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Deny",
"priority": 65500,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
}
]
}
},
{
"type": "Microsoft.Network/networkSecurityGroups",
"apiVersion": "2018-12-01",
"name": "[parameters('networkSecurityGroups_apachereverse_nsg_name')]",
"location": "westeurope",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "a788b7b1-e56a-4862-b625-021f71d7c4a6",
"securityRules": [
{
"name": "SSH",
"etag": "W/\"99f1c7d8-93fc-4f36-8781-4b03ca1c2457\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "TCP",
"sourcePortRange": "*",
"destinationPortRange": "22",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 300,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "Port_80",
"etag": "W/\"99f1c7d8-93fc-4f36-8781-4b03ca1c2457\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "80",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 310,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
}
],
"defaultSecurityRules": [
{
"name": "AllowVnetInBound",
"etag": "W/\"99f1c7d8-93fc-4f36-8781-4b03ca1c2457\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow inbound traffic from all VMs in VNET",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "VirtualNetwork",
"destinationAddressPrefix": "VirtualNetwork",
"access": "Allow",
"priority": 65000,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowAzureLoadBalancerInBound",
"etag": "W/\"99f1c7d8-93fc-4f36-8781-4b03ca1c2457\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow inbound traffic from azure load balancer",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "AzureLoadBalancer",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 65001,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "DenyAllInBound",
"etag": "W/\"99f1c7d8-93fc-4f36-8781-4b03ca1c2457\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Deny all inbound traffic",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Deny",
"priority": 65500,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowVnetOutBound",
"etag": "W/\"99f1c7d8-93fc-4f36-8781-4b03ca1c2457\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow outbound traffic from all VMs to all VMs in VNET",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "VirtualNetwork",
"destinationAddressPrefix": "VirtualNetwork",
"access": "Allow",
"priority": 65000,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowInternetOutBound",
"etag": "W/\"99f1c7d8-93fc-4f36-8781-4b03ca1c2457\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow outbound traffic from all VMs to Internet",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "Internet",
"access": "Allow",
"priority": 65001,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "DenyAllOutBound",
"etag": "W/\"99f1c7d8-93fc-4f36-8781-4b03ca1c2457\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Deny all outbound traffic",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Deny",
"priority": 65500,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
}
]
}
},
{
"type": "Microsoft.Network/networkSecurityGroups",
"apiVersion": "2018-12-01",
"name": "[parameters('networkSecurityGroups_DC_nsg_name')]",
"location": "ukwest",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "8475fa6c-e285-4ee4-841b-baf0a0be13b1",
"securityRules": [
{
"name": "RDP",
"etag": "W/\"f46d580b-a229-432b-89b7-cf611e64de9a\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "TCP",
"sourcePortRange": "*",
"destinationPortRange": "3389",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 300,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
}
],
"defaultSecurityRules": [
{
"name": "AllowVnetInBound",
"etag": "W/\"f46d580b-a229-432b-89b7-cf611e64de9a\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow inbound traffic from all VMs in VNET",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "VirtualNetwork",
"destinationAddressPrefix": "VirtualNetwork",
"access": "Allow",
"priority": 65000,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowAzureLoadBalancerInBound",
"etag": "W/\"f46d580b-a229-432b-89b7-cf611e64de9a\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow inbound traffic from azure load balancer",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "AzureLoadBalancer",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 65001,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "DenyAllInBound",
"etag": "W/\"f46d580b-a229-432b-89b7-cf611e64de9a\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Deny all inbound traffic",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Deny",
"priority": 65500,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowVnetOutBound",
"etag": "W/\"f46d580b-a229-432b-89b7-cf611e64de9a\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow outbound traffic from all VMs to all VMs in VNET",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "VirtualNetwork",
"destinationAddressPrefix": "VirtualNetwork",
"access": "Allow",
"priority": 65000,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowInternetOutBound",
"etag": "W/\"f46d580b-a229-432b-89b7-cf611e64de9a\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow outbound traffic from all VMs to Internet",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "Internet",
"access": "Allow",
"priority": 65001,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "DenyAllOutBound",
"etag": "W/\"f46d580b-a229-432b-89b7-cf611e64de9a\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Deny all outbound traffic",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Deny",
"priority": 65500,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
}
]
}
},
{
"type": "Microsoft.Network/networkSecurityGroups",
"apiVersion": "2018-12-01",
"name": "[parameters('networkSecurityGroups_Haproxy_nsg_name')]",
"location": "ukwest",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "ab57a2eb-cec7-4e6f-a7ba-418c0e6f7045",
"securityRules": [
{
"name": "SSH",
"etag": "W/\"711682f9-3c80-4f0a-b219-8d1efb98d8c1\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "TCP",
"sourcePortRange": "*",
"destinationPortRange": "22",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 300,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "Port_80",
"etag": "W/\"711682f9-3c80-4f0a-b219-8d1efb98d8c1\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "80",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 310,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
}
],
"defaultSecurityRules": [
{
"name": "AllowVnetInBound",
"etag": "W/\"711682f9-3c80-4f0a-b219-8d1efb98d8c1\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow inbound traffic from all VMs in VNET",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "VirtualNetwork",
"destinationAddressPrefix": "VirtualNetwork",
"access": "Allow",
"priority": 65000,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowAzureLoadBalancerInBound",
"etag": "W/\"711682f9-3c80-4f0a-b219-8d1efb98d8c1\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow inbound traffic from azure load balancer",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "AzureLoadBalancer",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 65001,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "DenyAllInBound",
"etag": "W/\"711682f9-3c80-4f0a-b219-8d1efb98d8c1\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Deny all inbound traffic",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Deny",
"priority": 65500,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowVnetOutBound",
"etag": "W/\"711682f9-3c80-4f0a-b219-8d1efb98d8c1\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow outbound traffic from all VMs to all VMs in VNET",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "VirtualNetwork",
"destinationAddressPrefix": "VirtualNetwork",
"access": "Allow",
"priority": 65000,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "AllowInternetOutBound",
"etag": "W/\"711682f9-3c80-4f0a-b219-8d1efb98d8c1\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Allow outbound traffic from all VMs to Internet",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "Internet",
"access": "Allow",
"priority": 65001,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"name": "DenyAllOutBound",
"etag": "W/\"711682f9-3c80-4f0a-b219-8d1efb98d8c1\"",
"properties": {
"provisioningState": "Succeeded",
"description": "Deny all outbound traffic",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "*",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Deny",
"priority": 65500,
"direction": "Outbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
}
]
}
},
{
"type": "Microsoft.Network/publicIPAddresses",
"apiVersion": "2018-12-01",
"name": "[parameters('publicIPAddresses_ADS_ip_name')]",
"location": "ukwest",
"sku": {
"name": "Basic",
"tier": "Regional"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "89c48815-43db-418a-90e7-8f4707e18d00",
"publicIPAddressVersion": "IPv4",
"publicIPAllocationMethod": "Dynamic",
"idleTimeoutInMinutes": 4,
"dnsSettings": {
"domainNameLabel": "adshaptest",
"fqdn": "adshaptest.ukwest.cloudapp.azure.com"
},
"ipTags": []
}
},
{
"type": "Microsoft.Network/publicIPAddresses",
"apiVersion": "2018-12-01",
"name": "[parameters('publicIPAddresses_apache_ip_name')]",
"location": "southcentralus",
"sku": {
"name": "Basic",
"tier": "Regional"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "0f43e589-e923-430c-bfc5-fc7a8f28e9aa",
"publicIPAddressVersion": "IPv4",
"publicIPAllocationMethod": "Dynamic",
"idleTimeoutInMinutes": 4,
"dnsSettings": {
"domainNameLabel": "adsapache",
"fqdn": "adsapache.southcentralus.cloudapp.azure.com"
},
"ipTags": []
}
},
{
"type": "Microsoft.Network/publicIPAddresses",
"apiVersion": "2018-12-01",
"name": "[parameters('publicIPAddresses_apachereverse_ip_name')]",
"location": "westeurope",
"sku": {
"name": "Basic",
"tier": "Regional"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "d8cb3ae2-2fef-4fb3-a379-af65f6f79b30",
"publicIPAddressVersion": "IPv4",
"publicIPAllocationMethod": "Dynamic",
"idleTimeoutInMinutes": 4,
"dnsSettings": {
"domainNameLabel": "adsapache",
"fqdn": "adsapache.westeurope.cloudapp.azure.com"
},
"ipTags": []
}
},
{
"type": "Microsoft.Network/publicIPAddresses",
"apiVersion": "2018-12-01",
"name": "[parameters('publicIPAddresses_DC_ip_name')]",
"location": "ukwest",
"sku": {
"name": "Basic",
"tier": "Regional"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "f515706c-8b5c-42b6-bd92-03f88607360f",
"publicIPAddressVersion": "IPv4",
"publicIPAllocationMethod": "Dynamic",
"idleTimeoutInMinutes": 4,
"ipTags": []
}
},
{
"type": "Microsoft.Network/publicIPAddresses",
"apiVersion": "2018-12-01",
"name": "[parameters('publicIPAddresses_Haproxy_ip_name')]",
"location": "ukwest",
"sku": {
"name": "Basic",
"tier": "Regional"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "ee3b0268-e4ec-4fc0-baa4-c528596a5435",
"ipAddress": "51.141.97.31",
"publicIPAddressVersion": "IPv4",
"publicIPAllocationMethod": "Dynamic",
"idleTimeoutInMinutes": 4,
"dnsSettings": {
"domainNameLabel": "adsreverse",
"fqdn": "adsreverse.ukwest.cloudapp.azure.com"
},
"ipTags": []
}
},
{
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2018-12-01",
"name": "[parameters('virtualNetworks_TFSHAP_vnet_name')]",
"location": "ukwest",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "dd05273e-a170-4b8d-81d1-23c5e3e32c37",
"addressSpace": {
"addressPrefixes": [
"10.0.2.0/24"
]
},
"subnets": [
{
"name": "default",
"etag": "W/\"4d7c8b5d-112b-46f5-8e9c-0e464925ee96\"",
"properties": {
"provisioningState": "Succeeded",
"addressPrefix": "10.0.2.0/24",
"delegations": []
}
}
],
"virtualNetworkPeerings": [],
"enableDdosProtection": false,
"enableVmProtection": false
}
},
{
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2018-12-01",
"name": "[parameters('virtualNetworks_TFSHAPvnet318_name')]",
"location": "southcentralus",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "0b115868-6a87-4223-8df5-a2b21aeff933",
"addressSpace": {
"addressPrefixes": [
"10.0.3.0/24"
]
},
"subnets": [
{
"name": "default",
"etag": "W/\"d3850901-e044-4084-943e-e1e5180d60b7\"",
"properties": {
"provisioningState": "Succeeded",
"addressPrefix": "10.0.3.0/24",
"delegations": []
}
}
],
"virtualNetworkPeerings": [],
"enableDdosProtection": false,
"enableVmProtection": false
}
},
{
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2018-12-01",
"name": "[parameters('virtualNetworks_TFSHAPvnet825_name')]",
"location": "westeurope",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "80ef6ae9-cd98-4f69-91d5-aab7ca8fd02f",
"addressSpace": {
"addressPrefixes": [
"10.0.4.0/24"
]
},
"subnets": [
{
"name": "default",
"etag": "W/\"10255e2f-5c24-44c7-bf2a-b17a1b11d94f\"",
"properties": {
"provisioningState": "Succeeded",
"addressPrefix": "10.0.4.0/24",
"delegations": []
}
}
],
"virtualNetworkPeerings": [],
"enableDdosProtection": false,
"enableVmProtection": false
}
},
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2018-07-01",
"name": "[parameters('storageAccounts_tfshapdiag_name')]",
"location": "ukwest",
"sku": {
"name": "Standard_LRS",
"tier": "Standard"
},
"kind": "Storage",
"properties": {
"networkAcls": {
"bypass": "AzureServices",
"virtualNetworkRules": [],
"ipRules": [],
"defaultAction": "Allow"
},
"supportsHttpsTrafficOnly": false,
"encryption": {
"services": {
"file": {
"enabled": true
},
"blob": {
"enabled": true
}
},
"keySource": "Microsoft.Storage"
}
}
},
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2018-07-01",
"name": "[parameters('storageAccounts_tfshapdiag520_name')]",
"location": "westeurope",
"sku": {
"name": "Standard_LRS",
"tier": "Standard"
},
"kind": "Storage",
"properties": {
"networkAcls": {
"bypass": "AzureServices",
"virtualNetworkRules": [],
"ipRules": [],
"defaultAction": "Allow"
},
"supportsHttpsTrafficOnly": false,
"encryption": {
"services": {
"file": {
"enabled": true
},
"blob": {
"enabled": true
}
},
"keySource": "Microsoft.Storage"
}
}
},
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2018-07-01",
"name": "[parameters('storageAccounts_tfshapdiag698_name')]",
"location": "southcentralus",
"sku": {
"name": "Standard_LRS",
"tier": "Standard"
},
"kind": "Storage",
"properties": {
"networkAcls": {
"bypass": "AzureServices",
"virtualNetworkRules": [],
"ipRules": [],
"defaultAction": "Allow"
},
"supportsHttpsTrafficOnly": false,
"encryption": {
"services": {
"file": {
"enabled": true
},
"blob": {
"enabled": true
}
},
"keySource": "Microsoft.Storage"
}
}
},
{
"type": "microsoft.devtestlab/schedules",
"apiVersion": "2016-05-15",
"name": "[parameters('schedules_shutdown_computevm_ads_name')]",
"location": "ukwest",
"dependsOn": [
"[resourceId('Microsoft.Compute/virtualMachines', parameters('virtualMachines_ADS_name'))]"
],
"properties": {
"status": "Enabled",
"taskType": "ComputeVmShutdownTask",
"dailyRecurrence": {
"time": "1900"
},
"timeZoneId": "UTC",
"notificationSettings": {
"status": "Disabled",
"timeInMinutes": 30
},
"targetResourceId": "[resourceId('Microsoft.Compute/virtualMachines', parameters('virtualMachines_ADS_name'))]",
"provisioningState": "Succeeded",
"uniqueIdentifier": "89b16408-f3d8-4c89-9924-ee5439892e61"
}
},
{
"type": "microsoft.devtestlab/schedules",
"apiVersion": "2016-05-15",
"name": "[parameters('schedules_shutdown_computevm_apachereverse_name')]",
"location": "westeurope",
"dependsOn": [
"[resourceId('Microsoft.Compute/virtualMachines', parameters('virtualMachines_apachereverse_name'))]"
],
"properties": {
"status": "Enabled",
"taskType": "ComputeVmShutdownTask",
"dailyRecurrence": {
"time": "1900"
},
"timeZoneId": "UTC",
"notificationSettings": {
"status": "Disabled",
"timeInMinutes": 30
},
"targetResourceId": "[resourceId('Microsoft.Compute/virtualMachines', parameters('virtualMachines_apachereverse_name'))]",
"provisioningState": "Succeeded",
"uniqueIdentifier": "cc1e7ea5-4791-427f-ab48-d7b4dcc15a22"
}
},
{
"type": "microsoft.devtestlab/schedules",
"apiVersion": "2016-05-15",
"name": "[parameters('schedules_shutdown_computevm_dc_name')]",
"location": "ukwest",
"dependsOn": [
"[resourceId('Microsoft.Compute/virtualMachines', parameters('virtualMachines_DC_name'))]"
],
"properties": {
"status": "Enabled",
"taskType": "ComputeVmShutdownTask",
"dailyRecurrence": {
"time": "1900"
},
"timeZoneId": "UTC",
"notificationSettings": {
"status": "Disabled",
"timeInMinutes": 30
},
"targetResourceId": "[resourceId('Microsoft.Compute/virtualMachines', parameters('virtualMachines_DC_name'))]",
"provisioningState": "Succeeded",
"uniqueIdentifier": "1e9e9d19-f70d-4a2b-97ed-7dccba22c613"
}
},
{
"type": "microsoft.devtestlab/schedules",
"apiVersion": "2016-05-15",
"name": "[parameters('schedules_shutdown_computevm_haproxy_name')]",
"location": "ukwest",
"dependsOn": [
"[resourceId('Microsoft.Compute/virtualMachines', parameters('virtualMachines_Haproxy_name'))]"
],
"properties": {
"status": "Enabled",
"taskType": "ComputeVmShutdownTask",
"dailyRecurrence": {
"time": "1900"
},
"timeZoneId": "UTC",
"notificationSettings": {
"status": "Disabled",
"timeInMinutes": 30
},
"targetResourceId": "[resourceId('Microsoft.Compute/virtualMachines', parameters('virtualMachines_Haproxy_name'))]",
"provisioningState": "Succeeded",
"uniqueIdentifier": "5977dbad-4c15-400d-8023-458cc01e398f"
}
},
{
"type": "Microsoft.Network/networkSecurityGroups/securityRules",
"apiVersion": "2018-12-01",
"name": "[concat(parameters('networkSecurityGroups_apache_nsg_name'), '/Port_22')]",
"dependsOn": [
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_apache_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "22",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 100,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"type": "Microsoft.Network/networkSecurityGroups/securityRules",
"apiVersion": "2018-12-01",
"name": "[concat(parameters('networkSecurityGroups_ADS_nsg_name'), '/Port_80')]",
"dependsOn": [
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_ADS_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "80",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 310,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"type": "Microsoft.Network/networkSecurityGroups/securityRules",
"apiVersion": "2018-12-01",
"name": "[concat(parameters('networkSecurityGroups_apache_nsg_name'), '/Port_80')]",
"dependsOn": [
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_apache_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "80",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 110,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"type": "Microsoft.Network/networkSecurityGroups/securityRules",
"apiVersion": "2018-12-01",
"name": "[concat(parameters('networkSecurityGroups_apachereverse_nsg_name'), '/Port_80')]",
"dependsOn": [
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_apachereverse_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "80",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 310,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"type": "Microsoft.Network/networkSecurityGroups/securityRules",
"apiVersion": "2018-12-01",
"name": "[concat(parameters('networkSecurityGroups_Haproxy_nsg_name'), '/Port_80')]",
"dependsOn": [
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_Haproxy_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"protocol": "*",
"sourcePortRange": "*",
"destinationPortRange": "80",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 310,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"type": "Microsoft.Network/networkSecurityGroups/securityRules",
"apiVersion": "2018-12-01",
"name": "[concat(parameters('networkSecurityGroups_ADS_nsg_name'), '/RDP')]",
"dependsOn": [
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_ADS_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"protocol": "TCP",
"sourcePortRange": "*",
"destinationPortRange": "3389",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 300,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"type": "Microsoft.Network/networkSecurityGroups/securityRules",
"apiVersion": "2018-12-01",
"name": "[concat(parameters('networkSecurityGroups_DC_nsg_name'), '/RDP')]",
"dependsOn": [
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_DC_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"protocol": "TCP",
"sourcePortRange": "*",
"destinationPortRange": "3389",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 300,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"type": "Microsoft.Network/networkSecurityGroups/securityRules",
"apiVersion": "2018-12-01",
"name": "[concat(parameters('networkSecurityGroups_apachereverse_nsg_name'), '/SSH')]",
"dependsOn": [
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_apachereverse_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"protocol": "TCP",
"sourcePortRange": "*",
"destinationPortRange": "22",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 300,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"type": "Microsoft.Network/networkSecurityGroups/securityRules",
"apiVersion": "2018-12-01",
"name": "[concat(parameters('networkSecurityGroups_Haproxy_nsg_name'), '/SSH')]",
"dependsOn": [
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_Haproxy_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"protocol": "TCP",
"sourcePortRange": "*",
"destinationPortRange": "22",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 300,
"direction": "Inbound",
"sourcePortRanges": [],
"destinationPortRanges": [],
"sourceAddressPrefixes": [],
"destinationAddressPrefixes": []
}
},
{
"type": "Microsoft.Network/virtualNetworks/subnets",
"apiVersion": "2018-12-01",
"name": "[concat(parameters('virtualNetworks_TFSHAP_vnet_name'), '/default')]",
"dependsOn": [
"[resourceId('Microsoft.Network/virtualNetworks', parameters('virtualNetworks_TFSHAP_vnet_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"addressPrefix": "10.0.2.0/24",
"delegations": []
}
},
{
"type": "Microsoft.Network/virtualNetworks/subnets",
"apiVersion": "2018-12-01",
"name": "[concat(parameters('virtualNetworks_TFSHAPvnet318_name'), '/default')]",
"dependsOn": [
"[resourceId('Microsoft.Network/virtualNetworks', parameters('virtualNetworks_TFSHAPvnet318_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"addressPrefix": "10.0.3.0/24",
"delegations": []
}
},
{
"type": "Microsoft.Network/virtualNetworks/subnets",
"apiVersion": "2018-12-01",
"name": "[concat(parameters('virtualNetworks_TFSHAPvnet825_name'), '/default')]",
"dependsOn": [
"[resourceId('Microsoft.Network/virtualNetworks', parameters('virtualNetworks_TFSHAPvnet825_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"addressPrefix": "10.0.4.0/24",
"delegations": []
}
},
{
"type": "Microsoft.Compute/virtualMachines",
"apiVersion": "2018-10-01",
"name": "[parameters('virtualMachines_ADS_name')]",
"location": "ukwest",
"dependsOn": [
"[resourceId('Microsoft.Network/networkInterfaces', parameters('networkInterfaces_ads622_name'))]",
"[resourceId('Microsoft.Storage/StorageAccounts', parameters('storageAccounts_tfshapdiag_name'))]"
],
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D2s_v3"
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2016-Datacenter",
"version": "latest"
},
"osDisk": {
"osType": "Windows",
"name": "[concat(parameters('virtualMachines_ADS_name'), '_OsDisk_1_92df8f585db04c648a943b4fb05d68e5')]",
"createOption": "FromImage",
"caching": "ReadWrite",
"managedDisk": {
"id": "[resourceId('Microsoft.Compute/disks', concat(parameters('virtualMachines_ADS_name'), '_OsDisk_1_92df8f585db04c648a943b4fb05d68e5'))]"
}
},
"dataDisks": []
},
"osProfile": {
"computerName": "[parameters('virtualMachines_ADS_name')]",
"adminUsername": "azureuser",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
},
"secrets": [],
"allowExtensionOperations": true
},
"networkProfile": {
"networkInterfaces": [
{
"id": "[resourceId('Microsoft.Network/networkInterfaces', parameters('networkInterfaces_ads622_name'))]"
}
]
},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "[concat('https://', parameters('storageAccounts_tfshapdiag_name'), '.blob.core.windows.net/')]"
}
}
}
},
{
"type": "Microsoft.Compute/virtualMachines",
"apiVersion": "2018-10-01",
"name": "[parameters('virtualMachines_apachereverse_name')]",
"location": "westeurope",
"dependsOn": [
"[resourceId('Microsoft.Network/networkInterfaces', parameters('networkInterfaces_apachereverse186_name'))]",
"[resourceId('Microsoft.Storage/StorageAccounts', parameters('storageAccounts_tfshapdiag520_name'))]"
],
"properties": {
"hardwareProfile": {
"vmSize": "Standard_B1ms"
},
"storageProfile": {
"imageReference": {
"publisher": "Canonical",
"offer": "UbuntuServer",
"sku": "18.04-LTS",
"version": "latest"
},
"osDisk": {
"osType": "Linux",
"name": "[concat(parameters('virtualMachines_apachereverse_name'), '_OsDisk_1_1627f26f4cf84ff096ea50e35130df34')]",
"createOption": "FromImage",
"caching": "ReadWrite",
"managedDisk": {
"id": "[resourceId('Microsoft.Compute/disks', concat(parameters('virtualMachines_apachereverse_name'), '_OsDisk_1_1627f26f4cf84ff096ea50e35130df34'))]"
}
},
"dataDisks": []
},
"osProfile": {
"computerName": "[parameters('virtualMachines_apachereverse_name')]",
"adminUsername": "azureuser",
"linuxConfiguration": {
"disablePasswordAuthentication": false,
"provisionVMAgent": true
},
"secrets": [],
"allowExtensionOperations": true
},
"networkProfile": {
"networkInterfaces": [
{
"id": "[resourceId('Microsoft.Network/networkInterfaces', parameters('networkInterfaces_apachereverse186_name'))]"
}
]
},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "[concat('https://', parameters('storageAccounts_tfshapdiag520_name'), '.blob.core.windows.net/')]"
}
}
}
},
{
"type": "Microsoft.Compute/virtualMachines",
"apiVersion": "2018-10-01",
"name": "[parameters('virtualMachines_DC_name')]",
"location": "ukwest",
"dependsOn": [
"[resourceId('Microsoft.Network/networkInterfaces', parameters('networkInterfaces_dc772_name'))]",
"[resourceId('Microsoft.Storage/StorageAccounts', parameters('storageAccounts_tfshapdiag_name'))]"
],
"properties": {
"hardwareProfile": {
"vmSize": "Standard_B1ms"
},
"storageProfile": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2012-R2-Datacenter",
"version": "latest"
},
"osDisk": {
"osType": "Windows",
"name": "[concat(parameters('virtualMachines_DC_name'), '_OsDisk_1_b239f6a2fcc04fd7892e63680c8905a8')]",
"createOption": "FromImage",
"caching": "ReadWrite",
"managedDisk": {
"id": "[resourceId('Microsoft.Compute/disks', concat(parameters('virtualMachines_DC_name'), '_OsDisk_1_b239f6a2fcc04fd7892e63680c8905a8'))]"
}
},
"dataDisks": []
},
"osProfile": {
"computerName": "[parameters('virtualMachines_DC_name')]",
"adminUsername": "azureuser",
"windowsConfiguration": {
"provisionVMAgent": true,
"enableAutomaticUpdates": true
},
"secrets": [],
"allowExtensionOperations": true
},
"networkProfile": {
"networkInterfaces": [
{
"id": "[resourceId('Microsoft.Network/networkInterfaces', parameters('networkInterfaces_dc772_name'))]"
}
]
},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "[concat('https://', parameters('storageAccounts_tfshapdiag_name'), '.blob.core.windows.net/')]"
}
}
}
},
{
"type": "Microsoft.Compute/virtualMachines",
"apiVersion": "2018-10-01",
"name": "[parameters('virtualMachines_Haproxy_name')]",
"location": "ukwest",
"dependsOn": [
"[resourceId('Microsoft.Network/networkInterfaces', parameters('networkInterfaces_haproxy27_name'))]",
"[resourceId('Microsoft.Storage/StorageAccounts', parameters('storageAccounts_tfshapdiag_name'))]"
],
"properties": {
"hardwareProfile": {
"vmSize": "Standard_B1ms"
},
"storageProfile": {
"imageReference": {
"publisher": "Canonical",
"offer": "UbuntuServer",
"sku": "18.04-LTS",
"version": "latest"
},
"osDisk": {
"osType": "Linux",
"name": "[concat(parameters('virtualMachines_Haproxy_name'), '_OsDisk_1_ab175640ce6b4871aec653ccce50ef4c')]",
"createOption": "FromImage",
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS",
"id": "[resourceId('Microsoft.Compute/disks', concat(parameters('virtualMachines_Haproxy_name'), '_OsDisk_1_ab175640ce6b4871aec653ccce50ef4c'))]"
},
"diskSizeGB": 30
},
"dataDisks": []
},
"osProfile": {
"computerName": "[parameters('virtualMachines_Haproxy_name')]",
"adminUsername": "azureuser",
"linuxConfiguration": {
"disablePasswordAuthentication": false,
"provisionVMAgent": true
},
"secrets": [],
"allowExtensionOperations": true
},
"networkProfile": {
"networkInterfaces": [
{
"id": "[resourceId('Microsoft.Network/networkInterfaces', parameters('networkInterfaces_haproxy27_name'))]"
}
]
},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "[concat('https://', parameters('storageAccounts_tfshapdiag_name'), '.blob.core.windows.net/')]"
}
}
}
},
{
"type": "Microsoft.Network/networkInterfaces",
"apiVersion": "2018-12-01",
"name": "[parameters('networkInterfaces_ads622_name')]",
"location": "ukwest",
"dependsOn": [
"[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddresses_ADS_ip_name'))]",
"[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworks_TFSHAP_vnet_name'), 'default')]",
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_ADS_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "5a3457f6-b51c-4cf8-9f5b-21c079620fde",
"ipConfigurations": [
{
"name": "ipconfig1",
"etag": "W/\"e6363ba2-e365-48d5-bc94-981b0e5cea2b\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.2.5",
"privateIPAllocationMethod": "Dynamic",
"publicIPAddress": {
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddresses_ADS_ip_name'))]"
},
"subnet": {
"id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworks_TFSHAP_vnet_name'), 'default')]"
},
"primary": true,
"privateIPAddressVersion": "IPv4"
}
}
],
"dnsSettings": {
"dnsServers": [],
"appliedDnsServers": []
},
"macAddress": "00-22-48-00-E5-C2",
"enableAcceleratedNetworking": false,
"enableIPForwarding": false,
"networkSecurityGroup": {
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_ADS_nsg_name'))]"
},
"primary": true,
"tapConfigurations": []
}
},
{
"type": "Microsoft.Network/networkInterfaces",
"apiVersion": "2018-12-01",
"name": "[parameters('networkInterfaces_apache597_name')]",
"location": "southcentralus",
"dependsOn": [
"[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddresses_apache_ip_name'))]",
"[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworks_TFSHAPvnet318_name'), 'default')]",
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_apache_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "96e699ce-2318-4d3a-a186-04d28af66dac",
"ipConfigurations": [
{
"name": "ipconfig1",
"etag": "W/\"6268b91a-e279-4b83-bd47-4351af3cec3b\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.3.4",
"privateIPAllocationMethod": "Dynamic",
"publicIPAddress": {
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddresses_apache_ip_name'))]"
},
"subnet": {
"id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworks_TFSHAPvnet318_name'), 'default')]"
},
"primary": true,
"privateIPAddressVersion": "IPv4"
}
}
],
"dnsSettings": {
"dnsServers": [],
"appliedDnsServers": []
},
"macAddress": "00-0D-3A-71-DA-BC",
"enableAcceleratedNetworking": false,
"enableIPForwarding": false,
"networkSecurityGroup": {
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_apache_nsg_name'))]"
},
"tapConfigurations": []
}
},
{
"type": "Microsoft.Network/networkInterfaces",
"apiVersion": "2018-12-01",
"name": "[parameters('networkInterfaces_apachereverse186_name')]",
"location": "westeurope",
"dependsOn": [
"[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddresses_apachereverse_ip_name'))]",
"[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworks_TFSHAPvnet825_name'), 'default')]",
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_apachereverse_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "920e369e-d336-4907-841e-7155971d29b4",
"ipConfigurations": [
{
"name": "ipconfig1",
"etag": "W/\"d38d56a3-5b01-40c6-a9dc-e02769caf5e6\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.4.4",
"privateIPAllocationMethod": "Dynamic",
"publicIPAddress": {
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddresses_apachereverse_ip_name'))]"
},
"subnet": {
"id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworks_TFSHAPvnet825_name'), 'default')]"
},
"primary": true,
"privateIPAddressVersion": "IPv4"
}
}
],
"dnsSettings": {
"dnsServers": [],
"appliedDnsServers": []
},
"macAddress": "00-0D-3A-20-D0-02",
"enableAcceleratedNetworking": false,
"enableIPForwarding": false,
"networkSecurityGroup": {
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_apachereverse_nsg_name'))]"
},
"primary": true,
"tapConfigurations": []
}
},
{
"type": "Microsoft.Network/networkInterfaces",
"apiVersion": "2018-12-01",
"name": "[parameters('networkInterfaces_dc772_name')]",
"location": "ukwest",
"dependsOn": [
"[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddresses_DC_ip_name'))]",
"[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworks_TFSHAP_vnet_name'), 'default')]",
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_DC_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "a59a3497-34da-4128-8be9-e17eccb2df7b",
"ipConfigurations": [
{
"name": "ipconfig1",
"etag": "W/\"5cc1c2cc-9e40-4946-8030-af789e3bc17c\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.2.4",
"privateIPAllocationMethod": "Dynamic",
"publicIPAddress": {
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddresses_DC_ip_name'))]"
},
"subnet": {
"id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworks_TFSHAP_vnet_name'), 'default')]"
},
"primary": true,
"privateIPAddressVersion": "IPv4"
}
}
],
"dnsSettings": {
"dnsServers": [],
"appliedDnsServers": []
},
"macAddress": "00-0D-3A-0C-B9-30",
"enableAcceleratedNetworking": false,
"enableIPForwarding": false,
"networkSecurityGroup": {
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_DC_nsg_name'))]"
},
"primary": true,
"tapConfigurations": []
}
},
{
"type": "Microsoft.Network/networkInterfaces",
"apiVersion": "2018-12-01",
"name": "[parameters('networkInterfaces_haproxy27_name')]",
"location": "ukwest",
"dependsOn": [
"[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddresses_Haproxy_ip_name'))]",
"[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworks_TFSHAP_vnet_name'), 'default')]",
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_Haproxy_nsg_name'))]"
],
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "b412f4e3-b34f-420a-aea6-002088c935c6",
"ipConfigurations": [
{
"name": "ipconfig1",
"etag": "W/\"c34ea93d-d97c-4698-816d-0bb68d6613fe\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.2.6",
"privateIPAllocationMethod": "Dynamic",
"publicIPAddress": {
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddresses_Haproxy_ip_name'))]"
},
"subnet": {
"id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworks_TFSHAP_vnet_name'), 'default')]"
},
"primary": true,
"privateIPAddressVersion": "IPv4"
}
}
],
"dnsSettings": {
"dnsServers": [],
"appliedDnsServers": [],
"internalDomainNameSuffix": "hytqlxlqugguxaorepc4hyzmgh.cwx.internal.cloudapp.net"
},
"macAddress": "00-0D-3A-0C-F4-62",
"enableAcceleratedNetworking": false,
"enableIPForwarding": false,
"networkSecurityGroup": {
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_Haproxy_nsg_name'))]"
},
"primary": true,
"tapConfigurations": []
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment