{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments/49536098","id":49536098,"diff_hunk":"@@ -3,14 +3,14 @@ set -e\n printf \"\\n=== Provisioning Deployments in Azure ===\\n\"\n \n printf \"\\n1. Creating a new resource group: %s and location: %s.\\n\" \"$groupName\" \"$location\"\n-az group create --name \"$groupName\" --location \"$location\"\n+az resourcemanager group create --name \"$groupName\" --location \"$location\"\n \n printf \"\\n2. Test template with dynamic parameters\\n\"\n-az group deployment test -g \"$groupName\" --templatefile $BASEDIR/sampleTemplate.json --siteName \"$resourceName\" --hostingPlanName \"$resourceName\" --siteLocation \"$location\" --workerSize \"0\"\n+az resourcemanager group deployment test -g \"$groupName\" --templatefile $BASEDIR/sampleTemplate.json --siteName \"$resourceName\" --hostingPlanName \"$resourceName\" --siteLocation \"$location\" --workerSize \"0\"\n \n printf \"\\n3. Test template with JSON parameter object\\n\"\n-az group deployment test -g \"$groupName\" --templatefile $BASEDIR/sampleTemplate.json --templateparameterobject \"{\\\"siteName\\\":\\\"$resourceName\\\",\\\"hostingPlanName\\\":\\\"$resourceName\\\",\\\"siteLocation\\\":\\\"$location\\\",\\\"workerSize\\\": 0 }\"\n+az resourcemanager group deployment test -g \"$groupName\" --templatefile $BASEDIR/sampleTemplate.json --templateparameterobject \"{\\\"siteName\\\":\\\"$resourceName\\\",\\\"hostingPlanName\\\":\\\"$resourceName\\\",\\\"siteLocation\\\":\\\"$location\\\",\\\"workerSize\\\": 0 }\"\n \n printf \"\\n4. Provisioning Deployment\\n\"\n-deploymentInfo=`az group deployment create --Name \"$resourceName\" --ResourceGroupName \"$groupName\" --TemplateFile $BASEDIR/sampleTemplate.json --TemplateParameterFile $BASEDIR/sampleTemplateParams.json`\n+deploymentInfo=`az resourcemanager group deployment create --Name \"$resourceName\" --ResourceGroupName \"$groupName\" --TemplateFile $BASEDIR/sampleTemplate.json --TemplateParameterFile $BASEDIR/sampleTemplateParams.json`","path":"examples/resource-management/03-Deployments.sh","position":17,"original_position":17,"commit_id":"6703cf76dff420c468ed5433e0533404a52275f8","original_commit_id":"0558bd676a524d61b4adf8f7f185ca8e9eb74e76","user":{"login":"BurtBiel","id":10136041,"avatar_url":"https://avatars.githubusercontent.com/u/10136041?v=3","gravatar_id":"","url":"https://api.github.com/users/BurtBiel","html_url":"https://github.com/BurtBiel","followers_url":"https://api.github.com/users/BurtBiel/followers","following_url":"https://api.github.com/users/BurtBiel/following{/other_user}","gists_url":"https://api.github.com/users/BurtBiel/gists{/gist_id}","starred_url":"https://api.github.com/users/BurtBiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurtBiel/subscriptions","organizations_url":"https://api.github.com/users/BurtBiel/orgs","repos_url":"https://api.github.com/users/BurtBiel/repos","events_url":"https://api.github.com/users/BurtBiel/events{/privacy}","received_events_url":"https://api.github.com/users/BurtBiel/received_events","type":"User","site_admin":false},"body":"That seems like it might be good wording, can you run it by Joe?","created_at":"2016-01-13T00:22:06Z","updated_at":"2016-01-13T00:22:06Z","html_url":"https://github.com/Azure/azure-powershell/pull/1620#discussion_r49536098","pull_request_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/1620","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments/49536098"},"html":{"href":"https://github.com/Azure/azure-powershell/pull/1620#discussion_r49536098"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/1620"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-powershell/pulls/1620","id":55652657,"html_url":"https://github.com/Azure/azure-powershell/pull/1620","diff_url":"https://github.com/Azure/azure-powershell/pull/1620.diff","patch_url":"https://github.com/Azure/azure-powershell/pull/1620.patch","issue_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1620","number":1620,"state":"open","locked":false,"title":"Clu","user":{"login":"BurtBiel","id":10136041,"avatar_url":"https://avatars.githubusercontent.com/u/10136041?v=3","gravatar_id":"","url":"https://api.github.com/users/BurtBiel","html_url":"https://github.com/BurtBiel","followers_url":"https://api.github.com/users/BurtBiel/followers","following_url":"https://api.github.com/users/BurtBiel/following{/other_user}","gists_url":"https://api.github.com/users/BurtBiel/gists{/gist_id}","starred_url":"https://api.github.com/users/BurtBiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurtBiel/subscriptions","organizations_url":"https://api.github.com/users/BurtBiel/orgs","repos_url":"https://api.github.com/users/BurtBiel/repos","events_url":"https://api.github.com/users/BurtBiel/events{/privacy}","received_events_url":"https://api.github.com/users/BurtBiel/received_events","type":"User","site_admin":false},"body":"This PR now contains 2 changes from today, 1) updating the default format to not include object-based ToStrings, and 2) the rename of the cmdlet cli usage params","created_at":"2016-01-11T17:33:40Z","updated_at":"2016-01-13T00:22:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9268c13cd6eb83b46994e0890b4d86194f9ec35d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/1620/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/1620/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1620/comments","statuses_url":"https://api.github.com/repos/Azure/azure-powershell/statuses/6703cf76dff420c468ed5433e0533404a52275f8","head":{"label":"BurtBiel:clu","ref":"clu","sha":"6703cf76dff420c468ed5433e0533404a52275f8","user":{"login":"BurtBiel","id":10136041,"avatar_url":"https://avatars.githubusercontent.com/u/10136041?v=3","gravatar_id":"","url":"https://api.github.com/users/BurtBiel","html_url":"https://github.com/BurtBiel","followers_url":"https://api.github.com/users/BurtBiel/followers","following_url":"https://api.github.com/users/BurtBiel/following{/other_user}","gists_url":"https://api.github.com/users/BurtBiel/gists{/gist_id}","starred_url":"https://api.github.com/users/BurtBiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurtBiel/subscriptions","organizations_url":"https://api.github.com/users/BurtBiel/orgs","repos_url":"https://api.github.com/users/BurtBiel/repos","events_url":"https://api.github.com/users/BurtBiel/events{/privacy}","received_events_url":"https://api.github.com/users/BurtBiel/received_events","type":"User","site_admin":false},"repo":{"id":49100244,"name":"azure-powershell","full_name":"BurtBiel/azure-powershell","owner":{"login":"BurtBiel","id":10136041,"avatar_url":"https://avatars.githubusercontent.com/u/10136041?v=3","gravatar_id":"","url":"https://api.github.com/users/BurtBiel","html_url":"https://github.com/BurtBiel","followers_url":"https://api.github.com/users/BurtBiel/followers","following_url":"https://api.github.com/users/BurtBiel/following{/other_user}","gists_url":"https://api.github.com/users/BurtBiel/gists{/gist_id}","starred_url":"https://api.github.com/users/BurtBiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurtBiel/subscriptions","organizations_url":"https://api.github.com/users/BurtBiel/orgs","repos_url":"https://api.github.com/users/BurtBiel/repos","events_url":"https://api.github.com/users/BurtBiel/events{/privacy}","received_events_url":"https://api.github.com/users/BurtBiel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BurtBiel/azure-powershell","description":"Microsoft Azure PowerShell","fork":true,"url":"https://api.github.com/repos/BurtBiel/azure-powershell","forks_url":"https://api.github.com/repos/BurtBiel/azure-powershell/forks","keys_url":"https://api.github.com/repos/BurtBiel/azure-powershell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BurtBiel/azure-powershell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BurtBiel/azure-powershell/teams","hooks_url":"https://api.github.com/repos/BurtBiel/azure-powershell/hooks","issue_events_url":"https://api.github.com/repos/BurtBiel/azure-powershell/issues/events{/number}","events_url":"https://api.github.com/repos/BurtBiel/azure-powershell/events","assignees_url":"https://api.github.com/repos/BurtBiel/azure-powershell/assignees{/user}","branches_url":"https://api.github.com/repos/BurtBiel/azure-powershell/branches{/branch}","tags_url":"https://api.github.com/repos/BurtBiel/azure-powershell/tags","blobs_url":"https://api.github.com/repos/BurtBiel/azure-powershell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BurtBiel/azure-powershell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BurtBiel/azure-powershell/git/refs{/sha}","trees_url":"https://api.github.com/repos/BurtBiel/azure-powershell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BurtBiel/azure-powershell/statuses/{sha}","languages_url":"https://api.github.com/repos/BurtBiel/azure-powershell/languages","stargazers_url":"https://api.github.com/repos/BurtBiel/azure-powershell/stargazers","contributors_url":"https://api.github.com/repos/BurtBiel/azure-powershell/contributors","subscribers_url":"https://api.github.com/repos/BurtBiel/azure-powershell/subscribers","subscription_url":"https://api.github.com/repos/BurtBiel/azure-powershell/subscription","commits_url":"https://api.github.com/repos/BurtBiel/azure-powershell/commits{/sha}","git_commits_url":"https://api.github.com/repos/BurtBiel/azure-powershell/git/commits{/sha}","comments_url":"https://api.github.com/repos/BurtBiel/azure-powershell/comments{/number}","issue_comment_url":"https://api.github.com/repos/BurtBiel/azure-powershell/issues/comments{/number}","contents_url":"https://api.github.com/repos/BurtBiel/azure-powershell/contents/{+path}","compare_url":"https://api.github.com/repos/BurtBiel/azure-powershell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BurtBiel/azure-powershell/merges","archive_url":"https://api.github.com/repos/BurtBiel/azure-powershell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BurtBiel/azure-powershell/downloads","issues_url":"https://api.github.com/repos/BurtBiel/azure-powershell/issues{/number}","pulls_url":"https://api.github.com/repos/BurtBiel/azure-powershell/pulls{/number}","milestones_url":"https://api.github.com/repos/BurtBiel/azure-powershell/milestones{/number}","notifications_url":"https://api.github.com/repos/BurtBiel/azure-powershell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BurtBiel/azure-powershell/labels{/name}","releases_url":"https://api.github.com/repos/BurtBiel/azure-powershell/releases{/id}","created_at":"2016-01-06T00:00:43Z","updated_at":"2016-01-06T00:01:04Z","pushed_at":"2016-01-13T00:17:40Z","git_url":"git://github.com/BurtBiel/azure-powershell.git","ssh_url":"git@github.com:BurtBiel/azure-powershell.git","clone_url":"https://github.com/BurtBiel/azure-powershell.git","svn_url":"https://github.com/BurtBiel/azure-powershell","homepage":null,"size":165615,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"Azure:clu","ref":"clu","sha":"06248ee8b357c404fc4e955dd1a1655132a4b949","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":23891194,"name":"azure-powershell","full_name":"Azure/azure-powershell","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-powershell","description":"Microsoft Azure PowerShell","fork":false,"url":"https://api.github.com/repos/Azure/azure-powershell","forks_url":"https://api.github.com/repos/Azure/azure-powershell/forks","keys_url":"https://api.github.com/repos/Azure/azure-powershell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-powershell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-powershell/teams","hooks_url":"https://api.github.com/repos/Azure/azure-powershell/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-powershell/events","assignees_url":"https://api.github.com/repos/Azure/azure-powershell/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-powershell/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-powershell/tags","blobs_url":"https://api.github.com/repos/Azure/azure-powershell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-powershell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-powershell/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-powershell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-powershell/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-powershell/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-powershell/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-powershell/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-powershell/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-powershell/subscription","commits_url":"https://api.github.com/repos/Azure/azure-powershell/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-powershell/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-powershell/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-powershell/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-powershell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-powershell/merges","archive_url":"https://api.github.com/repos/Azure/azure-powershell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-powershell/downloads","issues_url":"https://api.github.com/repos/Azure/azure-powershell/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-powershell/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-powershell/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-powershell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-powershell/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-powershell/releases{/id}","created_at":"2014-09-10T20:35:18Z","updated_at":"2016-01-12T18:09:52Z","pushed_at":"2016-01-13T00:17:40Z","git_url":"git://github.com/Azure/azure-powershell.git","ssh_url":"git@github.com:Azure/azure-powershell.git","clone_url":"https://github.com/Azure/azure-powershell.git","svn_url":"https://github.com/Azure/azure-powershell","homepage":null,"size":169929,"stargazers_count":347,"watchers_count":347,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":330,"mirror_url":null,"open_issues_count":332,"forks":330,"open_issues":332,"watchers":347,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/1620"},"html":{"href":"https://github.com/Azure/azure-powershell/pull/1620"},"issue":{"href":"https://api.github.com/repos/Azure/azure-powershell/issues/1620"},"comments":{"href":"https://api.github.com/repos/Azure/azure-powershell/issues/1620/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/1620/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/1620/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-powershell/statuses/6703cf76dff420c468ed5433e0533404a52275f8"}}}}