Created
June 4, 2018 21:27
-
-
Save silverl/b9e47cf1c5337005565497303157cf0d to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2018-06-04T21:27:19.963Z","extensionVersion":"v2.9.2"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"metadata": { | |
"id": "8125f8fe-5eb9-47bd-9d6b-73bfc52c1b48", | |
"publisherId": "samcogan.arm-snippets", | |
"publisherDisplayName": "samcogan" | |
}, | |
"name": "arm-snippets", | |
"publisher": "samcogan", | |
"version": "1.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "6bbbdb2c-957f-4af7-8257-6f5e68e15bad", | |
"publisherId": "msazurermtools.azurerm-vscode-tools", | |
"publisherDisplayName": "msazurermtools" | |
}, | |
"name": "azurerm-vscode-tools", | |
"publisher": "msazurermtools", | |
"version": "0.4.2" | |
}, | |
{ | |
"metadata": { | |
"id": "3cd12c20-0143-473f-b7f3-0d5f15cb7249", | |
"publisherId": "shakram02.bash-beautify", | |
"publisherDisplayName": "shakram02" | |
}, | |
"name": "bash-beautify", | |
"publisher": "shakram02", | |
"version": "0.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "697255a9-3f36-44c8-b084-d3b91edfb23a", | |
"publisherId": "HookyQR.beautify", | |
"publisherDisplayName": "HookyQR" | |
}, | |
"name": "beautify", | |
"publisher": "HookyQR", | |
"version": "1.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "464f4ac7-af65-4aa9-9907-4ba7fa419085", | |
"publisherId": "bungcip.better-toml", | |
"publisherDisplayName": "bungcip" | |
}, | |
"name": "better-toml", | |
"publisher": "bungcip", | |
"version": "0.3.2" | |
}, | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "Shan.code-settings-sync", | |
"publisherDisplayName": "Shan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "2.9.2" | |
}, | |
{ | |
"metadata": { | |
"id": "d0bfc4ab-1d3a-4487-8782-7cf6027b4fff", | |
"publisherId": "ms-vscode.csharp", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "csharp", | |
"publisher": "ms-vscode", | |
"version": "1.15.2" | |
}, | |
{ | |
"metadata": { | |
"id": "2bba45f2-4a48-41a6-bb86-d6ba5ab29a9f", | |
"publisherId": "felipecaputo.git-project-manager", | |
"publisherDisplayName": "felipecaputo" | |
}, | |
"name": "git-project-manager", | |
"publisher": "felipecaputo", | |
"version": "1.6.1" | |
}, | |
{ | |
"metadata": { | |
"id": "b75c12ec-9a82-45e7-aac2-1687e509a76b", | |
"publisherId": "sidneys1.gitconfig", | |
"publisherDisplayName": "sidneys1" | |
}, | |
"name": "gitconfig", | |
"publisher": "sidneys1", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "8.3.3" | |
}, | |
{ | |
"metadata": { | |
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da", | |
"publisherId": "ms-vscode.Go", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "Go", | |
"publisher": "ms-vscode", | |
"version": "0.6.81" | |
}, | |
{ | |
"metadata": { | |
"id": "9e9271b1-9234-4261-a069-c256db50fb2c", | |
"publisherId": "bmarkovic.haproxy", | |
"publisherDisplayName": "bmarkovic" | |
}, | |
"name": "haproxy", | |
"publisher": "bmarkovic", | |
"version": "0.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "86233e31-b5ac-4430-a8d1-1a8ae60137bc", | |
"publisherId": "akmittal.hugofy", | |
"publisherDisplayName": "akmittal" | |
}, | |
"name": "hugofy", | |
"publisher": "akmittal", | |
"version": "0.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "82dfe17d-bb64-404e-bcc5-f9803f7ab5d5", | |
"publisherId": "dbaeumer.jshint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "jshint", | |
"publisher": "dbaeumer", | |
"version": "0.10.18" | |
}, | |
{ | |
"metadata": { | |
"id": "5db78037-f674-459f-a236-db622c427c5b", | |
"publisherId": "PKief.material-icon-theme", | |
"publisherDisplayName": "PKief" | |
}, | |
"name": "material-icon-theme", | |
"publisher": "PKief", | |
"version": "3.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "a322b572-6aab-4523-845a-a87983ecfa04", | |
"publisherId": "jakeboone02.mediawiki", | |
"publisherDisplayName": "jakeboone02" | |
}, | |
"name": "mediawiki", | |
"publisher": "jakeboone02", | |
"version": "2.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "4bf45e86-a448-4531-8c01-ef33f4536306", | |
"publisherId": "ms-mssql.mssql", | |
"publisherDisplayName": "ms-mssql" | |
}, | |
"name": "mssql", | |
"publisher": "ms-mssql", | |
"version": "1.3.1" | |
}, | |
{ | |
"metadata": { | |
"id": "2693d80a-9310-4cc7-bf79-3a6c553afbdd", | |
"publisherId": "tomastvrdy.netsuite-upload", | |
"publisherDisplayName": "tomastvrdy" | |
}, | |
"name": "netsuite-upload", | |
"publisher": "tomastvrdy", | |
"version": "0.1.3" | |
}, | |
{ | |
"metadata": { | |
"id": "044b4b31-2969-4af3-895d-855433b8b46d", | |
"publisherId": "felixfbecker.php-debug", | |
"publisherDisplayName": "felixfbecker" | |
}, | |
"name": "php-debug", | |
"publisher": "felixfbecker", | |
"version": "1.12.3" | |
}, | |
{ | |
"metadata": { | |
"id": "5e69f001-f945-4c97-baf0-320d82a153b3", | |
"publisherId": "felixfbecker.php-intellisense", | |
"publisherDisplayName": "felixfbecker" | |
}, | |
"name": "php-intellisense", | |
"publisher": "felixfbecker", | |
"version": "2.3.2" | |
}, | |
{ | |
"metadata": { | |
"id": "1a9300c9-36a6-44d1-9d09-ada3641b8727", | |
"publisherId": "felixfbecker.php-pack", | |
"publisherDisplayName": "felixfbecker" | |
}, | |
"name": "php-pack", | |
"publisher": "felixfbecker", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "40d39ce9-c381-47a0-80c8-a6661f731eab", | |
"publisherId": "ms-vscode.PowerShell", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "PowerShell", | |
"publisher": "ms-vscode", | |
"version": "1.7.0" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "esbenp.prettier-vscode", | |
"publisherDisplayName": "esbenp" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "1.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5", | |
"publisherId": "ms-python.python", | |
"publisherDisplayName": "ms-python" | |
}, | |
"name": "python", | |
"publisher": "ms-python", | |
"version": "2018.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ae062c8a-c68e-4b92-9ecf-8f1d4288b05d", | |
"publisherId": "rebornix.Ruby", | |
"publisherDisplayName": "rebornix" | |
}, | |
"name": "Ruby", | |
"publisher": "rebornix", | |
"version": "0.18.0" | |
}, | |
{ | |
"metadata": { | |
"id": "3382cdf2-af9d-4b7d-9008-3c22969d6a8c", | |
"publisherId": "McCarter.start-git-bash", | |
"publisherDisplayName": "McCarter" | |
}, | |
"name": "start-git-bash", | |
"publisher": "McCarter", | |
"version": "1.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "e2c479df-2c90-4915-9015-595ef0d79bd5", | |
"publisherId": "ms-vsts.team", | |
"publisherDisplayName": "ms-vsts" | |
}, | |
"name": "team", | |
"publisher": "ms-vsts", | |
"version": "1.136.0" | |
}, | |
{ | |
"metadata": { | |
"id": "fb374ce1-5343-46c8-a425-900fdad15523", | |
"publisherId": "wesbos.theme-cobalt2", | |
"publisherDisplayName": "wesbos" | |
}, | |
"name": "theme-cobalt2", | |
"publisher": "wesbos", | |
"version": "2.1.6" | |
}, | |
{ | |
"metadata": { | |
"id": "893d887a-97ea-40e6-ae20-860eb6ad582e", | |
"publisherId": "bbenoist.vagrant", | |
"publisherDisplayName": "bbenoist" | |
}, | |
"name": "vagrant", | |
"publisher": "bbenoist", | |
"version": "0.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d0febfc8-15fa-4951-bad7-ad5c9682af4a", | |
"publisherId": "marcostazi.VS-code-vagrantfile", | |
"publisherDisplayName": "marcostazi" | |
}, | |
"name": "VS-code-vagrantfile", | |
"publisher": "marcostazi", | |
"version": "0.0.7" | |
}, | |
{ | |
"metadata": { | |
"id": "7752d5d1-7dab-46f8-bc86-ffca8c2d33e7", | |
"publisherId": "fabianlauer.vs-code-xml-format", | |
"publisherDisplayName": "fabianlauer" | |
}, | |
"name": "vs-code-xml-format", | |
"publisher": "fabianlauer", | |
"version": "0.1.5" | |
}, | |
{ | |
"metadata": { | |
"id": "085342db-9568-49b0-ad93-3223ac4c1baa", | |
"publisherId": "mrmlnc.vscode-apache", | |
"publisherDisplayName": "mrmlnc" | |
}, | |
"name": "vscode-apache", | |
"publisher": "mrmlnc", | |
"version": "1.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "1b160753-ae5e-42bb-82ad-d115ce5c10f4", | |
"publisherId": "be5invis.vscode-custom-css", | |
"publisherDisplayName": "be5invis" | |
}, | |
"name": "vscode-custom-css", | |
"publisher": "be5invis", | |
"version": "2.7.1" | |
}, | |
{ | |
"metadata": { | |
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f", | |
"publisherId": "PeterJausovec.vscode-docker", | |
"publisherDisplayName": "PeterJausovec" | |
}, | |
"name": "vscode-docker", | |
"publisher": "PeterJausovec", | |
"version": "0.0.27" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "1.4.12" | |
}, | |
{ | |
"metadata": { | |
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a", | |
"publisherId": "robertohuertasm.vscode-icons", | |
"publisherDisplayName": "robertohuertasm" | |
}, | |
"name": "vscode-icons", | |
"publisher": "robertohuertasm", | |
"version": "7.23.0" | |
}, | |
{ | |
"metadata": { | |
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643", | |
"publisherId": "DavidAnson.vscode-markdownlint", | |
"publisherDisplayName": "DavidAnson" | |
}, | |
"name": "vscode-markdownlint", | |
"publisher": "DavidAnson", | |
"version": "0.18.0" | |
}, | |
{ | |
"metadata": { | |
"id": "6989d633-909b-4ca5-b499-7160e45a54d6", | |
"publisherId": "jmrog.vscode-nuget-package-manager", | |
"publisherDisplayName": "jmrog" | |
}, | |
"name": "vscode-nuget-package-manager", | |
"publisher": "jmrog", | |
"version": "1.1.6" | |
}, | |
{ | |
"metadata": { | |
"id": "8130e01f-ac60-4803-ab86-f05469dd7b4d", | |
"publisherId": "kokororin.vscode-phpfmt", | |
"publisherDisplayName": "kokororin" | |
}, | |
"name": "vscode-phpfmt", | |
"publisher": "kokororin", | |
"version": "1.0.30" | |
}, | |
{ | |
"metadata": { | |
"id": "2061917f-f76a-458a-8da9-f162de22b97e", | |
"publisherId": "redhat.vscode-yaml", | |
"publisherDisplayName": "redhat" | |
}, | |
"name": "vscode-yaml", | |
"publisher": "redhat", | |
"version": "0.0.12" | |
}, | |
{ | |
"metadata": { | |
"id": "0cb81da2-1880-4755-9995-0ae9cc728e20", | |
"publisherId": "DotJoshJohnson.xml", | |
"publisherDisplayName": "DotJoshJohnson" | |
}, | |
"name": "xml", | |
"publisher": "DotJoshJohnson", | |
"version": "2.2.0" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ "key": "ctrl+u", "command": "netsuite-upload.uploadFile"}, | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"window.zoomLevel": 1, | |
"vsicons.dontShowNewVersionMessage": true, | |
"[ruby]": { | |
"files.trimTrailingWhitespace": true | |
}, | |
"workbench.iconTheme": "material-icon-theme", | |
"team.showWelcomeMessage": false, | |
"powershell.powerShellExePath": "C:\\WINDOWS\\SysWow64\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"files.autoSave": "afterDelay", | |
"git.autofetch": true, | |
"telemetry.enableTelemetry": false, | |
"editor.tabSize": 4, | |
"[yaml]": { | |
"editor.tabSize": 4, | |
}, | |
"yaml.format.enable": true, | |
"gitlens.advanced.messages": { | |
"suppressCommitHasNoPreviousCommitWarning": false, | |
"suppressCommitNotFoundWarning": false, | |
"suppressFileNotUnderSourceControlWarning": false, | |
"suppressGitVersionWarning": false, | |
"suppressLineUncommittedWarning": false, | |
"suppressNoRepositoryWarning": false, | |
"suppressResultsExplorerNotice": false, | |
"suppressShowKeyBindingsNotice": true | |
}, | |
"gitProjectManager.baseProjectsFolders": [ | |
"C:\\Code" | |
], | |
"search.exclude": { | |
"**/.git": true | |
}, | |
// Customizations for Cobalt2 theme | |
"workbench.colorTheme": "Cobalt2", | |
"editor.fontFamily": "Consolas, Fira Code, Operator Mono, Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontSize": 17, | |
"editor.lineHeight": 25, | |
"editor.letterSpacing": 0.5, | |
"files.trimTrailingWhitespace": true, | |
"editor.fontWeight": "400", | |
"prettier.eslintIntegration": true, | |
"editor.cursorStyle": "line", | |
"editor.cursorWidth": 3, | |
"editor.cursorBlinking": "solid", | |
// Very important: Install this plugin: https://github.com/be5invis/vscode-custom-css | |
// you'll need to change this to an absolute path on your computer | |
"vscode_custom_css.imports": [ | |
"C:\\Users\\lsilverman\\.vscodestyles.css" | |
], | |
"editor.renderWhitespace": "all", | |
"editor.fontLigatures": true, | |
"editor.minimap.enabled": true, | |
"gitlens.historyExplorer.enabled": true, | |
"sync.gist": "", | |
"sync.host": "", | |
"sync.pathPrefix": "", | |
"sync.quietSync": false, | |
"sync.askGistName": false, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
"sync.autoDownload": false, | |
"sync.autoUpload": false, | |
"sync.lastUpload": "2018-06-04T21:26:19.210Z", | |
"sync.lastDownload": "", | |
"sync.forceDownload": false | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
/* | |
// Place your snippets for JSON here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, ${id} and ${id:label} and ${1:label} for variables. Variables with the same id are connected. | |
// Example: | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log('$1');", | |
"$2" | |
], | |
"description": "Log output to console" | |
} | |
*/ | |
/* | |
// Azure Resource Manager Template Snippets | |
*/ | |
"Azure Resource Manager (ARM) Template": { | |
"prefix": "arm!", | |
"body": [ | |
"{", | |
" \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",", | |
" \"contentVersion\": \"1.0.0.0\",", | |
" \"parameters\": {},", | |
" \"variables\": {},", | |
" \"resources\": [],", | |
" \"outputs\": {}", | |
"}" | |
], | |
"description": "Skeleton ARM Template" | |
}, | |
"App Service Plan (Server Farm)": { | |
"prefix": "arm-plan", | |
"body": [ | |
"{", | |
" \"apiVersion\": \"2014-06-01\",", | |
" \"name\": \"${AppServicePlan1}\",", | |
" \"type\": \"Microsoft.Web/serverfarms\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"sku\": {", | |
" \"name\": \"F1\",", | |
" \"capacity\": 1", | |
" },", | |
" \"tags\": {", | |
" \"displayName\": \"${AppServicePlan1}\"", | |
" },", | |
" \"properties\": {", | |
" \"name\": \"${AppServicePlan1}\"", | |
" }", | |
"}" | |
], | |
"description": "App Service Plan (Server Farm)" | |
}, | |
"Application Insights for Web Apps": { | |
"prefix": "arm-ai", | |
"body": [ | |
"{", | |
" \"name\": \"${AppInsights1}-${APP_SERVICE_PLAN_NAME}-AutoScaleSettings\",", | |
" \"type\": \"Microsoft.Insights/autoscalesettings\",", | |
" \"apiVersion\": \"2014-04-01\",", | |
" \"location\": \"East US\",", | |
" \"tags\": {", | |
" \"[concat('hidden-link:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/${APP_SERVICE_PLAN_NAME}')]\": \"Resource\",", | |
" \"displayName\": \"${AppInsights1} AutoScale Settings for ${APP_SERVICE_PLAN_NAME}\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"Microsoft.Web/serverfarms/${APP_SERVICE_PLAN_NAME}\"", | |
" ],", | |
" \"properties\": {", | |
" \"name\": \"${AppInsights1}-${APP_SERVICE_PLAN_NAME}-AutoScaleSettings\",", | |
" \"profiles\": [", | |
" {", | |
" \"name\": \"Default\",", | |
" \"capacity\": {", | |
" \"minimum\": 1,", | |
" \"maximum\": 2,", | |
" \"default\": 1", | |
" },", | |
" \"rules\": [", | |
" {", | |
" \"metricTrigger\": {", | |
" \"metricName\": \"CpuPercentage\",", | |
" \"metricResourceUri\": \"[concat(resourceGroup().id, '/providers/Microsoft.Web/serverfarms/${APP_SERVICE_PLAN_NAME}')]\",", | |
" \"timeGrain\": \"PT1M\",", | |
" \"statistic\": \"Average\",", | |
" \"timeWindow\": \"PT10M\",", | |
" \"timeAggregation\": \"Average\",", | |
" \"operator\": \"GreaterThan\",", | |
" \"threshold\": 80.0", | |
" },", | |
" \"scaleAction\": {", | |
" \"direction\": \"Increase\",", | |
" \"type\": \"ChangeCount\",", | |
" \"value\": 1,", | |
" \"cooldown\": \"PT10M\"", | |
" }", | |
" },", | |
" {", | |
" \"metricTrigger\": {", | |
" \"metricName\": \"CpuPercentage\",", | |
" \"metricResourceUri\": \"[concat(resourceGroup().id, '/providers/Microsoft.Web/serverfarms/${APP_SERVICE_PLAN_NAME}')]\",", | |
" \"timeGrain\": \"PT1M\",", | |
" \"statistic\": \"Average\",", | |
" \"timeWindow\": \"PT1H\",", | |
" \"timeAggregation\": \"Average\",", | |
" \"operator\": \"LessThan\",", | |
" \"threshold\": 60.0", | |
" },", | |
" \"scaleAction\": {", | |
" \"direction\": \"Decrease\",", | |
" \"type\": \"ChangeCount\",", | |
" \"value\": 1,", | |
" \"cooldown\": \"PT1H\"", | |
" }", | |
" }", | |
" ]", | |
" }", | |
" ],", | |
" \"enabled\": false,", | |
" \"targetResourceUri\": \"[concat(resourceGroup().id, '/providers/Microsoft.Web/serverfarms/${APP_SERVICE_PLAN_NAME}')]\"", | |
" }", | |
"},", | |
"{", | |
" \"apiVersion\": \"2014-04-01\",", | |
" \"name\": \"${AppInsights1}-CPUHigh-${APP_SERVICE_PLAN_NAME}\",", | |
" \"type\": \"Microsoft.Insights/alertrules\",", | |
" \"location\": \"East US\",", | |
" \"tags\": {", | |
" \"[concat('hidden-link:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/${APP_SERVICE_PLAN_NAME}')]\": \"Resource\",", | |
" \"displayName\": \"${AppInsights1} CPUHigh rule for ${APP_SERVICE_PLAN_NAME}\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"Microsoft.Web/serverfarms/${APP_SERVICE_PLAN_NAME}\"", | |
" ],", | |
" \"properties\": {", | |
" \"name\": \"${AppInsights1}-CPUHigh-${APP_SERVICE_PLAN_NAME}\",", | |
" \"description\": \"The average CPU is high across all the instances of ${APP_SERVICE_PLAN_NAME}\",", | |
" \"isEnabled\": false,", | |
" \"condition\": {", | |
" \"odata.type\": \"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition\",", | |
" \"dataSource\": {", | |
" \"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource\",", | |
" \"resourceUri\": \"[concat(resourceGroup().id, '/providers/Microsoft.Web/serverfarms/${APP_SERVICE_PLAN_NAME}')]\",", | |
" \"metricName\": \"CpuPercentage\"", | |
" },", | |
" \"operator\": \"GreaterThan\",", | |
" \"threshold\": 90,", | |
" \"windowSize\": \"PT15M\"", | |
" },", | |
" \"action\": {", | |
" \"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleEmailAction\",", | |
" \"sendToServiceOwners\": true,", | |
" \"customEmails\": []", | |
" }", | |
" }", | |
"},", | |
"{", | |
" \"apiVersion\": \"2014-04-01\",", | |
" \"name\": \"${AppInsights1}-LongHttpQueue-${APP_SERVICE_PLAN_NAME}\",", | |
" \"type\": \"Microsoft.Insights/alertrules\",", | |
" \"location\": \"East US\",", | |
" \"tags\": {", | |
" \"[concat('hidden-link:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/${APP_SERVICE_PLAN_NAME}')]\": \"Resource\",", | |
" \"displayName\": \"${AppInsights1} LongHttpQueue rule for ${APP_SERVICE_PLAN_NAME}\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"Microsoft.Web/serverfarms/${APP_SERVICE_PLAN_NAME}\"", | |
" ],", | |
" \"properties\": {", | |
" \"name\": \"${AppInsights1}-LongHttpQueue-${APP_SERVICE_PLAN_NAME}\",", | |
" \"description\": \"The HTTP queue for the instances of ${APP_SERVICE_PLAN_NAME} has a large number of pending requests.\",", | |
" \"isEnabled\": false,", | |
" \"condition\": {", | |
" \"odata.type\": \"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition\",", | |
" \"dataSource\": {", | |
" \"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource\",", | |
" \"resourceUri\": \"[concat(resourceGroup().id, '/providers/Microsoft.Web/serverfarms/${APP_SERVICE_PLAN_NAME}')]\",", | |
" \"metricName\": \"HttpQueueLength\"", | |
" },", | |
" \"operator\": \"GreaterThan\",", | |
" \"threshold\": 100.0,", | |
" \"windowSize\": \"PT5M\"", | |
" },", | |
" \"action\": {", | |
" \"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleEmailAction\",", | |
" \"sendToServiceOwners\": true,", | |
" \"customEmails\": []", | |
" }", | |
" }", | |
"},", | |
"{", | |
" \"apiVersion\": \"2014-04-01\",", | |
" \"name\": \"${AppInsights1}-ServerErrors-${WEB_APP_NAME}\",", | |
" \"type\": \"Microsoft.Insights/alertrules\",", | |
" \"location\": \"East US\",", | |
" \"tags\": {", | |
" \"[concat('hidden-link:', resourceGroup().id, '/providers/Microsoft.Web/sites/${WEB_APP_NAME}')]\": \"Resource\",", | |
" \"displayName\": \"${AppInsights1} ServerErrors rule for ${WEB_APP_NAME}\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"Microsoft.Web/sites/${WEB_APP_NAME}\"", | |
" ],", | |
" \"properties\": {", | |
" \"name\": \"${AppInsights1}-ServerErrors-${WEB_APP_NAME}\",", | |
" \"description\": \"${WEB_APP_NAME} has some server errors, status code 5xx.\",", | |
" \"isEnabled\": false,", | |
" \"condition\": {", | |
" \"odata.type\": \"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition\",", | |
" \"dataSource\": {", | |
" \"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource\",", | |
" \"resourceUri\": \"[concat(resourceGroup().id, '/providers/Microsoft.Web/sites/${WEB_APP_NAME}')]\",", | |
" \"metricName\": \"Http5xx\"", | |
" },", | |
" \"operator\": \"GreaterThan\",", | |
" \"threshold\": 0.0,", | |
" \"windowSize\": \"PT5M\"", | |
" },", | |
" \"action\": {", | |
" \"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleEmailAction\",", | |
" \"sendToServiceOwners\": true,", | |
" \"customEmails\": []", | |
" }", | |
" }", | |
"},", | |
"{", | |
" \"apiVersion\": \"2014-04-01\",", | |
" \"name\": \"${AppInsights1}-ForbiddenRequests-${WEB_APP_NAME}\",", | |
" \"type\": \"Microsoft.Insights/alertrules\",", | |
" \"location\": \"East US\",", | |
" \"tags\": {", | |
" \"displayName\": \"${AppInsights1} ForbiddenRequests rule for ${WEB_APP_NAME}\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"Microsoft.Web/sites/${WEB_APP_NAME}\"", | |
" ],", | |
" \"properties\": {", | |
" \"name\": \"${AppInsights1}-ForbiddenRequests-${WEB_APP_NAME}\",", | |
" \"description\": \"${WEB_APP_NAME} has some requests that are forbidden, status code 403.\",", | |
" \"isEnabled\": false,", | |
" \"condition\": {", | |
" \"odata.type\": \"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition\",", | |
" \"dataSource\": {", | |
" \"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource\",", | |
" \"resourceUri\": \"[concat(resourceGroup().id, '/providers/Microsoft.Web/sites/${WEB_APP_NAME}')]\",", | |
" \"metricName\": \"Http403\"", | |
" },", | |
" \"operator\": \"GreaterThan\",", | |
" \"threshold\": 0,", | |
" \"windowSize\": \"PT5M\"", | |
" },", | |
" \"action\": {", | |
" \"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleEmailAction\",", | |
" \"sendToServiceOwners\": true,", | |
" \"customEmails\": []", | |
" }", | |
" }", | |
"},", | |
"{", | |
" \"apiVersion\": \"2014-04-01\",", | |
" \"name\": \"${AppInsights1}\",", | |
" \"type\": \"Microsoft.Insights/components\",", | |
" \"location\": \"Central US\",", | |
" \"tags\": {", | |
" \"displayName\": \"${AppInsights1} Component for ${WEB_APP_NAME}\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"Microsoft.Web/sites/${WEB_APP_NAME}\"", | |
" ],", | |
" \"properties\": {", | |
" \"applicationId\": \"${WEB_APP_NAME}\"", | |
" }", | |
"}" | |
], | |
"description": "Application Insights for Web Apps" | |
}, | |
"Availability Set": { | |
"prefix": "arm-avail", | |
"body": [ | |
"{", | |
" \"type\": \"Microsoft.Compute/availabilitySets\",", | |
" \"name\": \"${AvailabilitySet1}\",", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${AvailabilitySet1}\"", | |
" },", | |
" \"properties\": {}", | |
"}" | |
], | |
"description": "Availability Set" | |
}, | |
"Custom Script for Linux Extension": { | |
"prefix": "arm-script-linux", | |
"body": [ | |
"{", | |
" \"type\": \"Microsoft.Compute/virtualMachines/extensions\",", | |
" \"name\": \"${UbuntuVM1}/${CustomScript1}\",", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${CustomScript1} for Linux VM\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"Microsoft.Compute/virtualMachines/${UbuntuVM1}\"", | |
" ],", | |
" \"properties\": {", | |
" \"publisher\": \"Microsoft.OSTCExtensions\",", | |
" \"type\": \"CustomScriptForLinux\",", | |
" \"typeHandlerVersion\": \"1.4\",", | |
" \"autoUpgradeMinorVersion\": true,", | |
" \"settings\": {", | |
" \"fileUris\": [", | |
" \"[concat(parameters('_artifactsLocation'), '/${Scripts}/${CustomScript.sh}', parameters('_artifactsLocationSasToken'))]\"", | |
" ],", | |
" \"commandToExecute\": \"sh ${CustomScript.sh}\"", | |
" }", | |
" }", | |
"}" | |
], | |
"description": "Custom Script for Linux Extension" | |
}, | |
"Custom Script for Windows Extension": { | |
"prefix": "arm-script-windows", | |
"body": [ | |
"{", | |
" \"type\": \"Microsoft.Compute/virtualMachines/extensions\",", | |
" \"name\": \"${WindowsVM1}/${CustomScript1}\",", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${CustomScript1} for Windows VM\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"Microsoft.Compute/virtualMachines/${WindowsVM1}\"", | |
" ],", | |
" \"properties\": {", | |
" \"publisher\": \"Microsoft.Compute\",", | |
" \"type\": \"CustomScriptExtension\",", | |
" \"typeHandlerVersion\": \"1.4\",", | |
" \"autoUpgradeMinorVersion\": true,", | |
" \"settings\": {", | |
" \"fileUris\": [", | |
" \"[concat(parameters('_artifactsLocation'), '/${Scripts}/${CustomScript.ps1}', parameters('_artifactsLocationSasToken'))]\"", | |
" ],", | |
" \"commandToExecute\": \"powershell -ExecutionPolicy Bypass -file ${CustomScript.ps1}\"", | |
" }", | |
" }", | |
"}" | |
], | |
"description": "Custom Script for Windows Extension" | |
}, | |
"MySQL Database": { | |
"prefix": "arm-mysql", | |
"body": [ | |
"{", | |
" \"apiVersion\": \"2014-04-01\",", | |
" \"tags\": {", | |
" \"provision_source\": \"RMS\",", | |
" \"displayName\": \"${MySQLdb1}\"", | |
" },", | |
" \"plan\": {", | |
" \"name\": \"Free\"", | |
" },", | |
" \"name\": \"${MySQLdb1}\",", | |
" \"type\": \"SuccessBricks.ClearDB/databases\",", | |
" \"location\": \"[resourceGroup().location]\"", | |
"}" | |
], | |
"description": "MySQL Database" | |
}, | |
"Nested Deployment": { | |
"prefix": "arm-nest", | |
"body": [ | |
"{", | |
" \"name\": \"${NestedDeployment1}\",", | |
" \"type\": \"Microsoft.Resources/deployments\",", | |
" \"apiVersion\": \"2015-01-01\",", | |
" \"tags\": {", | |
" \"displayName\": \"${NestedDeployment1}\"", | |
" },", | |
" \"properties\": {", | |
" \"mode\": \"Incremental\",", | |
" \"templateLink\": {", | |
" \"uri\": \"[concat(parameters('_artifactsLocation'), '/${NestedTemplates}/${NestedTemplate.json}', parameters('_artifactsLocationSasToken'))]\",", | |
" \"contentVersion\": \"1.0.0.0\"", | |
" },", | |
" \"parameters\": {}", | |
" }", | |
"}" | |
], | |
"description": "Nested Deployment" | |
}, | |
"Network Interface": { | |
"prefix": "arm-nic", | |
"body": [ | |
"{", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"type\": \"Microsoft.Network/networkInterfaces\",", | |
" \"name\": \"${NetworkInterface1}\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${NetworkInterface1}\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"Microsoft.Network/virtualNetworks/${VirtualNetwork1}\"", | |
" ],", | |
" \"properties\": {", | |
" \"ipConfigurations\": [", | |
" {", | |
" \"name\": \"ipconfig1\",", | |
" \"properties\": {", | |
" \"privateIPAllocationMethod\": \"Dynamic\",", | |
" \"subnet\": {", | |
" \"id\": \"[concat(resourceId('Microsoft.Network/virtualNetworks', '${VirtualNetwork1}'), '/subnets/${VirtualNetwork1-Subnet}')]\"", | |
" }", | |
" }", | |
" }", | |
" ]", | |
" }", | |
"}" | |
], | |
"description": "Network Interface" | |
}, | |
"PowerShell DSC Extension": { | |
"prefix": "arm-dsc", | |
"body": [ | |
"{", | |
" \"type\": \"Microsoft.Compute/virtualMachines/extensions\",", | |
" \"name\": \"${VM_NAME}/${DSCScript1}\",", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${VM_NAME}/${DSCScript1}\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"Microsoft.Compute/virtualMachines/${VM_NAME}\"", | |
" ],", | |
" \"properties\": {", | |
" \"publisher\": \"Microsoft.Powershell\",", | |
" \"type\": \"DSC\",", | |
" \"typeHandlerVersion\": \"2.9\",", | |
" \"autoUpgradeMinorVersion\": true,", | |
" \"settings\": {", | |
" \"modulesUrl\": \"[concat(parameters('_artifactsLocation'), '/${DSCModules}/${dsc.zip}')]\",", | |
" \"sasToken\": \"[parameters('_artifactsLocationSasToken')]\",", | |
" \"configurationFunction\": \"${CONFIGURATION_FUNCTION}\",", | |
" \"properties\": {", | |
" \"nodeName\": \"${VM_NAME}\"", | |
" }", | |
" },", | |
" \"protectedSettings\": {}", | |
" }", | |
"}" | |
], | |
"description": "PowerShell DSC Extension" | |
}, | |
"Public IP Address": { | |
"prefix": "arm-ip", | |
"body": [ | |
"{", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"type\": \"Microsoft.Network/publicIPAddresses\",", | |
" \"name\": \"${IPAddress1}\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${IPAddress1}\"", | |
" },", | |
" \"properties\": {", | |
" \"publicIPAllocationMethod\": \"Dynamic\",", | |
" \"dnsSettings\": {", | |
" \"domainNameLabel\": \"${DNS_NAME}\"", | |
" }", | |
" }", | |
"}" | |
], | |
"description": "Public IP Address" | |
}, | |
"Redis Cache": { | |
"prefix": "arm-redis", | |
"body": [ | |
"{", | |
" \"apiVersion\": \"2014-04-01-preview\",", | |
" \"name\": \"${RedisCache1}\",", | |
" \"type\": \"Microsoft.Cache/Redis\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${RedisCache1}\"", | |
" },", | |
" \"properties\": {", | |
" \"sku\": {", | |
" \"name\": \"Basic\",", | |
" \"family\": \"C\",", | |
" \"capacity\": 0", | |
" },", | |
" \"redisVersion\": \"2.8\"", | |
" }", | |
"}" | |
], | |
"description": "Redis Cache" | |
}, | |
"SQL Database": { | |
"prefix": "arm-sqldb", | |
"body": [ | |
"{", | |
" \"type\": \"Microsoft.Sql/servers/databases\",", | |
" \"name\": \"${SERVER_NAME}/${SQLdb1}\",", | |
" \"apiVersion\": \"2014-04-01-preview\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${SQLdb1}\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"${SERVER_NAME}\"", | |
" ],", | |
" \"properties\": {", | |
" \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",", | |
" \"edition\": \"Basic\",", | |
" \"maxSizeBytes\": \"1073741824\",", | |
" \"requestedServiceObjectiveName\": \"Basic\"", | |
" }", | |
"}" | |
], | |
"description": "SQL Database" | |
}, | |
"SQL Database Import": { | |
"prefix": "arm-dbimp", | |
"body": [ | |
"{", | |
" \"name\": \"${DATABASE_NAME}Import1\",", | |
" \"type\": \"Microsoft.Compute/virtualMachines/extensions\",", | |
" \"apiVersion\": \"2014-04-01-preview\",", | |
" \"dependsOn\": [", | |
" \"Microsoft.Sql/servers/${SQL_SERVER_NAME}/databases/${DATABASE_NAME}\"", | |
" ],", | |
" \"tags\": {", | |
" \"displayName\": \"SQL Database Import for ${DATABASE_NAME}\"", | |
" },", | |
" \"properties\": {", | |
" \"storageKeyType\": \"${Primary}\",", | |
" \"storageKey\": \"${STORAGE_KEY}\",", | |
" \"storageUri\": \"${STORAGE_KEY_URI}\",", | |
" \"administratorLogin\": \"${ADMIN_USERNAME}\",", | |
" \"administratorLoginPassword\": \"${ADMIN_PASSWORD}\",", | |
" \"operationMode\": \"Import\"", | |
" }", | |
"}" | |
], | |
"description": "SQL Database Import" | |
}, | |
"SQL Server": { | |
"prefix": "arm-sqlsvr", | |
"body": [ | |
"{", | |
" \"apiVersion\": \"2014-04-01-preview\",", | |
" \"name\": \"${sqlserver1}\",", | |
" \"type\": \"Microsoft.Sql/servers\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${sqlserver1}\"", | |
" },", | |
" \"properties\": {", | |
" \"administratorLogin\": \"${ADMIN_USERNAME}\",", | |
" \"administratorLoginPassword\": \"${ADMIN_PASSWORD}\"", | |
" },", | |
" \"resources\": [", | |
" {", | |
" \"apiVersion\": \"2014-04-01-preview\",", | |
" \"dependsOn\": [", | |
" \"Microsoft.Sql/servers/${sqlserver1}\"", | |
" ],", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"name\": \"AllowAllWindowsAzureIps\",", | |
" \"properties\": {", | |
" \"startIpAddress\": \"0.0.0.0\",", | |
" \"endIpAddress\": \"0.0.0.0\"", | |
" },", | |
" \"type\": \"firewallrules\"", | |
" }", | |
" ]", | |
"}" | |
], | |
"description": "SQL Server" | |
}, | |
"Storage Account": { | |
"prefix": "arm-stg", | |
"body": [ | |
"{", | |
" \"type\": \"Microsoft.Storage/storageAccounts\",", | |
" \"name\": \"${StorageAccount1}\",", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${StorageAccount1}\"", | |
" },", | |
" \"properties\": {", | |
" \"accountType\": \"Standard_LRS\"", | |
" }", | |
"}" | |
], | |
"description": "Storage Account" | |
}, | |
"Ubuntu Virtual Machine": { | |
"prefix": "arm-vm-ubuntu", | |
"body": [ | |
"{", | |
" \"type\": \"Microsoft.Storage/storageAccounts\",", | |
" \"name\": \"[toLower('${UbuntuVM1}storage')]\",", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${UbuntuVM1} Storage Account\"", | |
" },", | |
" \"properties\": {", | |
" \"accountType\": \"Standard_LRS\"", | |
" }", | |
"},", | |
"{", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"type\": \"Microsoft.Network/publicIPAddresses\",", | |
" \"name\": \"${UbuntuVM1}-PublicIP\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"PublicIPAddress\"", | |
" },", | |
" \"properties\": {", | |
" \"publicIPAllocationMethod\": \"Dynamic\",", | |
" \"dnsSettings\": {", | |
" \"domainNameLabel\": \"[toLower('${UbuntuVM1}')]\"", | |
" }", | |
" }", | |
"},", | |
"{", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"type\": \"Microsoft.Network/virtualNetworks\",", | |
" \"name\": \"${UbuntuVM1}-VirtualNetwork\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"VirtualNetwork\"", | |
" },", | |
" \"properties\": {", | |
" \"addressSpace\": {", | |
" \"addressPrefixes\": [", | |
" \"10.0.0.0/16\"", | |
" ]", | |
" },", | |
" \"subnets\": [", | |
" {", | |
" \"name\": \"${UbuntuVM1}-VirtualNetwork-Subnet\",", | |
" \"properties\": {", | |
" \"addressPrefix\": \"10.0.0.0/24\"", | |
" }", | |
" }", | |
" ]", | |
" }", | |
"},", | |
"{", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"type\": \"Microsoft.Network/networkInterfaces\",", | |
" \"name\": \"${UbuntuVM1}-NetworkInterface\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"dependsOn\": [", | |
" \"Microsoft.Network/publicIPAddresses/${UbuntuVM1}-PublicIP\",", | |
" \"Microsoft.Network/virtualNetworks/${UbuntuVM1}-VirtualNetwork\"", | |
" ],", | |
" \"tags\": {", | |
" \"displayName\": \"${UbuntuVM1}-NetworkInterface\"", | |
" },", | |
" \"properties\": {", | |
" \"ipConfigurations\": [", | |
" {", | |
" \"name\": \"ipconfig1\",", | |
" \"properties\": {", | |
" \"privateIPAllocationMethod\": \"Dynamic\",", | |
" \"publicIPAddress\": {", | |
" \"id\": \"[resourceId('Microsoft.Network/publicIPAddresses', '${UbuntuVM1}-VirtualNetwork')]\"", | |
" },", | |
" \"subnet\": {", | |
" \"id\": \"[concat(resourceId('Microsoft.Network/virtualNetworks', '${UbuntuVM1}-VirtualNetwork'), '/subnets/${UbuntuVM1}-VirtualNetwork-Subnet')]\"", | |
" }", | |
" }", | |
" }", | |
" ]", | |
" }", | |
"},", | |
"{", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"type\": \"Microsoft.Compute/virtualMachines\",", | |
" \"name\": \"${UbuntuVM1}\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"dependsOn\": [", | |
" \"[concat('Microsoft.Storage/storageAccounts/', toLower('${UbuntuVM1}storage'))]\",", | |
" \"Microsoft.Network/networkInterfaces/${UbuntuVM1}-NetworkInterface\"", | |
" ],", | |
" \"tags\": {", | |
" \"displayName\": \"${UbuntuVM1}\"", | |
" },", | |
" \"properties\": {", | |
" \"hardwareProfile\": {", | |
" \"vmSize\": \"Standard_D1\"", | |
" },", | |
" \"osProfile\": {", | |
" \"computerName\": \"${UbuntuVM1}\",", | |
" \"adminUsername\": \"${ADMIN_USERNAME}\",", | |
" \"adminPassword\": \"${ADMIN_PASSWORD}\"", | |
" },", | |
" \"storageProfile\": {", | |
" \"imageReference\": {", | |
" \"publisher\": \"Canonical\",", | |
" \"offer\": \"UbuntuServer\",", | |
" \"sku\": \"15.04\",", | |
" \"version\": \"latest\"", | |
" },", | |
" \"osDisk\": {", | |
" \"name\": \"${UbuntuVM1}-OSDisk\",", | |
" \"vhd\": {", | |
" \"uri\": \"[concat('http://', toLower('${UbuntuVM1}storage'), '.blob.core.windows.net/vhds/${UbuntuVM1}-OSDisk.vhd\"", | |
" },", | |
" \"caching\": \"ReadWrite\",", | |
" \"createOption\": \"FromImage\"", | |
" }", | |
" },", | |
" \"networkProfile\": {", | |
" \"networkInterfaces\": [", | |
" {", | |
" \"id\": \"[resourceId('Microsoft.Network/networkInterfaces', '${UbuntuVM1}-NetworkInterface')]\"", | |
" }", | |
" ]", | |
" }", | |
" }", | |
"}" | |
], | |
"description": "Ubuntu Virtual Machine" | |
}, | |
"Virtual Network": { | |
"prefix": "arm-vn", | |
"body": [ | |
"{", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"type\": \"Microsoft.Network/virtualNetworks\",", | |
" \"name\": \"${VirtualNetwork1}\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${VirtualNetwork1}\"", | |
" },", | |
" \"properties\": {", | |
" \"addressSpace\": {", | |
" \"addressPrefixes\": [", | |
" \"10.0.0.0/16\"", | |
" ]", | |
" },", | |
" \"subnets\": [", | |
" {", | |
" \"name\": \"Subnet-1\",", | |
" \"properties\": {", | |
" \"addressPrefix\": \"10.0.0.0/24\"", | |
" }", | |
" },", | |
" {", | |
" \"name\": \"Subnet-2\",", | |
" \"properties\": {", | |
" \"addressPrefix\": \"10.0.1.0/24\"", | |
" }", | |
" }", | |
" ]", | |
" }", | |
"}" | |
], | |
"description": "Virtual Network" | |
}, | |
"Web App": { | |
"prefix": "arm-webapp", | |
"body": [ | |
"{", | |
" \"apiVersion\": \"2015-08-01\",", | |
" \"name\": \"${WEB_APP_NAME}\",", | |
" \"type\": \"Microsoft.Web/sites\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/${APP_SERVICE_PLAN_NAME}')]\": \"Resource\",", | |
" \"displayName\": \"${WEB_APP_NAME}\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"Microsoft.Web/serverfarms/${APP_SERVICE_PLAN_NAME}\"", | |
" ],", | |
" \"properties\": {", | |
" \"name\": \"${WEB_APP_NAME}\",", | |
" \"serverFarmId\": \"[resourceId('Microsoft.Web/serverfarms/', '${APP_SERVICE_PLAN_NAME}')]\"", | |
" }", | |
"}" | |
], | |
"description": "Web App" | |
}, | |
"Web Deploy for Web Apps": { | |
"prefix": "arm-webdeploy", | |
"body": [ | |
"{", | |
" \"apiVersion\": \"2014-06-01\",", | |
" \"name\": \"Deploy-${WEB_APP_NAME}\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"type\": \"Microsoft.Compute/virtualMachines/extensions\",", | |
" \"dependsOn\": [", | |
" \"Microsoft.Web/sites/${WEB_APP_NAME}\"", | |
" ],", | |
" \"tags\": {", | |
" \"displayName\": \"Web Deploy for ${WEB_APP_NAME}\"", | |
" },", | |
" \"properties\": {", | |
" \"packageUri\": \"[concat(parameters('_artifactsLocation'), '/${WebPackages}/${WEB_APP_NAME}.zip', parameters('_artifactsLocationSasToken'))]\",", | |
" \"dbType\": \"None\",", | |
" \"connectionString\": \"\",", | |
" \"setParameters\": {", | |
" \"IIS Web Application Name\": \"${WEB_APP_NAME}\"", | |
" }", | |
" }", | |
"}" | |
], | |
"description": "Web Deploy for Web Apps" | |
}, | |
"Windows Azure Diagnostics Extension": { | |
"prefix": "arm-diag", | |
"body": [ | |
"{", | |
" \"type\": \"Microsoft.Compute/virtualMachines/extensions\",", | |
" \"name\": \"${VM_NAME}/Diagnostics\",", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"Windows Azure Diagnostics Extension for ${VM_NAME}\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"Microsoft.Compute/virtualMachines/${VM_NAME}\",", | |
" \"Microsoft.Storage/storageAccounts/${DIAGNOSTICS_STORAGE_ACCOUNT}\"", | |
" ],", | |
" \"properties\": {", | |
" \"publisher\": \"Microsoft.Azure.Diagnostics\",", | |
" \"type\": \"IaaSDiagnostics\",", | |
" \"typeHandlerVersion\": \"1.5\",", | |
" \"autoUpgradeMinorVersion\": true,", | |
" \"settings\": {", | |
" \"xmlCfg\": \"[base64('<WadCfg> <DiagnosticMonitorConfiguration overallQuotaInMB=\\\"4096\\\" xmlns=\\\"http: //schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration\\\"> <DiagnosticInfrastructureLogs scheduledTransferLogLevelFilter=\\\"Error\\\"/> <Logs scheduledTransferPeriod=\\\"PT1M\\\" scheduledTransferLogLevelFilter=\\\"Error\\\" /> <Directories scheduledTransferPeriod=\\\"PT1M\\\"> <IISLogs containerName =\\\"wad-iis-logfiles\\\" /> <FailedRequestLogs containerName =\\\"wad-failedrequestlogs\\\" /> </Directories> <WindowsEventLog scheduledTransferPeriod=\\\"PT1M\\\" > <DataSource name=\\\"Application!*\\\" /> </WindowsEventLog> <CrashDumps containerName=\\\"wad-crashdumps\\\" dumpType=\\\"Mini\\\"> <CrashDumpConfiguration processName=\\\"WaIISHost.exe\\\"/> <CrashDumpConfiguration processName=\\\"WaWorkerHost.exe\\\"/> <CrashDumpConfiguration processName=\\\"w3wp.exe\\\"/> </CrashDumps> <PerformanceCounters scheduledTransferPeriod=\\\"PT1M\\\"> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\Memory\\\\\\\\Available MBytes\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\Web Service(_Total)\\\\\\\\ISAPI Extension Requests/sec\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\Web Service(_Total)\\\\\\\\Bytes Total/Sec\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\ASP.NET Applications(__Total__)\\\\\\\\Requests/Sec\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\ASP.NET Applications(__Total__)\\\\\\\\Errors Total/Sec\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\ASP.NET\\\\\\\\Requests Queued\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\ASP.NET\\\\\\\\Requests Rejected\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\Processor(_Total)\\\\\\\\% Processor Time\\\" sampleRate=\\\"PT3M\\\" /> </PerformanceCounters> </DiagnosticMonitorConfiguration> </WadCfg>')]\",", | |
" \"storageAccount\": \"${DIAGNOSTICS_STORAGE_ACCOUNT}\"", | |
" },", | |
" \"protectedSettings\": {", | |
" \"storageAccountName\": \"${DIAGNOSTICS_STORAGE_ACCOUNT}\",", | |
" \"storageAccountKey\": \"[listkeys(concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.Storage/storageAccounts/${DIAGNOSTICS_STORAGE_ACCOUNT}'), '2015-06-15').key1]\",", | |
" \"storageAccountEndPoint\": \"https://core.windows.net\"", | |
" }", | |
" }", | |
"}" | |
], | |
"description": "Windows Azure Diagnostics Extension" | |
}, | |
"Windows Virtual Machine": { | |
"prefix": "arm-vm-windows", | |
"body": [ | |
"{", | |
" \"type\": \"Microsoft.Storage/storageAccounts\",", | |
" \"name\": \"[toLower('${WindowsVM1}storage')]\",", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${WindowsVM1} Storage Account\"", | |
" },", | |
" \"properties\": {", | |
" \"accountType\": \"Standard_LRS\"", | |
" }", | |
"},", | |
"{", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"type\": \"Microsoft.Network/publicIPAddresses\",", | |
" \"name\": \"${WindowsVM1}-PublicIP\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"PublicIPAddress\"", | |
" },", | |
" \"properties\": {", | |
" \"publicIPAllocationMethod\": \"Dynamic\",", | |
" \"dnsSettings\": {", | |
" \"domainNameLabel\": \"[toLower('${WindowsVM1}')]\"", | |
" }", | |
" }", | |
"},", | |
"{", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"type\": \"Microsoft.Network/virtualNetworks\",", | |
" \"name\": \"${WindowsVM1}-VirtualNetwork\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"VirtualNetwork\"", | |
" },", | |
" \"properties\": {", | |
" \"addressSpace\": {", | |
" \"addressPrefixes\": [", | |
" \"10.0.0.0/16\"", | |
" ]", | |
" },", | |
" \"subnets\": [", | |
" {", | |
" \"name\": \"${WindowsVM1}-VirtualNetwork-Subnet\",", | |
" \"properties\": {", | |
" \"addressPrefix\": \"10.0.0.0/24\"", | |
" }", | |
" }", | |
" ]", | |
" }", | |
"},", | |
"{", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"type\": \"Microsoft.Network/networkInterfaces\",", | |
" \"name\": \"${WindowsVM1}-NetworkInterface\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"dependsOn\": [", | |
" \"Microsoft.Network/publicIPAddresses/${WindowsVM1}-PublicIP\",", | |
" \"Microsoft.Network/virtualNetworks/${WindowsVM1}-VirtualNetwork\"", | |
" ],", | |
" \"tags\": {", | |
" \"displayName\": \"${WindowsVM1} Network Interface\"", | |
" },", | |
" \"properties\": {", | |
" \"ipConfigurations\": [", | |
" {", | |
" \"name\": \"ipconfig1\",", | |
" \"properties\": {", | |
" \"privateIPAllocationMethod\": \"Dynamic\",", | |
" \"publicIPAddress\": {", | |
" \"id\": \"[resourceId('Microsoft.Network/publicIPAddresses', '${WindowsVM1}-PublicIP')]\"", | |
" },", | |
" \"subnet\": {", | |
" \"id\": \"[concat(resourceId('Microsoft.Network/virtualNetworks', '${WindowsVM1}-VirtualNetwork'), '/subnets/${WindowsVM1}-VirtualNetwork-Subnet')]\"", | |
" }", | |
" }", | |
" }", | |
" ]", | |
" }", | |
"},", | |
"{", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"type\": \"Microsoft.Compute/virtualMachines\",", | |
" \"name\": \"${WindowsVM1}\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"dependsOn\": [", | |
" \"[concat('Microsoft.Storage/storageAccounts/', toLower('${WindowsVM1}storage'))]\",", | |
" \"Microsoft.Network/networkInterfaces/${WindowsVM1}-NetworkInterface\"", | |
" ],", | |
" \"tags\": {", | |
" \"displayName\": \"${WindowsVM1}\"", | |
" },", | |
" \"properties\": {", | |
" \"hardwareProfile\": {", | |
" \"vmSize\": \"Standard_A2\"", | |
" },", | |
" \"osProfile\": {", | |
" \"computerName\": \"${WindowsVM1}\",", | |
" \"adminUsername\": \"${ADMIN_USERNAME}\",", | |
" \"adminPassword\": \"${ADMIN_PASSWORD}\"", | |
" },", | |
" \"storageProfile\": {", | |
" \"imageReference\": {", | |
" \"publisher\": \"MicrosoftWindowsServer\",", | |
" \"offer\": \"WindowsServer\",", | |
" \"sku\": \"2012-R2-Datacenter\",", | |
" \"version\": \"latest\"", | |
" },", | |
" \"osDisk\": {", | |
" \"name\": \"${WindowsVM1}OSDisk\",", | |
" \"vhd\": {", | |
" \"uri\": \"[concat('http://', toLower('${WindowsVM1}storage'), '.blob.core.windows.net/vhds/${WindowsVM1}-OSDisk.vhd')]\"", | |
" },", | |
" \"caching\": \"ReadWrite\",", | |
" \"createOption\": \"FromImage\"", | |
" }", | |
" },", | |
" \"networkProfile\": {", | |
" \"networkInterfaces\": [", | |
" {", | |
" \"id\": \"[resourceId('Microsoft.Network/networkInterfaces', '${WindowsVM1}-NetworkInterface')]\"", | |
" }", | |
" ]", | |
" },", | |
" \"diagnosticsProfile\": {", | |
" \"bootDiagnostics\": {", | |
" \"enabled\": true,", | |
" \"storageUri\": \"[concat('http://', toLower('${WindowsVM1}storage'), '.blob.core.windows.net')]\"", | |
" }", | |
" }", | |
" },", | |
" \"resources\": [", | |
" {", | |
" \"type\": \"extensions\",", | |
" \"name\": \"${WindowsVM1}AzureDiagnostics\",", | |
" \"apiVersion\": \"2015-06-15\",", | |
" \"location\": \"[resourceGroup().location]\",", | |
" \"tags\": {", | |
" \"displayName\": \"${WindowsVM1}AzureDiagnostics\"", | |
" },", | |
" \"dependsOn\": [", | |
" \"Microsoft.Compute/virtualMachines/${WindowsVM1}\"", | |
" ],", | |
" \"properties\": {", | |
" \"publisher\": \"Microsoft.Azure.Diagnostics\",", | |
" \"type\": \"IaaSDiagnostics\",", | |
" \"typeHandlerVersion\": \"1.5\",", | |
" \"autoUpgradeMinorVersion\": true,", | |
" \"settings\": {", | |
" \"xmlCfg\": \"[base64('<WadCfg> <DiagnosticMonitorConfiguration overallQuotaInMB=\\\"4096\\\" xmlns=\\\"http: //schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration\\\"> <DiagnosticInfrastructureLogs scheduledTransferLogLevelFilter=\\\"Error\\\"/> <Logs scheduledTransferPeriod=\\\"PT1M\\\" scheduledTransferLogLevelFilter=\\\"Error\\\" /> <Directories scheduledTransferPeriod=\\\"PT1M\\\"> <IISLogs containerName =\\\"wad-iis-logfiles\\\" /> <FailedRequestLogs containerName =\\\"wad-failedrequestlogs\\\" /> </Directories> <WindowsEventLog scheduledTransferPeriod=\\\"PT1M\\\" > <DataSource name=\\\"Application!*\\\" /> </WindowsEventLog> <CrashDumps containerName=\\\"wad-crashdumps\\\" dumpType=\\\"Mini\\\"> <CrashDumpConfiguration processName=\\\"WaIISHost.exe\\\"/> <CrashDumpConfiguration processName=\\\"WaWorkerHost.exe\\\"/> <CrashDumpConfiguration processName=\\\"w3wp.exe\\\"/> </CrashDumps> <PerformanceCounters scheduledTransferPeriod=\\\"PT1M\\\"> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\Memory\\\\\\\\Available MBytes\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\Web Service(_Total)\\\\\\\\ISAPI Extension Requests/sec\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\Web Service(_Total)\\\\\\\\Bytes Total/Sec\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\ASP.NET Applications(__Total__)\\\\\\\\Requests/Sec\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\ASP.NET Applications(__Total__)\\\\\\\\Errors Total/Sec\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\ASP.NET\\\\\\\\Requests Queued\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\ASP.NET\\\\\\\\Requests Rejected\\\" sampleRate=\\\"PT3M\\\" /> <PerformanceCounterConfiguration counterSpecifier=\\\"\\\\\\\\Processor(_Total)\\\\\\\\% Processor Time\\\" sampleRate=\\\"PT3M\\\" /> </PerformanceCounters> </DiagnosticMonitorConfiguration> </WadCfg>')]\",", | |
" \"storageAccount\": \"[toLower('${WindowsVM1}storage')]\"", | |
" },", | |
" \"protectedSettings\": {", | |
" \"storageAccountName\": \"[toLower('${WindowsVM1}storage')]\",", | |
" \"storageAccountKey\": \"[listkeys(concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.Storage/storageAccounts/', toLower('${WindowsVM1}storage')), '2015-06-15').key1]\",", | |
" \"storageAccountEndPoint\": \"https://core.windows.net\"", | |
" }", | |
" }", | |
" }", | |
" ]", | |
"}" | |
], | |
"description": "Windows Virtual Machine" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"version":"7.23.0","status":2,"welcomeShown":true} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment