{"action":"created","comment":{"url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls/comments/22776671","id":22776671,"diff_hunk":"@@ -0,0 +1,95 @@\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 System;\n+using System.Management.Automation;\n+using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery;\n+using Microsoft.Azure.Portal.RecoveryServices.Models.Common;\n+using Microsoft.WindowsAzure.Management.RecoveryServices.Models;\n+using Microsoft.WindowsAzure.Management.SiteRecovery.Models;\n+\n+namespace Microsoft.Azure.Commands.RecoveryServices\n+{\n+    /// <summary>\n+    /// Used to initiate a vault create operation.\n+    /// </summary>\n+    [Cmdlet(VerbsCommon.New, \"AzureSiteRecoveryVault\")]\n+    [OutputType(typeof(string))]\n+    public class CreateAzureSiteRecoveryVault : RecoveryServicesCmdletBase\n+    {\n+        #region Parameters\n+\n+        /// <summary>\n+        /// Gets or sets the vault name\n+        /// </summary>\n+        [Parameter(ParameterSetName = ASRParameterSets.ByParam, HelpMessage = \"Vault Name for which the cred file to be generated\")]\n+        [ValidateNotNullOrEmpty]","path":"src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryVault.cs","position":37,"original_position":37,"commit_id":"d0d77edcd0b80ae6d637ccc47098350eaf501ede","original_commit_id":"d0d77edcd0b80ae6d637ccc47098350eaf501ede","user":{"login":"sriramvu","id":7856397,"avatar_url":"https://avatars.githubusercontent.com/u/7856397?v=3","gravatar_id":"","url":"https://api.github.com/users/sriramvu","html_url":"https://github.com/sriramvu","followers_url":"https://api.github.com/users/sriramvu/followers","following_url":"https://api.github.com/users/sriramvu/following{/other_user}","gists_url":"https://api.github.com/users/sriramvu/gists{/gist_id}","starred_url":"https://api.github.com/users/sriramvu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sriramvu/subscriptions","organizations_url":"https://api.github.com/users/sriramvu/orgs","repos_url":"https://api.github.com/users/sriramvu/repos","events_url":"https://api.github.com/users/sriramvu/events{/privacy}","received_events_url":"https://api.github.com/users/sriramvu/received_events","type":"User","site_admin":false},"body":"if there is single parameter set, we can remove \"ParameterSetName \"","created_at":"2015-01-12T06:46:39Z","updated_at":"2015-01-12T06:46:39Z","html_url":"https://github.com/AsrOneSdk/azure-powershell/pull/5#discussion_r22776671","pull_request_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls/comments/22776671"},"html":{"href":"https://github.com/AsrOneSdk/azure-powershell/pull/5#discussion_r22776671"},"pull_request":{"href":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls/5","id":26814987,"html_url":"https://github.com/AsrOneSdk/azure-powershell/pull/5","diff_url":"https://github.com/AsrOneSdk/azure-powershell/pull/5.diff","patch_url":"https://github.com/AsrOneSdk/azure-powershell/pull/5.patch","issue_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/issues/5","number":5,"state":"open","locked":false,"title":"Vault Credentials Client changes, enumerate vaults, create cloudservice and create vault changes","user":{"login":"devsriMS","id":10151404,"avatar_url":"https://avatars.githubusercontent.com/u/10151404?v=3","gravatar_id":"","url":"https://api.github.com/users/devsriMS","html_url":"https://github.com/devsriMS","followers_url":"https://api.github.com/users/devsriMS/followers","following_url":"https://api.github.com/users/devsriMS/following{/other_user}","gists_url":"https://api.github.com/users/devsriMS/gists{/gist_id}","starred_url":"https://api.github.com/users/devsriMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devsriMS/subscriptions","organizations_url":"https://api.github.com/users/devsriMS/orgs","repos_url":"https://api.github.com/users/devsriMS/repos","events_url":"https://api.github.com/users/devsriMS/events{/privacy}","received_events_url":"https://api.github.com/users/devsriMS/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-05T10:08:09Z","updated_at":"2015-01-12T06:46:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a02302b46347506523594e6ebefbecd970acfc3e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls/5/commits","review_comments_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls/5/comments","review_comment_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls/comments/{number}","comments_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/issues/5/comments","statuses_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/statuses/d0d77edcd0b80ae6d637ccc47098350eaf501ede","head":{"label":"AsrOneSdk:devsri-dev","ref":"devsri-dev","sha":"d0d77edcd0b80ae6d637ccc47098350eaf501ede","user":{"login":"AsrOneSdk","id":7922259,"avatar_url":"https://avatars.githubusercontent.com/u/7922259?v=3","gravatar_id":"","url":"https://api.github.com/users/AsrOneSdk","html_url":"https://github.com/AsrOneSdk","followers_url":"https://api.github.com/users/AsrOneSdk/followers","following_url":"https://api.github.com/users/AsrOneSdk/following{/other_user}","gists_url":"https://api.github.com/users/AsrOneSdk/gists{/gist_id}","starred_url":"https://api.github.com/users/AsrOneSdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AsrOneSdk/subscriptions","organizations_url":"https://api.github.com/users/AsrOneSdk/orgs","repos_url":"https://api.github.com/users/AsrOneSdk/repos","events_url":"https://api.github.com/users/AsrOneSdk/events{/privacy}","received_events_url":"https://api.github.com/users/AsrOneSdk/received_events","type":"Organization","site_admin":false},"repo":{"id":26844793,"name":"azure-powershell","full_name":"AsrOneSdk/azure-powershell","owner":{"login":"AsrOneSdk","id":7922259,"avatar_url":"https://avatars.githubusercontent.com/u/7922259?v=3","gravatar_id":"","url":"https://api.github.com/users/AsrOneSdk","html_url":"https://github.com/AsrOneSdk","followers_url":"https://api.github.com/users/AsrOneSdk/followers","following_url":"https://api.github.com/users/AsrOneSdk/following{/other_user}","gists_url":"https://api.github.com/users/AsrOneSdk/gists{/gist_id}","starred_url":"https://api.github.com/users/AsrOneSdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AsrOneSdk/subscriptions","organizations_url":"https://api.github.com/users/AsrOneSdk/orgs","repos_url":"https://api.github.com/users/AsrOneSdk/repos","events_url":"https://api.github.com/users/AsrOneSdk/events{/privacy}","received_events_url":"https://api.github.com/users/AsrOneSdk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AsrOneSdk/azure-powershell","description":"Microsoft Azure PowerShell","fork":true,"url":"https://api.github.com/repos/AsrOneSdk/azure-powershell","forks_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/forks","keys_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/teams","hooks_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/hooks","issue_events_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/issues/events{/number}","events_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/events","assignees_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/assignees{/user}","branches_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/branches{/branch}","tags_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/tags","blobs_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/git/refs{/sha}","trees_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/statuses/{sha}","languages_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/languages","stargazers_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/stargazers","contributors_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/contributors","subscribers_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/subscribers","subscription_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/subscription","commits_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/commits{/sha}","git_commits_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/git/commits{/sha}","comments_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/comments{/number}","issue_comment_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/issues/comments/{number}","contents_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/contents/{+path}","compare_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/merges","archive_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/downloads","issues_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/issues{/number}","pulls_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls{/number}","milestones_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/milestones{/number}","notifications_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/labels{/name}","releases_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/releases{/id}","created_at":"2014-11-19T04:44:16Z","updated_at":"2014-11-19T04:44:23Z","pushed_at":"2015-01-09T12:04:40Z","git_url":"git://github.com/AsrOneSdk/azure-powershell.git","ssh_url":"git@github.com:AsrOneSdk/azure-powershell.git","clone_url":"https://github.com/AsrOneSdk/azure-powershell.git","svn_url":"https://github.com/AsrOneSdk/azure-powershell","homepage":null,"size":12165,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"AsrOneSdk:dev","ref":"dev","sha":"a5f814671ebb0785d00d892f08b82863a92eb674","user":{"login":"AsrOneSdk","id":7922259,"avatar_url":"https://avatars.githubusercontent.com/u/7922259?v=3","gravatar_id":"","url":"https://api.github.com/users/AsrOneSdk","html_url":"https://github.com/AsrOneSdk","followers_url":"https://api.github.com/users/AsrOneSdk/followers","following_url":"https://api.github.com/users/AsrOneSdk/following{/other_user}","gists_url":"https://api.github.com/users/AsrOneSdk/gists{/gist_id}","starred_url":"https://api.github.com/users/AsrOneSdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AsrOneSdk/subscriptions","organizations_url":"https://api.github.com/users/AsrOneSdk/orgs","repos_url":"https://api.github.com/users/AsrOneSdk/repos","events_url":"https://api.github.com/users/AsrOneSdk/events{/privacy}","received_events_url":"https://api.github.com/users/AsrOneSdk/received_events","type":"Organization","site_admin":false},"repo":{"id":26844793,"name":"azure-powershell","full_name":"AsrOneSdk/azure-powershell","owner":{"login":"AsrOneSdk","id":7922259,"avatar_url":"https://avatars.githubusercontent.com/u/7922259?v=3","gravatar_id":"","url":"https://api.github.com/users/AsrOneSdk","html_url":"https://github.com/AsrOneSdk","followers_url":"https://api.github.com/users/AsrOneSdk/followers","following_url":"https://api.github.com/users/AsrOneSdk/following{/other_user}","gists_url":"https://api.github.com/users/AsrOneSdk/gists{/gist_id}","starred_url":"https://api.github.com/users/AsrOneSdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AsrOneSdk/subscriptions","organizations_url":"https://api.github.com/users/AsrOneSdk/orgs","repos_url":"https://api.github.com/users/AsrOneSdk/repos","events_url":"https://api.github.com/users/AsrOneSdk/events{/privacy}","received_events_url":"https://api.github.com/users/AsrOneSdk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AsrOneSdk/azure-powershell","description":"Microsoft Azure PowerShell","fork":true,"url":"https://api.github.com/repos/AsrOneSdk/azure-powershell","forks_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/forks","keys_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/teams","hooks_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/hooks","issue_events_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/issues/events{/number}","events_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/events","assignees_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/assignees{/user}","branches_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/branches{/branch}","tags_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/tags","blobs_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/git/refs{/sha}","trees_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/statuses/{sha}","languages_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/languages","stargazers_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/stargazers","contributors_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/contributors","subscribers_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/subscribers","subscription_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/subscription","commits_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/commits{/sha}","git_commits_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/git/commits{/sha}","comments_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/comments{/number}","issue_comment_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/issues/comments/{number}","contents_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/contents/{+path}","compare_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/merges","archive_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/downloads","issues_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/issues{/number}","pulls_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls{/number}","milestones_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/milestones{/number}","notifications_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/labels{/name}","releases_url":"https://api.github.com/repos/AsrOneSdk/azure-powershell/releases{/id}","created_at":"2014-11-19T04:44:16Z","updated_at":"2014-11-19T04:44:23Z","pushed_at":"2015-01-09T12:04:40Z","git_url":"git://github.com/AsrOneSdk/azure-powershell.git","ssh_url":"git@github.com:AsrOneSdk/azure-powershell.git","clone_url":"https://github.com/AsrOneSdk/azure-powershell.git","svn_url":"https://github.com/AsrOneSdk/azure-powershell","homepage":null,"size":12165,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls/5"},"html":{"href":"https://github.com/AsrOneSdk/azure-powershell/pull/5"},"issue":{"href":"https://api.github.com/repos/AsrOneSdk/azure-powershell/issues/5"},"comments":{"href":"https://api.github.com/repos/AsrOneSdk/azure-powershell/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/AsrOneSdk/azure-powershell/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/AsrOneSdk/azure-powershell/statuses/d0d77edcd0b80ae6d637ccc47098350eaf501ede"}}}}