{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments/85465140","pull_request_review_id":6180459,"id":85465140,"diff_hunk":"@@ -0,0 +1,54 @@\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.AnalysisServices.Models;\n+using Microsoft.Azure.Management.Analysis;\n+using System.Collections.Generic;\n+using System.Management.Automation;\n+using Microsoft.Azure.Management.Analysis.Models;\n+\n+namespace Microsoft.Azure.Commands.AnalysisServices\n+{\n+    [Cmdlet(VerbsCommon.Get, \"AzureRmAnalysisServicesServer\"),\n+     OutputType(typeof(List<AnalysisServicesServer>))]\n+    [Alias(\"Get-AzureAs\")]\n+    public class GetAzureAnalysisServicesServer : AnalysisServicesCmdletBase\n+    {\n+        [Parameter(Position = 0,\n+            ValueFromPipelineByPropertyName = true, Mandatory = true,\n+            HelpMessage = \"Name of resource group under which the user want to retrieve the server.\")]\n+        [ValidateNotNullOrEmpty]\n+        public string ResourceGroupName { get; set; }\n+\n+        [Parameter(Position = 1, ValueFromPipelineByPropertyName = true,\n+            Mandatory = false, HelpMessage = \"Name of a specific server.\")]\n+        [ValidateNotNullOrEmpty]\n+        public string Name { get; set; }\n+\n+        public override void ExecuteCmdlet()\n+        {\n+            if (!string.IsNullOrEmpty(Name))\n+            {\n+                // Get for single server\n+                WriteObject(AnalysisServicesClient.GetServer(ResourceGroupName, Name));\n+            }\n+            else\n+            {\n+                // List all servers in given resource group if avaliable otherwise all servers in the subscription\n+                var list = AnalysisServicesClient.ListServers(ResourceGroupName);","path":"src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/GetAzureRmAnalysisServicesServer.cs","position":49,"original_position":49,"commit_id":"c572d1f43a213e848a99415c3fe35f2a1d35b08b","original_commit_id":"c572d1f43a213e848a99415c3fe35f2a1d35b08b","user":{"login":"athipp","id":20864787,"avatar_url":"https://avatars.githubusercontent.com/u/20864787?v=3","gravatar_id":"","url":"https://api.github.com/users/athipp","html_url":"https://github.com/athipp","followers_url":"https://api.github.com/users/athipp/followers","following_url":"https://api.github.com/users/athipp/following{/other_user}","gists_url":"https://api.github.com/users/athipp/gists{/gist_id}","starred_url":"https://api.github.com/users/athipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athipp/subscriptions","organizations_url":"https://api.github.com/users/athipp/orgs","repos_url":"https://api.github.com/users/athipp/repos","events_url":"https://api.github.com/users/athipp/events{/privacy}","received_events_url":"https://api.github.com/users/athipp/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2016-10-28T02:57:07Z","updated_at":"2016-10-28T02:57:07Z","html_url":"https://github.com/Azure/azure-powershell/pull/3103#discussion_r85465140","pull_request_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/3103","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments/85465140"},"html":{"href":"https://github.com/Azure/azure-powershell/pull/3103#discussion_r85465140"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/3103"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-powershell/pulls/3103","id":90227191,"html_url":"https://github.com/Azure/azure-powershell/pull/3103","diff_url":"https://github.com/Azure/azure-powershell/pull/3103.diff","patch_url":"https://github.com/Azure/azure-powershell/pull/3103.patch","issue_url":"https://api.github.com/repos/Azure/azure-powershell/issues/3103","number":3103,"state":"open","locked":false,"title":"[Do Not Merge]: powershel modules for AnalysisServices","user":{"login":"athipp","id":20864787,"avatar_url":"https://avatars.githubusercontent.com/u/20864787?v=3","gravatar_id":"","url":"https://api.github.com/users/athipp","html_url":"https://github.com/athipp","followers_url":"https://api.github.com/users/athipp/followers","following_url":"https://api.github.com/users/athipp/following{/other_user}","gists_url":"https://api.github.com/users/athipp/gists{/gist_id}","starred_url":"https://api.github.com/users/athipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athipp/subscriptions","organizations_url":"https://api.github.com/users/athipp/orgs","repos_url":"https://api.github.com/users/athipp/repos","events_url":"https://api.github.com/users/athipp/events{/privacy}","received_events_url":"https://api.github.com/users/athipp/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-20T15:44:07Z","updated_at":"2016-10-28T02:57:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b668ed6241c74c019c498819fa3b0a9dee424b5","assignee":{"login":"markcowl","id":1054056,"avatar_url":"https://avatars.githubusercontent.com/u/1054056?v=3","gravatar_id":"","url":"https://api.github.com/users/markcowl","html_url":"https://github.com/markcowl","followers_url":"https://api.github.com/users/markcowl/followers","following_url":"https://api.github.com/users/markcowl/following{/other_user}","gists_url":"https://api.github.com/users/markcowl/gists{/gist_id}","starred_url":"https://api.github.com/users/markcowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markcowl/subscriptions","organizations_url":"https://api.github.com/users/markcowl/orgs","repos_url":"https://api.github.com/users/markcowl/repos","events_url":"https://api.github.com/users/markcowl/events{/privacy}","received_events_url":"https://api.github.com/users/markcowl/received_events","type":"User","site_admin":false},"assignees":[{"login":"markcowl","id":1054056,"avatar_url":"https://avatars.githubusercontent.com/u/1054056?v=3","gravatar_id":"","url":"https://api.github.com/users/markcowl","html_url":"https://github.com/markcowl","followers_url":"https://api.github.com/users/markcowl/followers","following_url":"https://api.github.com/users/markcowl/following{/other_user}","gists_url":"https://api.github.com/users/markcowl/gists{/gist_id}","starred_url":"https://api.github.com/users/markcowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markcowl/subscriptions","organizations_url":"https://api.github.com/users/markcowl/orgs","repos_url":"https://api.github.com/users/markcowl/repos","events_url":"https://api.github.com/users/markcowl/events{/privacy}","received_events_url":"https://api.github.com/users/markcowl/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/3103/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/3103/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/3103/comments","statuses_url":"https://api.github.com/repos/Azure/azure-powershell/statuses/c572d1f43a213e848a99415c3fe35f2a1d35b08b","head":{"label":"athipp:dev","ref":"dev","sha":"c572d1f43a213e848a99415c3fe35f2a1d35b08b","user":{"login":"athipp","id":20864787,"avatar_url":"https://avatars.githubusercontent.com/u/20864787?v=3","gravatar_id":"","url":"https://api.github.com/users/athipp","html_url":"https://github.com/athipp","followers_url":"https://api.github.com/users/athipp/followers","following_url":"https://api.github.com/users/athipp/following{/other_user}","gists_url":"https://api.github.com/users/athipp/gists{/gist_id}","starred_url":"https://api.github.com/users/athipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athipp/subscriptions","organizations_url":"https://api.github.com/users/athipp/orgs","repos_url":"https://api.github.com/users/athipp/repos","events_url":"https://api.github.com/users/athipp/events{/privacy}","received_events_url":"https://api.github.com/users/athipp/received_events","type":"User","site_admin":false},"repo":{"id":69537456,"name":"azure-powershell","full_name":"athipp/azure-powershell","owner":{"login":"athipp","id":20864787,"avatar_url":"https://avatars.githubusercontent.com/u/20864787?v=3","gravatar_id":"","url":"https://api.github.com/users/athipp","html_url":"https://github.com/athipp","followers_url":"https://api.github.com/users/athipp/followers","following_url":"https://api.github.com/users/athipp/following{/other_user}","gists_url":"https://api.github.com/users/athipp/gists{/gist_id}","starred_url":"https://api.github.com/users/athipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athipp/subscriptions","organizations_url":"https://api.github.com/users/athipp/orgs","repos_url":"https://api.github.com/users/athipp/repos","events_url":"https://api.github.com/users/athipp/events{/privacy}","received_events_url":"https://api.github.com/users/athipp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/athipp/azure-powershell","description":"Microsoft Azure PowerShell","fork":true,"url":"https://api.github.com/repos/athipp/azure-powershell","forks_url":"https://api.github.com/repos/athipp/azure-powershell/forks","keys_url":"https://api.github.com/repos/athipp/azure-powershell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/athipp/azure-powershell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/athipp/azure-powershell/teams","hooks_url":"https://api.github.com/repos/athipp/azure-powershell/hooks","issue_events_url":"https://api.github.com/repos/athipp/azure-powershell/issues/events{/number}","events_url":"https://api.github.com/repos/athipp/azure-powershell/events","assignees_url":"https://api.github.com/repos/athipp/azure-powershell/assignees{/user}","branches_url":"https://api.github.com/repos/athipp/azure-powershell/branches{/branch}","tags_url":"https://api.github.com/repos/athipp/azure-powershell/tags","blobs_url":"https://api.github.com/repos/athipp/azure-powershell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/athipp/azure-powershell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/athipp/azure-powershell/git/refs{/sha}","trees_url":"https://api.github.com/repos/athipp/azure-powershell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/athipp/azure-powershell/statuses/{sha}","languages_url":"https://api.github.com/repos/athipp/azure-powershell/languages","stargazers_url":"https://api.github.com/repos/athipp/azure-powershell/stargazers","contributors_url":"https://api.github.com/repos/athipp/azure-powershell/contributors","subscribers_url":"https://api.github.com/repos/athipp/azure-powershell/subscribers","subscription_url":"https://api.github.com/repos/athipp/azure-powershell/subscription","commits_url":"https://api.github.com/repos/athipp/azure-powershell/commits{/sha}","git_commits_url":"https://api.github.com/repos/athipp/azure-powershell/git/commits{/sha}","comments_url":"https://api.github.com/repos/athipp/azure-powershell/comments{/number}","issue_comment_url":"https://api.github.com/repos/athipp/azure-powershell/issues/comments{/number}","contents_url":"https://api.github.com/repos/athipp/azure-powershell/contents/{+path}","compare_url":"https://api.github.com/repos/athipp/azure-powershell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/athipp/azure-powershell/merges","archive_url":"https://api.github.com/repos/athipp/azure-powershell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/athipp/azure-powershell/downloads","issues_url":"https://api.github.com/repos/athipp/azure-powershell/issues{/number}","pulls_url":"https://api.github.com/repos/athipp/azure-powershell/pulls{/number}","milestones_url":"https://api.github.com/repos/athipp/azure-powershell/milestones{/number}","notifications_url":"https://api.github.com/repos/athipp/azure-powershell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/athipp/azure-powershell/labels{/name}","releases_url":"https://api.github.com/repos/athipp/azure-powershell/releases{/id}","deployments_url":"https://api.github.com/repos/athipp/azure-powershell/deployments","created_at":"2016-09-29T06:25:28Z","updated_at":"2016-09-29T06:25:58Z","pushed_at":"2016-10-27T22:21:55Z","git_url":"git://github.com/athipp/azure-powershell.git","ssh_url":"git@github.com:athipp/azure-powershell.git","clone_url":"https://github.com/athipp/azure-powershell.git","svn_url":"https://github.com/athipp/azure-powershell","homepage":null,"size":219784,"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:dev","ref":"dev","sha":"69c33d0d68d7cdf36c9baa24280d8a2b9e7b650e","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}","deployments_url":"https://api.github.com/repos/Azure/azure-powershell/deployments","created_at":"2014-09-10T20:35:18Z","updated_at":"2016-10-27T16:56:40Z","pushed_at":"2016-10-27T23:15:56Z","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":328150,"stargazers_count":573,"watchers_count":573,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":549,"mirror_url":null,"open_issues_count":483,"forks":549,"open_issues":483,"watchers":573,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/3103"},"html":{"href":"https://github.com/Azure/azure-powershell/pull/3103"},"issue":{"href":"https://api.github.com/repos/Azure/azure-powershell/issues/3103"},"comments":{"href":"https://api.github.com/repos/Azure/azure-powershell/issues/3103/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/3103/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/3103/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-powershell/statuses/c572d1f43a213e848a99415c3fe35f2a1d35b08b"}}}}
{"actor":{"display_login":"athipp"}}