{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments/38696433","id":38696433,"diff_hunk":"@@ -0,0 +1,197 @@\n+{\n+  \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\n+  \"contentVersion\": \"1.0.0.0\",\n+  \"parameters\": {\n+    \"vmName\": {\n+      \"type\": \"string\",\n+      \"metadata\": {\n+        \"description\": \"This is the name of your virtual machine\"\n+      }\n+    },\n+    \"userImageStorageAccountName\": {\n+      \"type\": \"string\",\n+      \"metadata\": {\n+        \"description\": \"This is the name of the your storage account\"\n+      }\n+    },\n+    \"userImageStorageContainerName\": {\n+      \"type\": \"string\",\n+      \"metadata\": {\n+        \"description\": \"This is the name of the container in your storage account\"\n+      }\n+    },\n+    \"userImageVhdName\": {\n+      \"type\": \"string\",\n+      \"metadata\": {\n+        \"description\": \"This is the name of the your customized VHD\"\n+      }\n+    },\n+    \"userDataImageVhdName\": {\n+      \"type\": \"string\",\n+      \"metadata\": {\n+        \"description\": \"This is the name of the your customized data VHD\"\n+      }\n+    },\n+    \"dnsNameForPublicIP\": {\n+      \"type\": \"string\",\n+      \"metadata\": {\n+        \"description\": \"Unique DNS Name for the Public IP used to access the Virtual Machine.\"\n+      }\n+    },\n+    \"adminUserName\": {\n+      \"type\": \"string\",\n+      \"metadata\": {\n+        \"description\": \"UserName for the Virtual Machine\"\n+      }\n+    },\n+    \"adminPassword\": {\n+      \"type\": \"securestring\",\n+      \"metadata\": {\n+        \"description\": \"Password for the Virtual Machine\"\n+      }\n+    },\n+    \"osType\": {\n+      \"type\": \"string\",\n+      \"allowedValues\": [\n+        \"windows\",\n+        \"linux\"\n+      ],\n+      \"metadata\": {\n+        \"description\": \"This is the OS that your VM will be running\"\n+      }\n+    },\n+    \"vmSize\": {\n+      \"type\": \"string\",\n+      \"metadata\": {\n+        \"description\": \"This is the size of your VM\"\n+      }\n+    }\n+  },\n+  \"variables\": {\n+    \"location\": \"West US\",\n+    \"publicIPAddressName\": \"[concat(parameters('vmName'),'PublicIP')]\",","path":"101-vm-from-user-image-and-datadisk/azuredeploy.json","position":72,"original_position":72,"commit_id":"e0d97d6c86edd5a64e6db40635edff1701b38497","original_commit_id":"e0d97d6c86edd5a64e6db40635edff1701b38497","user":{"login":"singhkay","id":6164178,"avatar_url":"https://avatars.githubusercontent.com/u/6164178?v=3","gravatar_id":"","url":"https://api.github.com/users/singhkay","html_url":"https://github.com/singhkay","followers_url":"https://api.github.com/users/singhkay/followers","following_url":"https://api.github.com/users/singhkay/following{/other_user}","gists_url":"https://api.github.com/users/singhkay/gists{/gist_id}","starred_url":"https://api.github.com/users/singhkay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singhkay/subscriptions","organizations_url":"https://api.github.com/users/singhkay/orgs","repos_url":"https://api.github.com/users/singhkay/repos","events_url":"https://api.github.com/users/singhkay/events{/privacy}","received_events_url":"https://api.github.com/users/singhkay/received_events","type":"User","site_admin":false},"body":"It'd be better to prefix the template scenario name rather than the vmName for all these variables. See this example https://github.com/Azure/azure-quickstart-templates/blob/master/201-ospatching-extension-on-ubuntu/azuredeploy.json#L161 ","created_at":"2015-09-03T21:03:54Z","updated_at":"2015-09-03T21:03:54Z","html_url":"https://github.com/Azure/azure-quickstart-templates/pull/501#discussion_r38696433","pull_request_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/501","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments/38696433"},"html":{"href":"https://github.com/Azure/azure-quickstart-templates/pull/501#discussion_r38696433"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/501"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/501","id":42873446,"html_url":"https://github.com/Azure/azure-quickstart-templates/pull/501","diff_url":"https://github.com/Azure/azure-quickstart-templates/pull/501.diff","patch_url":"https://github.com/Azure/azure-quickstart-templates/pull/501.patch","issue_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/501","number":501,"state":"open","locked":false,"title":"new template for creating VMs with user specified OS and data images","user":{"login":"iandow","id":1383911,"avatar_url":"https://avatars.githubusercontent.com/u/1383911?v=3","gravatar_id":"","url":"https://api.github.com/users/iandow","html_url":"https://github.com/iandow","followers_url":"https://api.github.com/users/iandow/followers","following_url":"https://api.github.com/users/iandow/following{/other_user}","gists_url":"https://api.github.com/users/iandow/gists{/gist_id}","starred_url":"https://api.github.com/users/iandow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iandow/subscriptions","organizations_url":"https://api.github.com/users/iandow/orgs","repos_url":"https://api.github.com/users/iandow/repos","events_url":"https://api.github.com/users/iandow/events{/privacy}","received_events_url":"https://api.github.com/users/iandow/received_events","type":"User","site_admin":false},"body":"I'm submitting a new template for creating VMs with user specified OS and data images.","created_at":"2015-08-19T22:46:15Z","updated_at":"2015-09-03T21:03:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea211e0fbeaf1df7ee2b43c80114980fce2278ac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/501/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/501/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/501/comments","statuses_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/statuses/e0d97d6c86edd5a64e6db40635edff1701b38497","head":{"label":"iandow:master","ref":"master","sha":"e0d97d6c86edd5a64e6db40635edff1701b38497","user":{"login":"iandow","id":1383911,"avatar_url":"https://avatars.githubusercontent.com/u/1383911?v=3","gravatar_id":"","url":"https://api.github.com/users/iandow","html_url":"https://github.com/iandow","followers_url":"https://api.github.com/users/iandow/followers","following_url":"https://api.github.com/users/iandow/following{/other_user}","gists_url":"https://api.github.com/users/iandow/gists{/gist_id}","starred_url":"https://api.github.com/users/iandow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iandow/subscriptions","organizations_url":"https://api.github.com/users/iandow/orgs","repos_url":"https://api.github.com/users/iandow/repos","events_url":"https://api.github.com/users/iandow/events{/privacy}","received_events_url":"https://api.github.com/users/iandow/received_events","type":"User","site_admin":false},"repo":{"id":41063404,"name":"azure-quickstart-templates","full_name":"iandow/azure-quickstart-templates","owner":{"login":"iandow","id":1383911,"avatar_url":"https://avatars.githubusercontent.com/u/1383911?v=3","gravatar_id":"","url":"https://api.github.com/users/iandow","html_url":"https://github.com/iandow","followers_url":"https://api.github.com/users/iandow/followers","following_url":"https://api.github.com/users/iandow/following{/other_user}","gists_url":"https://api.github.com/users/iandow/gists{/gist_id}","starred_url":"https://api.github.com/users/iandow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iandow/subscriptions","organizations_url":"https://api.github.com/users/iandow/orgs","repos_url":"https://api.github.com/users/iandow/repos","events_url":"https://api.github.com/users/iandow/events{/privacy}","received_events_url":"https://api.github.com/users/iandow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iandow/azure-quickstart-templates","description":"Azure Quickstart Templates","fork":true,"url":"https://api.github.com/repos/iandow/azure-quickstart-templates","forks_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/forks","keys_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/teams","hooks_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/hooks","issue_events_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/issues/events{/number}","events_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/events","assignees_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/assignees{/user}","branches_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/branches{/branch}","tags_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/tags","blobs_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/statuses/{sha}","languages_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/languages","stargazers_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/stargazers","contributors_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/contributors","subscribers_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/subscribers","subscription_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/subscription","commits_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/contents/{+path}","compare_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/merges","archive_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/downloads","issues_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/issues{/number}","pulls_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/pulls{/number}","milestones_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/milestones{/number}","notifications_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/labels{/name}","releases_url":"https://api.github.com/repos/iandow/azure-quickstart-templates/releases{/id}","created_at":"2015-08-19T22:42:07Z","updated_at":"2015-08-19T22:42:09Z","pushed_at":"2015-09-03T19:28:46Z","git_url":"git://github.com/iandow/azure-quickstart-templates.git","ssh_url":"git@github.com:iandow/azure-quickstart-templates.git","clone_url":"https://github.com/iandow/azure-quickstart-templates.git","svn_url":"https://github.com/iandow/azure-quickstart-templates","homepage":null,"size":12440,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"f2b06d0ff46f7ed9ade3c993fc41f36ce0fedd78","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-09-03T13:56:41Z","pushed_at":"2015-09-03T20:24:43Z","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":17499,"stargazers_count":234,"watchers_count":234,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":324,"mirror_url":null,"open_issues_count":35,"forks":324,"open_issues":35,"watchers":234,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/501"},"html":{"href":"https://github.com/Azure/azure-quickstart-templates/pull/501"},"issue":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/501"},"comments":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/501/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/501/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/501/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/statuses/e0d97d6c86edd5a64e6db40635edff1701b38497"}}}}