Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…mplates into ADFTemplates
  • Loading branch information
spelluru committed Oct 12, 2016
2 parents 3de2a26 + b0fd07a commit aa07aa6
Show file tree
Hide file tree
Showing 121 changed files with 620 additions and 3,735 deletions.
1 change: 1 addition & 0 deletions 101-logic-app-create/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"itemDisplayName": "Create a Logic App using a template",
"icon": "logic",
"description": "This template creates an empty logic app that can be used to define workflows.",
"summary": "Create a Logic App using a template.",
"githubUsername": "jeffhollan",
Expand Down
1 change: 1 addition & 0 deletions 101-vm-simple-linux/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"itemDisplayName": "Deploy a simple Linux VM",
"icon": "Ubuntu",
"description": "This template allows you to deploy a simple Linux VM using a few different options for the Ubuntu version, using the latest patched version. This will deploy a D1 szie VM in the resource group location and return the FQDN of the VM.",
"summary": "This template takes a minimum amount of parameters and deploys a Linux VM, using the latest patched version.",
"githubUsername": "bmoore-msft",
Expand Down
1 change: 1 addition & 0 deletions 101-vm-simple-windows/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"itemDisplayName": "Deploy a simple Windows VM",
"icon": "windowsVM",
"description": "This template allows you to deploy a simple Windows VM using a few different options for the Windows version, using the latest patched version. This will deploy a D1 size VM in the resource group location and return the FQDN of the VM.",
"summary": "This template takes a minimum amount of parameters and deploys a Windows VM, using the latest patched version.",
"githubUsername": "bmoore-msft",
Expand Down
1 change: 1 addition & 0 deletions 201-cdn-with-storage-account/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"itemDisplayName": "Create a CDN Profile, Endpoint and a Storage Account",
"icon": "cdnStorage",
"description": "This template creates a CDN Profile and a CDN Endpoint with origin as a Storage Account. Note that user needs to create a public container in the Storage Account in order for CDN Endpoint to serve content from the Storage Account.",
"summary": "Create a CDN Profile and a CDN Endpoint with a Storage Account as origin",
"githubUsername": "kuangweizhang",
Expand Down
1 change: 1 addition & 0 deletions 201-cdn-with-web-app/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"itemDisplayName": "Create a CDN Profile, a CDN Endpoint and a Web App",
"icon": "cdnWebsite",
"description": "This template creates a CDN Profile and a CDN Endpoint with a Web App as the origin",
"summary": "Create a CDN Profile, a CDN Endpoint, a Server Farm and a Web App",
"githubUsername": "kuangweizhang",
Expand Down
175 changes: 83 additions & 92 deletions 201-traffic-manager-webapp/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -1,99 +1,90 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"uniqueDnsName": {
"type": "string",
"metadata": {
"description": "Relative DNS name for the traffic manager profile, resulting FQDN will be <uniqueDnsName>.trafficmanager.net, must be globally unique."
}
},
"uniqueDnsNameForWebApp": {
"type": "string",
"metadata": {
"description": "Relative DNS name for the WebApps, must be globally unique. An index will be appended for each Web App."
}
}
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"uniqueDnsName": {
"type": "string",
"metadata": {
"description": "Relative DNS name for the traffic manager profile, resulting FQDN will be <uniqueDnsName>.trafficmanager.net, must be globally unique."
}
},
"uniqueDnsNameForWebApp": {
"type": "string",
"metadata": {
"description": "Relative DNS name for the WebApps, must be globally unique. An index will be appended for each Web App."
}
}
},

"variables": {
"tmApiVersion": "2015-11-01",
"apiVersion": "2015-08-01",
"webAppLocations": [ "West US", "East US" ],
"farmName": "default"
},
"variables": {
"webAppLocations": [ "West US", "East US" ]
},

"resources": [
{
"apiVersion": "[variables('apiVersion')]",
"name": "[concat('DemoAppServicePlan', copyIndex())]",
"type": "Microsoft.Web/serverfarms",
"copy": {
"name": "farmloop",
"count": 2
},
"location": "[variables('webAppLocations')[copyIndex()]]",
"sku": {
"name": "S1",
"tier": "Standard"
}
},
{
"apiVersion": "[variables('apiVersion')]",
"name": "[concat(parameters('uniqueDnsNameForWebApp'), copyIndex())]",
"type": "Microsoft.Web/sites",
"copy": {
"name": "siteloop",
"count": 2
},
"location": "[variables('webAppLocations')[copyIndex()]]",
"dependsOn": [ "[concat('DemoAppServicePlan', copyIndex())]" ],
"properties": {
"serverFarmId": "[concat('DemoAppServicePlan', copyIndex())]"
}
"resources": [
{
"apiVersion": "2015-08-01",
"name": "[concat('DemoAppServicePlan', copyIndex())]",
"type": "Microsoft.Web/serverfarms",
"copy": {
"name": "farmloop",
"count": "[length(variables('webAppLocations'))]"
},
"location": "[variables('webAppLocations')[copyIndex()]]",
"sku": {
"name": "S1",
"tier": "Standard"
}
},
{
"apiVersion": "2015-08-01",
"name": "[concat(parameters('uniqueDnsNameForWebApp'), copyIndex())]",
"type": "Microsoft.Web/sites",
"copy": {
"name": "siteloop",
"count": "[length(variables('webAppLocations'))]"
},
"location": "[variables('webAppLocations')[copyIndex()]]",
"dependsOn": [ "[concat('DemoAppServicePlan', copyIndex())]" ],
"properties": {
"serverFarmId": "[concat('DemoAppServicePlan', copyIndex())]"
}
},
{
"apiVersion": "2015-11-01",
"type": "Microsoft.Network/trafficManagerProfiles",
"name": "ExampleTMProfile",
"location": "global",
"properties": {
"profileStatus": "Enabled",
"trafficRoutingMethod": "Priority",
"dnsConfig": {
"relativeName": "[parameters('uniqueDnsName')]",
"ttl": 30
},
{
"apiVersion": "[variables('tmApiVersion')]",
"type": "Microsoft.Network/trafficManagerProfiles",
"name": "WebsiteEndpointExample",
"location": "global",
"dependsOn": [
"[concat('Microsoft.Web/sites/', parameters('uniqueDnsNameForWebApp'), '0')]",
"[concat('Microsoft.Web/sites/', parameters('uniqueDnsNameForWebApp'), '1')]"
],
"properties": {
"profileStatus": "Enabled",
"trafficRoutingMethod": "Priority",
"dnsConfig": {
"relativeName": "[parameters('uniqueDnsName')]",
"ttl": 30
},
"monitorConfig": {
"protocol": "http",
"port": 80,
"path": "/"
},
"endpoints": [
{
"name": "endpoint0",
"type": "Microsoft.Network/trafficManagerProfiles/azureEndpoints",
"properties": {
"targetResourceId": "[resourceId('Microsoft.Web/sites/',concat(parameters('uniqueDnsNameForWebApp'), '0'))]",
"endpointStatus": "Enabled",
"priority": 1
}
},
{
"name": "endpoint1",
"type": "Microsoft.Network/trafficManagerProfiles/azureEndpoints",
"properties": {
"targetResourceId": "[resourceId('Microsoft.Web/sites/',concat(parameters('uniqueDnsNameForWebApp'), '1'))]",
"endpointStatus": "Enabled",
"priority": 2
}
}
]
}
"monitorConfig": {
"protocol": "HTTP",
"port": 80,
"path": "/"
}
]
}
},
{
"apiVersion": "2015-11-01",
"type": "Microsoft.Network/trafficManagerProfiles/azureEndpoints",
"dependsOn": [
"Microsoft.Network/trafficManagerProfiles/ExampleTMProfile",
"[concat('Microsoft.Web/sites/', parameters('uniqueDnsNameForWebApp'), copyindex())]"
],
"location": "global",
"name": "[concat('ExampleTMProfile/Endpoint', copyIndex())]",
"copy": {
"name": "endpointloop",
"count": "[length(variables('webAppLocations'))]"
},
"properties": {
"targetResourceId": "[resourceId('Microsoft.Web/sites/', concat(parameters('uniqueDnsNameForWebApp'), copyIndex()))]",
"endpointStatus": "Enabled"
}
}
]
}
12 changes: 6 additions & 6 deletions 201-traffic-manager-webapp/azuredeploy.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"uniqueDnsName": {
"value": "GEN-UNIQUE"
},
"uniqueDnsNameForWebApp": {
"value": "GEN-UNIQUE"
}
"uniqueDnsName": {
"value": "GEN-UNIQUE-32"
},
"uniqueDnsNameForWebApp": {
"value": "GEN-UNIQUE-32"
}
}
}
2 changes: 1 addition & 1 deletion 201-traffic-manager-webapp/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"description": "This template shows how to create an Azure Traffic Manager profile to provide failover resilience with two Web Apps.",
"summary": "This template creates an Azure Traffic Manager profile that provides failover resilience with two Web Apps.",
"githubUsername": "GarethBradshawMSFT",
"dateUpdated": "2016-03-21"
"dateUpdated": "2016-09-30"
}
1 change: 1 addition & 0 deletions 301-multi-vmss-linux/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"itemDisplayName": "Deploy multiple VM Scale Sets of Linux VMs.",
"icon": "vmss",
"description": "This template allows you to deploy multiple VM Scale Sets of Linux VMs.",
"summary": "This template allows you to deploy multiple VM Scale Sets of Linux VMs.",
"githubUsername": "gatneil",
Expand Down
1 change: 1 addition & 0 deletions 301-multi-vmss-windows/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"itemDisplayName": "Deploy multiple VM Scale Sets of Windows VMs.",
"icon": "vmss",
"description": "This template allows you to deploy multiple VM Scale Sets of Windows VMs.",
"summary": "This template allows you to deploy multiple VM Scale Sets of Windows VMs.",
"githubUsername": "gatneil",
Expand Down
Loading

0 comments on commit aa07aa6

Please sign in to comment.