Merge pull request #21 from mspnp/telmos/updated-scenarios
fixed scenario files
This commit is contained in:
Коммит
28045ea03a
|
@ -0,0 +1,85 @@
|
|||
{
|
||||
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"dmzSettings": {
|
||||
"value": {
|
||||
"endpoint": {
|
||||
"hasPublicEndpoint": "no",
|
||||
"internalLoadBalancerSettings": {
|
||||
"privateIPAddress": "10.0.0.10",
|
||||
"subnetName": "dmz-in"
|
||||
}
|
||||
},
|
||||
"applianceSettings": {
|
||||
"ports": [
|
||||
{
|
||||
"port": 80,
|
||||
"protocol": "Tcp",
|
||||
"healthProbe": "hp1"
|
||||
}
|
||||
],
|
||||
"healthProbes": [
|
||||
{
|
||||
"name": "hp1",
|
||||
"port": 80,
|
||||
"protocol": "http",
|
||||
"requestPath": "/"
|
||||
}
|
||||
],
|
||||
"virtualMachineSettings": {
|
||||
"count": 2,
|
||||
"size": "Standard_DS2_v2",
|
||||
"adminUsername": "testuser",
|
||||
"adminPassword": "AweS0me@PW",
|
||||
"sshPublicKey": "",
|
||||
"osAuthenticationType": "password",
|
||||
"imageReference": {
|
||||
"publisher": "Canonical",
|
||||
"offer": "UbuntuServer",
|
||||
"sku": "14.04.5-LTS",
|
||||
"version": "latest"
|
||||
},
|
||||
"extensions": [
|
||||
{
|
||||
"name": "enable-iptables-routes",
|
||||
"publisher": "Microsoft.OSTCExtensions",
|
||||
"type": "CustomScriptForLinux",
|
||||
"typeHandlerVersion": "1.5",
|
||||
"autoUpgradeMinorVersion": true,
|
||||
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
|
||||
"settingsConfig": {
|
||||
"fileUris": [
|
||||
"https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/linux/enable-iptables-routes/enable-iptables-routes.sh"
|
||||
],
|
||||
"commandToExecute": "bash enable-iptables-routes.sh internal 10.0.1.100"
|
||||
},
|
||||
"protectedSettingsConfig": { }
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"securedAddressSpace": [ "10.0.1.0/24", "10.0.2.0/24" ],
|
||||
"subnets": {
|
||||
"useExistingSubnets": "yes",
|
||||
"inSubnet": {
|
||||
"name": "dmz-in",
|
||||
"addressPrefix": ""
|
||||
},
|
||||
"outSubnet": {
|
||||
"name": "dmz-out",
|
||||
"addressPrefix": ""
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
"virtualNetworkSettings": {
|
||||
"value": {
|
||||
"name": "bb-dev-vnet",
|
||||
"resourceGroup": "bb-dev-rg"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7,8 +7,8 @@
|
|||
"endpoint": {
|
||||
"hasPublicEndpoint": "no",
|
||||
"internalLoadBalancerSettings": {
|
||||
"privateIPAddress": "10.0.4.250",
|
||||
"subnetName": "in-sn"
|
||||
"privateIPAddress": "10.0.0.10",
|
||||
"subnetName": "dmz-in"
|
||||
}
|
||||
},
|
||||
"applianceSettings": {
|
||||
|
@ -50,9 +50,9 @@
|
|||
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
|
||||
"settingsConfig": {
|
||||
"fileUris": [
|
||||
"https://pnparmtest.blob.core.windows.net/roshar/templates/resources/Microsoft.Compute/virtualMachines/extensions/linux/enable-iptables-routes/enable-iptables-routes.sh"
|
||||
"https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/linux/enable-iptables-routes/enable-iptables-routes.sh"
|
||||
],
|
||||
"commandToExecute": "bash enable-iptables-routes.sh public 10.0.0.254"
|
||||
"commandToExecute": "bash enable-iptables-routes.sh internal 10.0.1.100"
|
||||
},
|
||||
"protectedSettingsConfig": { }
|
||||
}
|
||||
|
@ -63,12 +63,12 @@
|
|||
"subnets": {
|
||||
"useExistingSubnets": "no",
|
||||
"inSubnet": {
|
||||
"name": "in-sn",
|
||||
"addressPrefix": "10.0.4.0/24"
|
||||
"name": "dmz-in",
|
||||
"addressPrefix": "10.0.0.0/27"
|
||||
},
|
||||
"outSubnet": {
|
||||
"name": "out-sn",
|
||||
"addressPrefix": "10.0.5.0/24"
|
||||
"name": "dmz-out",
|
||||
"addressPrefix": "10.0.0.32/27"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -77,9 +77,8 @@
|
|||
"virtualNetworkSettings": {
|
||||
"value": {
|
||||
"name": "bb-dev-vnet",
|
||||
"resourceGroup": "rs-bb44-rg"
|
||||
"resourceGroup": "bb-dev-rg"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,169 +0,0 @@
|
|||
{
|
||||
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"loadBalancerSettings": {
|
||||
"value": {
|
||||
"name": "in-lb",
|
||||
"frontendIPConfigurations": [
|
||||
{
|
||||
"name": "lbfe1",
|
||||
"loadBalancerType": "public",
|
||||
"internalLoadBalancerSettings": {
|
||||
"privateIPAddress": "10.0.1.10",
|
||||
"subnetName": "app0-in-sn"
|
||||
}
|
||||
}
|
||||
],
|
||||
"loadBalancingRules": [
|
||||
{
|
||||
"name": "lbr1",
|
||||
"frontendPort": 80,
|
||||
"backendPort": 80,
|
||||
"protocol": "Tcp",
|
||||
"backendPoolName": "lb-bep1",
|
||||
"frontendIPConfigurationName": "lbfe1"
|
||||
},
|
||||
{
|
||||
"name": "lbr2",
|
||||
"frontendPort": 443,
|
||||
"backendPort": 443,
|
||||
"protocol": "Tcp",
|
||||
"backendPoolName": "lb-bep2",
|
||||
"frontendIPConfigurationName": "lbfe1"
|
||||
}
|
||||
],
|
||||
"probes": [
|
||||
{
|
||||
"name": "lbp1",
|
||||
"port": 80,
|
||||
"protocol": "Http",
|
||||
"requestPath": "/"
|
||||
},
|
||||
{
|
||||
"name": "lbp2",
|
||||
"port": 443,
|
||||
"protocol": "Http",
|
||||
"requestPath": "/"
|
||||
}
|
||||
],
|
||||
"backendPools": [
|
||||
{
|
||||
"name": "lb-bep1",
|
||||
"nicIndex": 0
|
||||
},
|
||||
{
|
||||
"name": "lb-bep2",
|
||||
"nicIndex": 0
|
||||
},
|
||||
{
|
||||
"name": "lb-bep3",
|
||||
"nicIndex": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"virtualMachinesSettings": {
|
||||
"value": {
|
||||
"namePrefix": "cn",
|
||||
"computerNamePrefix": "cn",
|
||||
"size": "Standard_DS2",
|
||||
"adminUsername": "testuser",
|
||||
"adminPassword": "AweS0me@PW",
|
||||
"sshPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCUXF5vzdgGWymJ+9GtiPxb+H0p6MDh9oAlNklKKz6zp/NkqxMaWb8JJqK5jjfseOVnQWD+BkhA5bwUlULH2UJmjZSL9SFpNqarfM62EFHe416Q/MLMjBfQ+szEm15Jha8ur2VkkzuVDQK6lSVap/B+QU1JVdYLLHi3n7T65mWkOWdOXVAKZvBO+sT2CSRNUXCupsUHjnexeVxXiHrHZq9W62VUNKSpFKSQQt3hJkYaYWsoUjlO45EeQ3f0XjYZw1dfjN6X1wDdghqdbq46XlW8+4yucFyzreJGiF0uJWY7abVHqnfZ3XtLsKvwvC29QCdDftdtRCtqW1I5NXO84XGr kirpas@KIRPASDEV02",
|
||||
"osAuthenticationType": "sshPublicKey",
|
||||
"nics": [
|
||||
{
|
||||
"isPublic": "false",
|
||||
"subnetName": "app0-in-sn",
|
||||
"privateIPAllocationMethod": "static",
|
||||
"startingIPAddress": "10.0.1.242",
|
||||
"enableIPForwarding": true,
|
||||
"dnsServers": [
|
||||
"10.0.0.10",
|
||||
"10.0.0.11"
|
||||
],
|
||||
"isPrimary": "true"
|
||||
},
|
||||
{
|
||||
"isPublic": "false",
|
||||
"subnetName": "app0-out-sn",
|
||||
"privateIPAllocationMethod": "dynamic",
|
||||
"enableIPForwarding": true,
|
||||
"dnsServers": [
|
||||
"10.0.0.10",
|
||||
"10.0.0.11"
|
||||
],
|
||||
"isPrimary": "false"
|
||||
}
|
||||
],
|
||||
"imageReference": {
|
||||
"publisher": "Canonical",
|
||||
"offer": "UbuntuServer",
|
||||
"sku": "14.04.4-LTS",
|
||||
"version": "latest"
|
||||
},
|
||||
"dataDisks": {
|
||||
"count": 2,
|
||||
"properties": {
|
||||
"diskSizeGB": 127,
|
||||
"caching": "None",
|
||||
"createOption": "Empty"
|
||||
}
|
||||
},
|
||||
"osDisk": {
|
||||
"caching": "ReadWrite"
|
||||
},
|
||||
"availabilitySet": {
|
||||
"useExistingAvailabilitySet": "No",
|
||||
"name": "cn"
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Settings for Virtual Machines"
|
||||
}
|
||||
},
|
||||
"virtualNetworkSettings": {
|
||||
"value": {
|
||||
"name": "app0-vnet",
|
||||
"resourceGroup": "app0-rg"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Virtual network settings"
|
||||
}
|
||||
},
|
||||
"buildingBlockSettings": {
|
||||
"value": {
|
||||
"storageAccountsCount": 1,
|
||||
"vmCount": 2,
|
||||
"vmStartIndex": 3
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Settings specific to the building block"
|
||||
}
|
||||
},
|
||||
|
||||
"routeTableSettings": {
|
||||
"value": {
|
||||
"name": "app0-in-rt",
|
||||
"subnets": [
|
||||
"app0-in-sn"
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"name": "route1",
|
||||
"addressPrefix": "10.0.1.10/24",
|
||||
"nextHopType": "VirtualAppliance",
|
||||
"nextHopIpAddress": "10.0.255.224"
|
||||
},
|
||||
{
|
||||
"name": "route2",
|
||||
"addressPrefix": "10.0.2.10/24",
|
||||
"nextHopType": "VirtualAppliance",
|
||||
"nextHopIpAddress": "10.0.255.224"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,81 @@
|
|||
{
|
||||
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"dmzSettings": {
|
||||
"value": {
|
||||
"endpoint": {
|
||||
"hasPublicEndpoint": "yes",
|
||||
"internalLoadBalancerSettings": { }
|
||||
},
|
||||
"applianceSettings": {
|
||||
"ports": [
|
||||
{
|
||||
"port": 80,
|
||||
"protocol": "Tcp",
|
||||
"healthProbe": "hp1"
|
||||
}
|
||||
],
|
||||
"healthProbes": [
|
||||
{
|
||||
"name": "hp1",
|
||||
"port": 80,
|
||||
"protocol": "http",
|
||||
"requestPath": "/"
|
||||
}
|
||||
],
|
||||
"virtualMachineSettings": {
|
||||
"count": 2,
|
||||
"size": "Standard_DS2_v2",
|
||||
"adminUsername": "testuser",
|
||||
"adminPassword": "AweS0me@PW",
|
||||
"sshPublicKey": "",
|
||||
"osAuthenticationType": "password",
|
||||
"imageReference": {
|
||||
"publisher": "Canonical",
|
||||
"offer": "UbuntuServer",
|
||||
"sku": "14.04.5-LTS",
|
||||
"version": "latest"
|
||||
},
|
||||
"extensions": [
|
||||
{
|
||||
"name": "enable-iptables-routes",
|
||||
"publisher": "Microsoft.OSTCExtensions",
|
||||
"type": "CustomScriptForLinux",
|
||||
"typeHandlerVersion": "1.5",
|
||||
"autoUpgradeMinorVersion": true,
|
||||
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
|
||||
"settingsConfig": {
|
||||
"fileUris": [
|
||||
"https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/linux/enable-iptables-routes/enable-iptables-routes.sh"
|
||||
],
|
||||
"commandToExecute": "bash enable-iptables-routes.sh public 10.0.1.100"
|
||||
},
|
||||
"protectedSettingsConfig": { }
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"securedAddressSpace": [ "10.0.1.0/24", "10.0.2.0/24" ],
|
||||
"subnets": {
|
||||
"useExistingSubnets": "yes",
|
||||
"inSubnet": {
|
||||
"name": "dmz-in",
|
||||
"addressPrefix": ""
|
||||
},
|
||||
"outSubnet": {
|
||||
"name": "dmz-out",
|
||||
"addressPrefix": ""
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
"virtualNetworkSettings": {
|
||||
"value": {
|
||||
"name": "bb-dev-vnet",
|
||||
"resourceGroup": "bb-dev-rg"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,81 @@
|
|||
{
|
||||
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"dmzSettings": {
|
||||
"value": {
|
||||
"endpoint": {
|
||||
"hasPublicEndpoint": "yes",
|
||||
"internalLoadBalancerSettings": { }
|
||||
},
|
||||
"applianceSettings": {
|
||||
"ports": [
|
||||
{
|
||||
"port": 80,
|
||||
"protocol": "Tcp",
|
||||
"healthProbe": "hp1"
|
||||
}
|
||||
],
|
||||
"healthProbes": [
|
||||
{
|
||||
"name": "hp1",
|
||||
"port": 80,
|
||||
"protocol": "http",
|
||||
"requestPath": "/"
|
||||
}
|
||||
],
|
||||
"virtualMachineSettings": {
|
||||
"count": 2,
|
||||
"size": "Standard_DS2_v2",
|
||||
"adminUsername": "testuser",
|
||||
"adminPassword": "AweS0me@PW",
|
||||
"sshPublicKey": "",
|
||||
"osAuthenticationType": "password",
|
||||
"imageReference": {
|
||||
"publisher": "Canonical",
|
||||
"offer": "UbuntuServer",
|
||||
"sku": "14.04.5-LTS",
|
||||
"version": "latest"
|
||||
},
|
||||
"extensions": [
|
||||
{
|
||||
"name": "enable-iptables-routes",
|
||||
"publisher": "Microsoft.OSTCExtensions",
|
||||
"type": "CustomScriptForLinux",
|
||||
"typeHandlerVersion": "1.5",
|
||||
"autoUpgradeMinorVersion": true,
|
||||
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
|
||||
"settingsConfig": {
|
||||
"fileUris": [
|
||||
"https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/linux/enable-iptables-routes/enable-iptables-routes.sh"
|
||||
],
|
||||
"commandToExecute": "bash enable-iptables-routes.sh public 10.0.1.100"
|
||||
},
|
||||
"protectedSettingsConfig": { }
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"securedAddressSpace": [ "10.0.1.0/24", "10.0.2.0/24" ],
|
||||
"subnets": {
|
||||
"useExistingSubnets": "no",
|
||||
"inSubnet": {
|
||||
"name": "dmz-in",
|
||||
"addressPrefix": "10.0.0.0/27"
|
||||
},
|
||||
"outSubnet": {
|
||||
"name": "dmz-out",
|
||||
"addressPrefix": "10.0.0.32/27"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
"virtualNetworkSettings": {
|
||||
"value": {
|
||||
"name": "bb-dev-vnet",
|
||||
"resourceGroup": "bb-dev-rg"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,169 +0,0 @@
|
|||
{
|
||||
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"loadBalancerSettings": {
|
||||
"value": {
|
||||
"name": "in-lb",
|
||||
"frontendIPConfigurations": [
|
||||
{
|
||||
"name": "lbfe1",
|
||||
"loadBalancerType": "public",
|
||||
"internalLoadBalancerSettings": {
|
||||
"privateIPAddress": "10.0.1.10",
|
||||
"subnetName": "app0-in-sn"
|
||||
}
|
||||
}
|
||||
],
|
||||
"loadBalancingRules": [
|
||||
{
|
||||
"name": "lbr1",
|
||||
"frontendPort": 80,
|
||||
"backendPort": 80,
|
||||
"protocol": "Tcp",
|
||||
"backendPoolName": "lb-bep1",
|
||||
"frontendIPConfigurationName": "lbfe1"
|
||||
},
|
||||
{
|
||||
"name": "lbr2",
|
||||
"frontendPort": 443,
|
||||
"backendPort": 443,
|
||||
"protocol": "Tcp",
|
||||
"backendPoolName": "lb-bep2",
|
||||
"frontendIPConfigurationName": "lbfe1"
|
||||
}
|
||||
],
|
||||
"probes": [
|
||||
{
|
||||
"name": "lbp1",
|
||||
"port": 80,
|
||||
"protocol": "Http",
|
||||
"requestPath": "/"
|
||||
},
|
||||
{
|
||||
"name": "lbp2",
|
||||
"port": 443,
|
||||
"protocol": "Http",
|
||||
"requestPath": "/"
|
||||
}
|
||||
],
|
||||
"backendPools": [
|
||||
{
|
||||
"name": "lb-bep1",
|
||||
"nicIndex": 0
|
||||
},
|
||||
{
|
||||
"name": "lb-bep2",
|
||||
"nicIndex": 0
|
||||
},
|
||||
{
|
||||
"name": "lb-bep3",
|
||||
"nicIndex": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"virtualMachinesSettings": {
|
||||
"value": {
|
||||
"namePrefix": "cn",
|
||||
"computerNamePrefix": "cn",
|
||||
"size": "Standard_DS2",
|
||||
"adminUsername": "testuser",
|
||||
"adminPassword": "AweS0me@PW",
|
||||
"sshPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCUXF5vzdgGWymJ+9GtiPxb+H0p6MDh9oAlNklKKz6zp/NkqxMaWb8JJqK5jjfseOVnQWD+BkhA5bwUlULH2UJmjZSL9SFpNqarfM62EFHe416Q/MLMjBfQ+szEm15Jha8ur2VkkzuVDQK6lSVap/B+QU1JVdYLLHi3n7T65mWkOWdOXVAKZvBO+sT2CSRNUXCupsUHjnexeVxXiHrHZq9W62VUNKSpFKSQQt3hJkYaYWsoUjlO45EeQ3f0XjYZw1dfjN6X1wDdghqdbq46XlW8+4yucFyzreJGiF0uJWY7abVHqnfZ3XtLsKvwvC29QCdDftdtRCtqW1I5NXO84XGr kirpas@KIRPASDEV02",
|
||||
"osAuthenticationType": "sshPublicKey",
|
||||
"nics": [
|
||||
{
|
||||
"isPublic": "false",
|
||||
"subnetName": "app0-in-sn",
|
||||
"privateIPAllocationMethod": "static",
|
||||
"startingIPAddress": "10.0.1.242",
|
||||
"enableIPForwarding": true,
|
||||
"dnsServers": [
|
||||
"10.0.0.10",
|
||||
"10.0.0.11"
|
||||
],
|
||||
"isPrimary": "true"
|
||||
},
|
||||
{
|
||||
"isPublic": "false",
|
||||
"subnetName": "app0-out-sn",
|
||||
"privateIPAllocationMethod": "dynamic",
|
||||
"enableIPForwarding": true,
|
||||
"dnsServers": [
|
||||
"10.0.0.10",
|
||||
"10.0.0.11"
|
||||
],
|
||||
"isPrimary": "false"
|
||||
}
|
||||
],
|
||||
"imageReference": {
|
||||
"publisher": "Canonical",
|
||||
"offer": "UbuntuServer",
|
||||
"sku": "14.04.4-LTS",
|
||||
"version": "latest"
|
||||
},
|
||||
"dataDisks": {
|
||||
"count": 2,
|
||||
"properties": {
|
||||
"diskSizeGB": 127,
|
||||
"caching": "None",
|
||||
"createOption": "Empty"
|
||||
}
|
||||
},
|
||||
"osDisk": {
|
||||
"caching": "ReadWrite"
|
||||
},
|
||||
"availabilitySet": {
|
||||
"useExistingAvailabilitySet": "No",
|
||||
"name": "cn"
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Settings for Virtual Machines"
|
||||
}
|
||||
},
|
||||
"virtualNetworkSettings": {
|
||||
"value": {
|
||||
"name": "app0-vnet",
|
||||
"resourceGroup": "app0-rg"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Virtual network settings"
|
||||
}
|
||||
},
|
||||
"buildingBlockSettings": {
|
||||
"value": {
|
||||
"storageAccountsCount": 1,
|
||||
"vmCount": 2,
|
||||
"vmStartIndex": 3
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Settings specific to the building block"
|
||||
}
|
||||
},
|
||||
|
||||
"routeTableSettings": {
|
||||
"value": {
|
||||
"name": "app0-in-rt",
|
||||
"subnets": [
|
||||
"app0-in-sn"
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"name": "route1",
|
||||
"addressPrefix": "10.0.1.10/24",
|
||||
"nextHopType": "VirtualAppliance",
|
||||
"nextHopIpAddress": "10.0.255.224"
|
||||
},
|
||||
{
|
||||
"name": "route2",
|
||||
"addressPrefix": "10.0.2.10/24",
|
||||
"nextHopType": "VirtualAppliance",
|
||||
"nextHopIpAddress": "10.0.255.224"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -16,7 +16,6 @@
|
|||
"isPublic": "false",
|
||||
"subnetName": "data",
|
||||
"privateIPAllocationMethod": "Static",
|
||||
"publicIPAllocationMethod": "Dynamic",
|
||||
"startingIPAddress": "10.0.3.101",
|
||||
"enableIPForwarding": false,
|
||||
"dnsServers": [
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"virtualNetworkSettings": {
|
||||
"value": {
|
||||
"name": "bb-dev-vnet",
|
||||
"resourceGroup": "bb-dev-rg"
|
||||
}
|
||||
},
|
||||
"routeTableSettings": {
|
||||
"value": [
|
||||
{
|
||||
|
|
|
@ -0,0 +1,80 @@
|
|||
{
|
||||
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"virtualMachinesExtensionSettings": {
|
||||
"value": [
|
||||
{
|
||||
"vms": [ "bb-dev-biz-vm1", "bb-dev-biz-vm2" ],
|
||||
"extensions": [
|
||||
{
|
||||
"name": "IaaSAntimalware",
|
||||
"publisher": "Microsoft.Azure.Security",
|
||||
"type": "IaaSAntimalware",
|
||||
"typeHandlerVersion": "1.3",
|
||||
"autoUpgradeMinorVersion": true,
|
||||
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
|
||||
"settingsConfig": {
|
||||
"AntimalwareEnabled": true,
|
||||
"RealtimeProtectionEnabled": "false",
|
||||
"ScheduledScanSettings": {
|
||||
"isEnabled": "false",
|
||||
"day": "7",
|
||||
"time": "120",
|
||||
"scanType": "Quick"
|
||||
},
|
||||
"Exclusions": {
|
||||
"Extensions": ".gif",
|
||||
"Paths": "c:\\test",
|
||||
"Processes": "test.exe"
|
||||
}
|
||||
},
|
||||
"protectedSettingsConfig": { }
|
||||
},
|
||||
{
|
||||
"name": "malware",
|
||||
"publisher": "Symantec",
|
||||
"type": "SymantecEndpointProtection",
|
||||
"typeHandlerVersion": "12.1",
|
||||
"autoUpgradeMinorVersion": true,
|
||||
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
|
||||
"settingsConfig": {
|
||||
},
|
||||
"protectedSettingsConfig": { }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"vms": [ "bb-dev-biz-vm3", "bb-dev-biz-vm4", "bb-dev-biz-vm5" ],
|
||||
"extensions": [
|
||||
{
|
||||
"name": "IaaSAntimalware",
|
||||
"publisher": "Microsoft.Azure.Security",
|
||||
"type": "IaaSAntimalware",
|
||||
"autoUpgradeMinorVersion": true,
|
||||
"typeHandlerVersion": "1.3",
|
||||
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
|
||||
"settingsConfig": {
|
||||
"AntimalwareEnabled": true,
|
||||
"RealtimeProtectionEnabled": "false",
|
||||
"ScheduledScanSettings": {
|
||||
"isEnabled": "false",
|
||||
"day": "7",
|
||||
"time": "120",
|
||||
"scanType": "Quick"
|
||||
},
|
||||
"Exclusions": {
|
||||
"Extensions": ".gif",
|
||||
"Paths": "c:\\test",
|
||||
"Processes": "test.exe"
|
||||
}
|
||||
},
|
||||
"protectedSettingsConfig": { }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"virtualMachinesExtensionSettings": {
|
||||
"value": [
|
||||
{
|
||||
"vms": [ "bb-dev-jb-vm1" ],
|
||||
"extensions": [
|
||||
{
|
||||
"name": "IaaSAntimalware",
|
||||
"publisher": "Microsoft.Azure.Security",
|
||||
"type": "IaaSAntimalware",
|
||||
"typeHandlerVersion": "1.3",
|
||||
"autoUpgradeMinorVersion": true,
|
||||
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
|
||||
"settingsConfig": {
|
||||
"AntimalwareEnabled": true,
|
||||
"RealtimeProtectionEnabled": "false",
|
||||
"ScheduledScanSettings": {
|
||||
"isEnabled": "false",
|
||||
"day": "7",
|
||||
"time": "120",
|
||||
"scanType": "Quick"
|
||||
},
|
||||
"Exclusions": {
|
||||
"Extensions": ".gif"
|
||||
}
|
||||
},
|
||||
"protectedSettingsConfig": { }
|
||||
},
|
||||
{
|
||||
"name": "malware",
|
||||
"publisher": "Symantec",
|
||||
"type": "SymantecEndpointProtection",
|
||||
"typeHandlerVersion": "12.1",
|
||||
"autoUpgradeMinorVersion": true,
|
||||
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
|
||||
"settingsConfig": {
|
||||
},
|
||||
"protectedSettingsConfig": { }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"virtualMachinesExtensionSettings": {
|
||||
"value": [
|
||||
{
|
||||
"vms": [ "bb-dev-web-vm1", "bb-dev-web-vm2", "bb-dev-web-vm3" ],
|
||||
"extensions": [
|
||||
{
|
||||
"name": "IaaSAntimalware",
|
||||
"publisher": "Microsoft.Azure.Security",
|
||||
"type": "IaaSAntimalware",
|
||||
"typeHandlerVersion": "1.3",
|
||||
"autoUpgradeMinorVersion": true,
|
||||
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
|
||||
"settingsConfig": {
|
||||
"AntimalwareEnabled": true,
|
||||
"RealtimeProtectionEnabled": "false",
|
||||
"ScheduledScanSettings": {
|
||||
"isEnabled": "false",
|
||||
"day": "7",
|
||||
"time": "120",
|
||||
"scanType": "Quick"
|
||||
},
|
||||
"Exclusions": {
|
||||
"Extensions": ".gif"
|
||||
}
|
||||
},
|
||||
"protectedSettingsConfig": { }
|
||||
},
|
||||
{
|
||||
"name": "malware",
|
||||
"publisher": "Symantec",
|
||||
"type": "SymantecEndpointProtection",
|
||||
"typeHandlerVersion": "12.1",
|
||||
"autoUpgradeMinorVersion": true,
|
||||
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
|
||||
"settingsConfig": {
|
||||
},
|
||||
"protectedSettingsConfig": { }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -9,15 +9,15 @@
|
|||
"subnets": [
|
||||
{
|
||||
"name": "web",
|
||||
"addressPrefix": "10.0.0.0/24"
|
||||
},
|
||||
{
|
||||
"name": "biz",
|
||||
"addressPrefix": "10.0.1.0/24"
|
||||
},
|
||||
{
|
||||
"name": "data",
|
||||
"name": "biz",
|
||||
"addressPrefix": "10.0.2.0/24"
|
||||
},
|
||||
{
|
||||
"name": "data",
|
||||
"addressPrefix": "10.0.3.0/24"
|
||||
}
|
||||
],
|
||||
"dnsServers": [
|
||||
|
|
|
@ -9,16 +9,16 @@
|
|||
"subnets": [
|
||||
{
|
||||
"name": "web",
|
||||
"addressPrefix": "10.0.0.0/24"
|
||||
},
|
||||
{
|
||||
"name": "biz",
|
||||
"addressPrefix": "10.0.1.0/24"
|
||||
},
|
||||
{
|
||||
"name": "data",
|
||||
"name": "biz",
|
||||
"addressPrefix": "10.0.2.0/24"
|
||||
},
|
||||
{
|
||||
"name": "data",
|
||||
"addressPrefix": "10.0.3.0/24"
|
||||
},
|
||||
{
|
||||
"name": "GatewaySubnet",
|
||||
"addressPrefix": "10.0.255.224/27"
|
||||
|
|
|
@ -30,9 +30,10 @@
|
|||
</None>
|
||||
<Content Include="Scripts\Deploy-AzureResourceGroup.ps1" />
|
||||
<None Include="scenarios\dmz\azuredeploy.json" />
|
||||
<None Include="scenarios\dmz\parameters\azuredeploy.parameters.json" />
|
||||
<None Include="scenarios\dmz\parameters\internal-dmz.parameters.json" />
|
||||
<None Include="scenarios\dmz\parameters\public-dmz.parameters.json" />
|
||||
<None Include="scenarios\dmz\parameters\internal-dmz-existing-subnets.parameters.json" />
|
||||
<None Include="scenarios\dmz\parameters\internal-dmz-new-subnets.parameters.json" />
|
||||
<None Include="scenarios\dmz\parameters\public-dmz-existing-subnets.parameters.json" />
|
||||
<None Include="scenarios\dmz\parameters\public-dmz-new-subnets.parameters.json" />
|
||||
<None Include="scenarios\loadBalancer-backend-n-vm\azuredeploy.json" />
|
||||
<None Include="scenarios\loadBalancer-backend-n-vm\parameters\internal-loadBalancer-multi-backends.parameters.json" />
|
||||
<None Include="scenarios\loadBalancer-backend-n-vm\parameters\internal-loadBalancer.parameters.json" />
|
||||
|
@ -48,7 +49,10 @@
|
|||
<None Include="scenarios\userDefinedRoutes\azuredeploy.json" />
|
||||
<None Include="scenarios\userDefinedRoutes\parameters\multiple-routes-on-subnets.parameters.json" />
|
||||
<None Include="scenarios\virtualMachine-extensions\azuredeploy.json" />
|
||||
<None Include="scenarios\virtualMachine-extensions\parameters\multiple-extensions-multiple-vms.parameters.json" />
|
||||
<None Include="scenarios\virtualMachine-extensions\parameters\multiple-extensions-on-vms.parameters.json" />
|
||||
<None Include="scenarios\virtualMachine-extensions\parameters\multiple-extensions-single-vm.parameters.json" />
|
||||
<None Include="scenarios\virtualMachine-extensions\parameters\single-extension-multiple-vms.parameters.json" />
|
||||
<None Include="scenarios\vnet-n-subnet\azuredeploy.json" />
|
||||
<None Include="scenarios\vnet-n-subnet\parameters\vnet-3-tier-mgmt-gw.parameters.json" />
|
||||
<None Include="scenarios\vnet-n-subnet\parameters\vnet-multiple-subnet-dns.parameters.json" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче