Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Kay Singh committed Dec 4, 2015
2 parents 96ddf41 + 923c800 commit 67415d6
Show file tree
Hide file tree
Showing 51 changed files with 4,064 additions and 340 deletions.
317 changes: 284 additions & 33 deletions 101-dtl-create-lab/Cmdlets.DevTestLab.ps1

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions 201-site-to-site-vpn/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@
"East US 2",
"Japan East",
"Japan West",
"Central US"
"Central US",
"Brazil South"
]
},
"vpnType": {
"type": "String",
"metadata": {
"description": "Route based or policy based"
"description": "Route based (Dynamic Gateway) or Policy based (Static Gateway)"
},
"defaultValue": "RouteBased",
"allowedValues": [
Expand Down
4 changes: 2 additions & 2 deletions 201-traffic-manager-webapp/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
},
"location": "[variables('webAppLocations')[copyIndex()]]",
"sku": {
"name": "F1",
"tier": "Free"
"name": "S1",
"tier": "Standard"
}
},
{
Expand Down
90 changes: 45 additions & 45 deletions checkpoint-multi-nic/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"customData": "#!/bin/bash",
"addressPrefix": "10.0.0.0/16",
"externalPrivateAddress": "10.0.1.10",
"frontEndIPConfigID": "[concat(variables('lbID'),'/frontendIPConfigurations/LoadBalancerFrontEnd')]",
"frontEndIPConfigId": "[concat(variables('lbId'),'/frontendIPConfigurations/LoadBalancerFrontEnd')]",
"imageOffer": "check-point-r77-10",
"imagePublisher": "checkpoint",
"imageReference": "[variables(concat('imageReference',parameters('offer')))]",
Expand All @@ -79,10 +79,10 @@
"version": "latest"
},
"internalPrivateAddress": "10.0.2.10",
"lbID": "[resourceId('Microsoft.Network/loadBalancers',variables('lbName'))]",
"lbId": "[resourceId('Microsoft.Network/loadBalancers',variables('lbName'))]",
"lbName": "frontend-lb",
"nic1NamePrefix": "external-nic",
"nic2NamePrefix": "internal-nic",
"nic1Name": "external-nic",
"nic2Name": "internal-nic",
"osProfile": "[variables(concat('osprofile',parameters('authenticationType')))]",
"osProfilepassword": {
"adminPassword": "[parameters('adminPassword')]",
Expand Down Expand Up @@ -117,16 +117,16 @@
"product": "[variables('imageOffer')]",
"publisher": "[variables('imagePublisher')]"
},
"publicIPAddressID": "[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]",
"publicIPAddressId": "[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]",
"publicIPAddressName": "security-gateway",
"storageAccountType": "Standard_LRS",
"subnet1Name": "external-subnet",
"subnet1Prefix": "10.0.1.0/24",
"subnet1ID": "[concat(variables('vnetID'),'/subnets/',variables('subnet1Name'))]",
"subnet1Id": "[concat(variables('vnetId'),'/subnets/',variables('subnet1Name'))]",
"subnet2Name": "internal-subnet",
"subnet2Prefix": "10.0.2.0/24",
"subnet2ID": "[concat(variables('vnetID'),'/subnets/',variables('subnet2Name'))]",
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('vnetName'))]",
"subnet2Id": "[concat(variables('vnetId'),'/subnets/',variables('subnet2Name'))]",
"vnetId": "[resourceId('Microsoft.Network/virtualNetworks',variables('vnetName'))]",
"vnetName": "vnet",

"externalRouteTableName": "ExternalRouteTable",
Expand Down Expand Up @@ -185,8 +185,8 @@
"location": "[resourceGroup().location]",
"name": "[variables('vnetName')]",
"dependsOn": [
"[variables('externalRouteTableID')]",
"[variables('internalRouteTableID')]"
"[variables('externalRouteTableId')]",
"[variables('internalRouteTableId')]"
],
"properties": {
"addressSpace": {
Expand All @@ -200,7 +200,7 @@
"properties": {
"addressPrefix": "[variables('subnet1Prefix')]",
"routeTable": {
"id": "[variables('externalRouteTableID')]"
"id": "[variables('externalRouteTableId')]"
}
}
},
Expand All @@ -209,7 +209,7 @@
"properties": {
"addressPrefix": "[variables('subnet2Prefix')]",
"routeTable": {
"id": "[variables('internalRouteTableID')]"
"id": "[variables('internalRouteTableId')]"
}
}
}
Expand All @@ -233,7 +233,7 @@
{
"apiVersion": "[variables('apiVersion')]",
"dependsOn": [
"[variables('publicIPAddressID')]"
"[variables('publicIPAddressId')]"
],
"location": "[resourceGroup().location]",
"name": "[variables('lbName')]",
Expand All @@ -248,7 +248,7 @@
"name": "LoadBalancerFrontEnd",
"properties": {
"publicIPAddress": {
"id": "[variables('publicIPAddressID')]"
"id": "[variables('publicIPAddressId')]"
}
}
}
Expand All @@ -259,7 +259,7 @@
"properties": {
"backendPort": 22,
"frontendIPConfiguration": {
"id": "[variables('frontEndIPConfigID')]"
"id": "[variables('frontEndIPConfigId')]"
},
"frontendPort": 22,
"protocol": "tcp"
Expand All @@ -270,7 +270,7 @@
"properties": {
"backendPort": 256,
"frontendIPConfiguration": {
"id": "[variables('frontEndIPConfigID')]"
"id": "[variables('frontEndIPConfigId')]"
},
"frontendPort": 256,
"protocol": "tcp"
Expand All @@ -281,7 +281,7 @@
"properties": {
"backendPort": 500,
"frontendIPConfiguration": {
"id": "[variables('frontEndIPConfigID')]"
"id": "[variables('frontEndIPConfigId')]"
},
"frontendPort": 500,
"protocol": "udp"
Expand All @@ -292,7 +292,7 @@
"properties": {
"backendPort": 4500,
"frontendIPConfiguration": {
"id": "[variables('frontEndIPConfigID')]"
"id": "[variables('frontEndIPConfigId')]"
},
"frontendPort": 4500,
"protocol": "udp"
Expand All @@ -303,7 +303,7 @@
"properties": {
"backendPort": 443,
"frontendIPConfiguration": {
"id": "[variables('frontEndIPConfigID')]"
"id": "[variables('frontEndIPConfigId')]"
},
"frontendPort": 443,
"protocol": "tcp"
Expand All @@ -314,7 +314,7 @@
"properties": {
"backendPort": 18190,
"frontendIPConfiguration": {
"id": "[variables('frontEndIPConfigID')]"
"id": "[variables('frontEndIPConfigId')]"
},
"frontendPort": 18190,
"protocol": "tcp"
Expand All @@ -325,7 +325,7 @@
"properties": {
"backendPort": 18191,
"frontendIPConfiguration": {
"id": "[variables('frontEndIPConfigID')]"
"id": "[variables('frontEndIPConfigId')]"
},
"frontendPort": 18191,
"protocol": "tcp"
Expand All @@ -336,7 +336,7 @@
"properties": {
"backendPort": 18192,
"frontendIPConfiguration": {
"id": "[variables('frontEndIPConfigID')]"
"id": "[variables('frontEndIPConfigId')]"
},
"frontendPort": 18192,
"protocol": "tcp"
Expand All @@ -347,7 +347,7 @@
"properties": {
"backendPort": 18211,
"frontendIPConfiguration": {
"id": "[variables('frontEndIPConfigID')]"
"id": "[variables('frontEndIPConfigId')]"
},
"frontendPort": 18211,
"protocol": "tcp"
Expand All @@ -360,11 +360,11 @@
{
"apiVersion": "[variables('apiVersion')]",
"dependsOn": [
"[variables('vnetID')]",
"[variables('lbID')]"
"[variables('vnetId')]",
"[variables('lbId')]"
],
"location": "[resourceGroup().location]",
"name": "[variables('nic1NamePrefix')]",
"name": "[variables('nic1Name')]",
"properties": {
"enableIPForwarding": true,
"ipConfigurations": [
Expand All @@ -373,42 +373,42 @@
"properties": {
"loadBalancerBackendAddressPools": [
{
"id": "[concat(variables('lbID'), '/backendAddressPools/BackendPool1')]"
"id": "[concat(variables('lbId'), '/backendAddressPools/BackendPool1')]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('lbID'),'/inboundNatRules/SSH')]"
"id": "[concat(variables('lbId'),'/inboundNatRules/SSH')]"
},
{
"id": "[concat(variables('lbID'),'/inboundNatRules/FWD')]"
"id": "[concat(variables('lbId'),'/inboundNatRules/FWD')]"
},
{
"id": "[concat(variables('lbID'),'/inboundNatRules/IKE')]"
"id": "[concat(variables('lbId'),'/inboundNatRules/IKE')]"
},
{
"id": "[concat(variables('lbID'),'/inboundNatRules/NAT-T')]"
"id": "[concat(variables('lbId'),'/inboundNatRules/NAT-T')]"
},
{
"id": "[concat(variables('lbID'),'/inboundNatRules/HTTPS')]"
"id": "[concat(variables('lbId'),'/inboundNatRules/HTTPS')]"
},
{
"id": "[concat(variables('lbID'),'/inboundNatRules/SmartDashboard')]"
"id": "[concat(variables('lbId'),'/inboundNatRules/SmartDashboard')]"
},
{
"id": "[concat(variables('lbID'),'/inboundNatRules/PolicyPush')]"
"id": "[concat(variables('lbId'),'/inboundNatRules/PolicyPush')]"
},
{
"id": "[concat(variables('lbID'),'/inboundNatRules/Amon')]"
"id": "[concat(variables('lbId'),'/inboundNatRules/Amon')]"
},
{
"id": "[concat(variables('lbID'),'/inboundNatRules/ICAPush')]"
"id": "[concat(variables('lbId'),'/inboundNatRules/ICAPush')]"
}
],
"privateIPAddress": "[variables('externalPrivateAddress')]",
"privateIPAllocationMethod": "Static",
"subnet": {
"id": "[variables('subnet1ID')]"
"id": "[variables('subnet1Id')]"
}
}
}
Expand All @@ -419,10 +419,10 @@
{
"apiVersion": "[variables('apiVersion')]",
"dependsOn": [
"[variables('vnetID')]"
"[variables('vnetId')]"
],
"location": "[resourceGroup().location]",
"name": "[variables('nic2NamePrefix')]",
"name": "[variables('nic2Name')]",
"properties": {
"enableIPForwarding": true,
"ipConfigurations": [
Expand All @@ -432,7 +432,7 @@
"privateIPAddress": "[variables('internalPrivateAddress')]",
"privateIPAllocationMethod": "Static",
"subnet": {
"id": "[variables('subnet2ID')]"
"id": "[variables('subnet2Id')]"
}
}
}
Expand All @@ -444,8 +444,8 @@
"apiVersion": "[variables('apiVersion')]",
"dependsOn": [
"[concat('Microsoft.Storage/storageAccounts/', parameters('newStorageAccountName'))]",
"[concat('Microsoft.Network/networkInterfaces/', variables('nic1NamePrefix'))]",
"[concat('Microsoft.Network/networkInterfaces/', variables('nic2NamePrefix'))]"
"[concat('Microsoft.Network/networkInterfaces/', variables('nic1Name'))]",
"[concat('Microsoft.Network/networkInterfaces/', variables('nic2Name'))]"
],
"location": "[resourceGroup().location]",
"name": "[parameters('vmName')]",
Expand All @@ -463,13 +463,13 @@
"networkProfile": {
"networkInterfaces": [
{
"id": "[resourceId('Microsoft.Network/networkInterfaces',variables('nic1NamePrefix'))]",
"id": "[resourceId('Microsoft.Network/networkInterfaces',variables('nic1Name'))]",
"properties": {
"primary": true
}
},
{
"id": "[resourceId('Microsoft.Network/networkInterfaces',variables('nic2NamePrefix'))]",
"id": "[resourceId('Microsoft.Network/networkInterfaces',variables('nic2Name'))]",
"properties": {
"primary": false
}
Expand All @@ -495,7 +495,7 @@
"outputs": {
"PublicIPAddress": {
"type": "string",
"value": "[reference(variables('publicIPAddressID')).IpAddress]"
"value": "[reference(variables('publicIPAddressId')).IpAddress]"
}
}
}
2 changes: 1 addition & 1 deletion checkpoint-multi-nic/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"description": "This template creates a VNET with multiple subnets and deploys a Check Poin Security Gateway into that VNET",
"summary": "This template creates a VNET with multiple subnets and deploys a Check Poin Security Gateway into that VNET",
"githubUsername": "chkp-zegman",
"dateUpdated": "2015-11-25"
"dateUpdated": "2015-12-02"
}
Loading

0 comments on commit 67415d6

Please sign in to comment.