{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments/29308045","id":29308045,"diff_hunk":"@@ -0,0 +1,224 @@\n+{\n+    \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json\",\n+    \"contentVersion\": \"1.0.0.0\",\n+    \"parameters\" : {\n+\t\t\"javaPackageName\": {\n+\t\t\t\"type\": \"String\",\n+            \"defaultValue\" : \"openjdk-7-jdk\",\n+            \"allowedValues\": [\n+              \"openjdk-6-jdk\",\n+\t\t\t  \"openjdk-7-jdk\",\n+\t\t\t  \"openjdk-8-jdk\"\n+            ]\n+\t\t},\n+\t    \"tomcatPackageName\": {\n+\t\t\t\"type\": \"String\",\n+            \"defaultValue\" : \"tomcat7\",\n+            \"allowedValues\": [\n+              \"tomcat6\",\n+\t\t\t  \"tomcat7\",\n+\t\t\t  \"tomcat8\"\n+            ]\n+\t\t},\n+        \"location\": {\n+            \"type\": \"String\",\n+            \"defaultValue\" : \"West US\",\n+            \"allowedValues\": [\n+              \"West US\"\n+            ]\n+        },\n+        \"newStorageAccountName\": {\n+            \"type\": \"string\",\n+            \"metadata\": {\n+                \"description\": \"Name of the Storage Account\"\n+            }\n+        },\n+        \"adminUserName\": {\n+            \"type\": \"string\"\n+        },\n+        \"adminPassword\": {\n+            \"type\": \"securestring\"\n+        },\n+        \"imagePublisher\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"Canonical\",\n+            \"metadata\": {\n+                 \"Description\": \"Image Publisher\"\n+            }\n+        },\n+        \"imageOffer\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"UbuntuServer\",\n+            \"metadata\": {\n+                \"Description\": \"Image Offer\"\n+            }\n+        },\n+        \"imageSKU\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"14.10-DAILY\",\n+            \"metadata\": {\n+                \"Description\": \"Image SKU\"\n+            }\n+        },\n+        \"vmDnsName\" : {\n+            \"type\" : \"string\"\n+        }\n+    },\n+    \"variables\": {\n+      \"nicName\": \"myVMNic\",\n+      \"addressPrefix\": \"10.0.0.0/16\",\n+      \"subnet1Name\": \"Subnet-1\",\n+      \"subnet1Prefix\": \"10.0.0.0/24\",\n+      \"subnet2Name\": \"Subnet-2\",\n+      \"subnet2Prefix\": \"10.0.1.0/24\",\n+      \"publicIPAddressName\": \"myPublicIP\",\n+      \"publicIPAddressType\": \"Dynamic\",\n+      \"vmStorageAccountContainerName\": \"vhds\",\n+      \"vmName\": \"[parameters('vmDnsName')]\",\n+      \"vmSize\": \"Standard_A0\",\n+      \"virtualNetworkName\": \"MyVNET\",\n+      \"vnetID\": \"[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]\",\n+      \"storageAccountType\": \"Standard_LRS\",\n+      \"vnetID\":\"[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]\",\n+      \"subnet1Ref\" : \"[concat(variables('vnetID'),'/subnets/',variables('subnet1Name'))]\"\n+\t},\n+    \"resources\": [\n+    {\n+      \"type\": \"Microsoft.Storage/storageAccounts\",\n+      \"name\": \"[parameters('newStorageAccountName')]\",\n+      \"apiVersion\": \"2015-05-01-preview\",\n+      \"location\": \"[parameters('location')]\",\n+      \"properties\": {\n+        \"accountType\": \"[variables('storageAccountType')]\"\n+      }\n+    },\n+    {\n+        \"apiVersion\": \"2015-05-01-preview\",\n+        \"type\": \"Microsoft.Network/publicIPAddresses\",\n+        \"name\": \"[variables('publicIPAddressName')]\",\n+        \"location\": \"[parameters('location')]\",\n+        \"properties\": {\n+            \"publicIPAllocationMethod\": \"[variables('publicIPAddressType')]\",\n+            \"dnsSettings\": {\n+                \"domainNameLabel\": \"[parameters('vmDnsName')]\"\n+            }\n+        }\n+    },\n+    {\n+      \"apiVersion\": \"2015-05-01-preview\",\n+      \"type\": \"Microsoft.Network/virtualNetworks\",\n+      \"name\": \"[variables('virtualNetworkName')]\",\n+      \"location\": \"[parameters('location')]\",\n+      \"properties\": {\n+        \"addressSpace\": {\n+          \"addressPrefixes\": [\n+            \"[variables('addressPrefix')]\"\n+          ]\n+        },\n+        \"subnets\": [\n+          {\n+            \"name\": \"[variables('subnet1Name')]\",","path":"openjdk-tomcat-ubuntu-vm/azuredeploy.json","position":120,"original_position":120,"commit_id":"82a85b3139ddeeb1e3824b53540c574e819579b4","original_commit_id":"82a85b3139ddeeb1e3824b53540c574e819579b4","user":{"login":"madhana","id":8301387,"avatar_url":"https://avatars.githubusercontent.com/u/8301387?v=3","gravatar_id":"","url":"https://api.github.com/users/madhana","html_url":"https://github.com/madhana","followers_url":"https://api.github.com/users/madhana/followers","following_url":"https://api.github.com/users/madhana/following{/other_user}","gists_url":"https://api.github.com/users/madhana/gists{/gist_id}","starred_url":"https://api.github.com/users/madhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhana/subscriptions","organizations_url":"https://api.github.com/users/madhana/orgs","repos_url":"https://api.github.com/users/madhana/repos","events_url":"https://api.github.com/users/madhana/events{/privacy}","received_events_url":"https://api.github.com/users/madhana/received_events","type":"User","site_admin":false},"body":"good catch, left over from previous author, cleaned it up","created_at":"2015-04-29T03:22:04Z","updated_at":"2015-04-29T03:22:04Z","html_url":"https://github.com/Azure/azure-quickstart-templates/pull/91#discussion_r29308045","pull_request_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/91","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments/29308045"},"html":{"href":"https://github.com/Azure/azure-quickstart-templates/pull/91#discussion_r29308045"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/91"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/91","id":34237241,"html_url":"https://github.com/Azure/azure-quickstart-templates/pull/91","diff_url":"https://github.com/Azure/azure-quickstart-templates/pull/91.diff","patch_url":"https://github.com/Azure/azure-quickstart-templates/pull/91.patch","issue_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/91","number":91,"state":"open","locked":false,"title":"schema versions fixes and version upgrades","user":{"login":"madhana","id":8301387,"avatar_url":"https://avatars.githubusercontent.com/u/8301387?v=3","gravatar_id":"","url":"https://api.github.com/users/madhana","html_url":"https://github.com/madhana","followers_url":"https://api.github.com/users/madhana/followers","following_url":"https://api.github.com/users/madhana/following{/other_user}","gists_url":"https://api.github.com/users/madhana/gists{/gist_id}","starred_url":"https://api.github.com/users/madhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhana/subscriptions","organizations_url":"https://api.github.com/users/madhana/orgs","repos_url":"https://api.github.com/users/madhana/repos","events_url":"https://api.github.com/users/madhana/events{/privacy}","received_events_url":"https://api.github.com/users/madhana/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-28T06:32:10Z","updated_at":"2015-04-29T03:22:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"237e0c5e4fb87949a7f8f73e1438bc0258ef3a1b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/91/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/91/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/91/comments","statuses_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/statuses/82a85b3139ddeeb1e3824b53540c574e819579b4","head":{"label":"madhana:master","ref":"master","sha":"82a85b3139ddeeb1e3824b53540c574e819579b4","user":{"login":"madhana","id":8301387,"avatar_url":"https://avatars.githubusercontent.com/u/8301387?v=3","gravatar_id":"","url":"https://api.github.com/users/madhana","html_url":"https://github.com/madhana","followers_url":"https://api.github.com/users/madhana/followers","following_url":"https://api.github.com/users/madhana/following{/other_user}","gists_url":"https://api.github.com/users/madhana/gists{/gist_id}","starred_url":"https://api.github.com/users/madhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhana/subscriptions","organizations_url":"https://api.github.com/users/madhana/orgs","repos_url":"https://api.github.com/users/madhana/repos","events_url":"https://api.github.com/users/madhana/events{/privacy}","received_events_url":"https://api.github.com/users/madhana/received_events","type":"User","site_admin":false},"repo":{"id":34628885,"name":"azure-quickstart-templates","full_name":"madhana/azure-quickstart-templates","owner":{"login":"madhana","id":8301387,"avatar_url":"https://avatars.githubusercontent.com/u/8301387?v=3","gravatar_id":"","url":"https://api.github.com/users/madhana","html_url":"https://github.com/madhana","followers_url":"https://api.github.com/users/madhana/followers","following_url":"https://api.github.com/users/madhana/following{/other_user}","gists_url":"https://api.github.com/users/madhana/gists{/gist_id}","starred_url":"https://api.github.com/users/madhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhana/subscriptions","organizations_url":"https://api.github.com/users/madhana/orgs","repos_url":"https://api.github.com/users/madhana/repos","events_url":"https://api.github.com/users/madhana/events{/privacy}","received_events_url":"https://api.github.com/users/madhana/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/madhana/azure-quickstart-templates","description":"Azure Quickstart Templates","fork":true,"url":"https://api.github.com/repos/madhana/azure-quickstart-templates","forks_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/forks","keys_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/teams","hooks_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/hooks","issue_events_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/issues/events{/number}","events_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/events","assignees_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/assignees{/user}","branches_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/branches{/branch}","tags_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/tags","blobs_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/statuses/{sha}","languages_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/languages","stargazers_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/stargazers","contributors_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/contributors","subscribers_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/subscribers","subscription_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/subscription","commits_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/contents/{+path}","compare_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/merges","archive_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/downloads","issues_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/issues{/number}","pulls_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/pulls{/number}","milestones_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/milestones{/number}","notifications_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/labels{/name}","releases_url":"https://api.github.com/repos/madhana/azure-quickstart-templates/releases{/id}","created_at":"2015-04-26T20:02:16Z","updated_at":"2015-04-28T05:31:06Z","pushed_at":"2015-04-28T05:31:04Z","git_url":"git://github.com/madhana/azure-quickstart-templates.git","ssh_url":"git@github.com:madhana/azure-quickstart-templates.git","clone_url":"https://github.com/madhana/azure-quickstart-templates.git","svn_url":"https://github.com/madhana/azure-quickstart-templates","homepage":null,"size":461,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"57c81caa00dbd430845a2446ab13d043e1522ef0","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":34407651,"name":"azure-quickstart-templates","full_name":"Azure/azure-quickstart-templates","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-quickstart-templates","description":"Azure Quickstart Templates","fork":false,"url":"https://api.github.com/repos/Azure/azure-quickstart-templates","forks_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/forks","keys_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/teams","hooks_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/events","assignees_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/tags","blobs_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/subscription","commits_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/merges","archive_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/downloads","issues_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/releases{/id}","created_at":"2015-04-22T18:19:03Z","updated_at":"2015-04-29T03:16:44Z","pushed_at":"2015-04-29T03:16:44Z","git_url":"git://github.com/Azure/azure-quickstart-templates.git","ssh_url":"git@github.com:Azure/azure-quickstart-templates.git","clone_url":"https://github.com/Azure/azure-quickstart-templates.git","svn_url":"https://github.com/Azure/azure-quickstart-templates","homepage":null,"size":2917,"stargazers_count":4,"watchers_count":4,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":10,"forks":34,"open_issues":10,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/91"},"html":{"href":"https://github.com/Azure/azure-quickstart-templates/pull/91"},"issue":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/91"},"comments":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/statuses/82a85b3139ddeeb1e3824b53540c574e819579b4"}}}}