{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments/39696653","id":39696653,"diff_hunk":"@@ -0,0 +1,41 @@\n+﻿// ----------------------------------------------------------------------------------\n+//\n+// Copyright Microsoft Corporation\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+// http://www.apache.org/licenses/LICENSE-2.0\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+// ----------------------------------------------------------------------------------\n+\n+using Microsoft.Azure.Commands.ResourceManager.Common;\n+using Microsoft.Azure.Common.Authentication.Models;\n+using System.Collections.Generic;\n+using System.Management.Automation;\n+\n+namespace Microsoft.Azure.Commands.Profile\n+{    \n+    /// <summary>\n+    /// Cmdlet to get user tenant information. \n+    /// </summary>\n+    [Cmdlet(VerbsCommon.Get, \"AzureRMTenant\")]\n+    [Alias(\"Get-AzureRMDomain\")]\n+    [OutputType(typeof(List<AzureTenant>))]","path":"src/Common/Commands.ResourceManager.Profile/Tenant/GetAzureRMTenant.cs","position":27,"original_position":27,"commit_id":"d843ad1faf5b1d4f03d3213e48f9aafe0457db97","original_commit_id":"d843ad1faf5b1d4f03d3213e48f9aafe0457db97","user":{"login":"hovsepm","id":7052173,"avatar_url":"https://avatars.githubusercontent.com/u/7052173?v=3","gravatar_id":"","url":"https://api.github.com/users/hovsepm","html_url":"https://github.com/hovsepm","followers_url":"https://api.github.com/users/hovsepm/followers","following_url":"https://api.github.com/users/hovsepm/following{/other_user}","gists_url":"https://api.github.com/users/hovsepm/gists{/gist_id}","starred_url":"https://api.github.com/users/hovsepm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hovsepm/subscriptions","organizations_url":"https://api.github.com/users/hovsepm/orgs","repos_url":"https://api.github.com/users/hovsepm/repos","events_url":"https://api.github.com/users/hovsepm/events{/privacy}","received_events_url":"https://api.github.com/users/hovsepm/received_events","type":"User","site_admin":false},"body":"According to the task details - \"If no tenant is specified, list all tenants.\". So it can be a list. ","created_at":"2015-09-16T23:11:53Z","updated_at":"2015-09-16T23:11:53Z","html_url":"https://github.com/Azure/azure-powershell/pull/918#discussion_r39696653","pull_request_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/918","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments/39696653"},"html":{"href":"https://github.com/Azure/azure-powershell/pull/918#discussion_r39696653"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/918"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-powershell/pulls/918","id":45230776,"html_url":"https://github.com/Azure/azure-powershell/pull/918","diff_url":"https://github.com/Azure/azure-powershell/pull/918.diff","patch_url":"https://github.com/Azure/azure-powershell/pull/918.patch","issue_url":"https://api.github.com/repos/Azure/azure-powershell/issues/918","number":918,"state":"open","locked":false,"title":"Added Get-AzureRMTenant [#102955260]","user":{"login":"hovsepm","id":7052173,"avatar_url":"https://avatars.githubusercontent.com/u/7052173?v=3","gravatar_id":"","url":"https://api.github.com/users/hovsepm","html_url":"https://github.com/hovsepm","followers_url":"https://api.github.com/users/hovsepm/followers","following_url":"https://api.github.com/users/hovsepm/following{/other_user}","gists_url":"https://api.github.com/users/hovsepm/gists{/gist_id}","starred_url":"https://api.github.com/users/hovsepm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hovsepm/subscriptions","organizations_url":"https://api.github.com/users/hovsepm/orgs","repos_url":"https://api.github.com/users/hovsepm/repos","events_url":"https://api.github.com/users/hovsepm/events{/privacy}","received_events_url":"https://api.github.com/users/hovsepm/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-16T22:11:39Z","updated_at":"2015-09-16T23:11:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4af1f857cea7ff6c78e3212892b18980666a74c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/918/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/918/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/918/comments","statuses_url":"https://api.github.com/repos/Azure/azure-powershell/statuses/d843ad1faf5b1d4f03d3213e48f9aafe0457db97","head":{"label":"hovsepm:dev","ref":"dev","sha":"d843ad1faf5b1d4f03d3213e48f9aafe0457db97","user":{"login":"hovsepm","id":7052173,"avatar_url":"https://avatars.githubusercontent.com/u/7052173?v=3","gravatar_id":"","url":"https://api.github.com/users/hovsepm","html_url":"https://github.com/hovsepm","followers_url":"https://api.github.com/users/hovsepm/followers","following_url":"https://api.github.com/users/hovsepm/following{/other_user}","gists_url":"https://api.github.com/users/hovsepm/gists{/gist_id}","starred_url":"https://api.github.com/users/hovsepm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hovsepm/subscriptions","organizations_url":"https://api.github.com/users/hovsepm/orgs","repos_url":"https://api.github.com/users/hovsepm/repos","events_url":"https://api.github.com/users/hovsepm/events{/privacy}","received_events_url":"https://api.github.com/users/hovsepm/received_events","type":"User","site_admin":false},"repo":{"id":26982944,"name":"azure-powershell","full_name":"hovsepm/azure-powershell","owner":{"login":"hovsepm","id":7052173,"avatar_url":"https://avatars.githubusercontent.com/u/7052173?v=3","gravatar_id":"","url":"https://api.github.com/users/hovsepm","html_url":"https://github.com/hovsepm","followers_url":"https://api.github.com/users/hovsepm/followers","following_url":"https://api.github.com/users/hovsepm/following{/other_user}","gists_url":"https://api.github.com/users/hovsepm/gists{/gist_id}","starred_url":"https://api.github.com/users/hovsepm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hovsepm/subscriptions","organizations_url":"https://api.github.com/users/hovsepm/orgs","repos_url":"https://api.github.com/users/hovsepm/repos","events_url":"https://api.github.com/users/hovsepm/events{/privacy}","received_events_url":"https://api.github.com/users/hovsepm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hovsepm/azure-powershell","description":"Microsoft Azure PowerShell","fork":true,"url":"https://api.github.com/repos/hovsepm/azure-powershell","forks_url":"https://api.github.com/repos/hovsepm/azure-powershell/forks","keys_url":"https://api.github.com/repos/hovsepm/azure-powershell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hovsepm/azure-powershell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hovsepm/azure-powershell/teams","hooks_url":"https://api.github.com/repos/hovsepm/azure-powershell/hooks","issue_events_url":"https://api.github.com/repos/hovsepm/azure-powershell/issues/events{/number}","events_url":"https://api.github.com/repos/hovsepm/azure-powershell/events","assignees_url":"https://api.github.com/repos/hovsepm/azure-powershell/assignees{/user}","branches_url":"https://api.github.com/repos/hovsepm/azure-powershell/branches{/branch}","tags_url":"https://api.github.com/repos/hovsepm/azure-powershell/tags","blobs_url":"https://api.github.com/repos/hovsepm/azure-powershell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hovsepm/azure-powershell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hovsepm/azure-powershell/git/refs{/sha}","trees_url":"https://api.github.com/repos/hovsepm/azure-powershell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hovsepm/azure-powershell/statuses/{sha}","languages_url":"https://api.github.com/repos/hovsepm/azure-powershell/languages","stargazers_url":"https://api.github.com/repos/hovsepm/azure-powershell/stargazers","contributors_url":"https://api.github.com/repos/hovsepm/azure-powershell/contributors","subscribers_url":"https://api.github.com/repos/hovsepm/azure-powershell/subscribers","subscription_url":"https://api.github.com/repos/hovsepm/azure-powershell/subscription","commits_url":"https://api.github.com/repos/hovsepm/azure-powershell/commits{/sha}","git_commits_url":"https://api.github.com/repos/hovsepm/azure-powershell/git/commits{/sha}","comments_url":"https://api.github.com/repos/hovsepm/azure-powershell/comments{/number}","issue_comment_url":"https://api.github.com/repos/hovsepm/azure-powershell/issues/comments{/number}","contents_url":"https://api.github.com/repos/hovsepm/azure-powershell/contents/{+path}","compare_url":"https://api.github.com/repos/hovsepm/azure-powershell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hovsepm/azure-powershell/merges","archive_url":"https://api.github.com/repos/hovsepm/azure-powershell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hovsepm/azure-powershell/downloads","issues_url":"https://api.github.com/repos/hovsepm/azure-powershell/issues{/number}","pulls_url":"https://api.github.com/repos/hovsepm/azure-powershell/pulls{/number}","milestones_url":"https://api.github.com/repos/hovsepm/azure-powershell/milestones{/number}","notifications_url":"https://api.github.com/repos/hovsepm/azure-powershell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hovsepm/azure-powershell/labels{/name}","releases_url":"https://api.github.com/repos/hovsepm/azure-powershell/releases{/id}","created_at":"2014-11-21T23:54:25Z","updated_at":"2014-11-21T23:54:32Z","pushed_at":"2015-09-16T22:11:08Z","git_url":"git://github.com/hovsepm/azure-powershell.git","ssh_url":"git@github.com:hovsepm/azure-powershell.git","clone_url":"https://github.com/hovsepm/azure-powershell.git","svn_url":"https://github.com/hovsepm/azure-powershell","homepage":null,"size":87766,"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":"master"}},"base":{"label":"Azure:dev","ref":"dev","sha":"8d7f0fb342a62fea68008fd4781fc9344725e2f7","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":"2015-09-16T22:10:14Z","pushed_at":"2015-09-16T23:00:49Z","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":108086,"stargazers_count":229,"watchers_count":229,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":243,"mirror_url":null,"open_issues_count":210,"forks":243,"open_issues":210,"watchers":229,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/918"},"html":{"href":"https://github.com/Azure/azure-powershell/pull/918"},"issue":{"href":"https://api.github.com/repos/Azure/azure-powershell/issues/918"},"comments":{"href":"https://api.github.com/repos/Azure/azure-powershell/issues/918/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/918/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/918/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-powershell/statuses/d843ad1faf5b1d4f03d3213e48f9aafe0457db97"}}}}