{"action":"closed","number":3075,"pull_request":{"url":"https://api.github.com/repos/Azure/azure-powershell/pulls/3075","id":89091577,"html_url":"https://github.com/Azure/azure-powershell/pull/3075","diff_url":"https://github.com/Azure/azure-powershell/pull/3075.diff","patch_url":"https://github.com/Azure/azure-powershell/pull/3075.patch","issue_url":"https://api.github.com/repos/Azure/azure-powershell/issues/3075","number":3075,"state":"closed","locked":false,"title":"Add CollectorType in WindowsPerformanceCounter DataSource properties (OperationalInsights)","user":{"login":"xizhamsft","id":16141870,"avatar_url":"https://avatars.githubusercontent.com/u/16141870?v=3","gravatar_id":"","url":"https://api.github.com/users/xizhamsft","html_url":"https://github.com/xizhamsft","followers_url":"https://api.github.com/users/xizhamsft/followers","following_url":"https://api.github.com/users/xizhamsft/following{/other_user}","gists_url":"https://api.github.com/users/xizhamsft/gists{/gist_id}","starred_url":"https://api.github.com/users/xizhamsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xizhamsft/subscriptions","organizations_url":"https://api.github.com/users/xizhamsft/orgs","repos_url":"https://api.github.com/users/xizhamsft/repos","events_url":"https://api.github.com/users/xizhamsft/events{/privacy}","received_events_url":"https://api.github.com/users/xizhamsft/received_events","type":"User","site_admin":false},"body":"## Comments\r\n - Add CollectorType in WindowsPerformanceCounter DataSource properties (OperationalInsights)\r\n - Also changed the testing workspace sku from free to premium. There is a limit of 10 free workspaces per subscripion.\r\n - Fixed a few typos in comments\r\n\r\n---\r\n\r\nThis checklist is used to make sure that common issues in a pull request are covered by the creator. You can find a more complete discussion of PowerShell cmdlet best practices [here](https://msdn.microsoft.com/en-us/library/dd878270(v=vs.85).aspx).\r\n\r\nBelow in **Overall Changes**, check off the boxes that apply to your PR. For the categories that you did not check off, you can remove them from this body. Within each of the categories that you did select, make sure that you can check off **all** of the boxes. \r\n\r\nFor information on cleaning up the commits in your pull request, click [here](../documentation/cleaning-up-commits.md).\r\n\r\n## Overall Changes \r\n- [x] [**MANDATORY** - General changes](#general)\r\n- [x] [**MANDATORY** - Add/remove/edit test(s)](#tests)\r\n- [x] [Add/remove/edit cmdlet(s)](#cmdlet-signature)\r\n- [x] [Add/remove/edit parameter(s)](#parameters)\r\n- [ ] [Edit pipeline parameters](#parameters-and-the-pipeline)\r\n\r\n### General\r\n- [x] Title of the PR is clear and informative\r\n- [x] There are a small number of commits that each have an informative message\r\n- [ ] If it applies, references the bug/issue that the PR fixes\r\n- [x] All files have the Microsoft copyright header\r\n- [x] Cmdlets refer to management libraries through nuget references - no dlls are checked in\r\n- [x] The PR does not introduce breaking changes (unless a major version change occurs in the assembly and module)\r\n\r\n### Tests\r\n- [ ] PR includes test coverage for the included changes\r\n- [ ] Tests must use xunit, and should either use Moq to mock management client calls, or use the scenario test framework\r\n- [ ] PowerShell scripts used in tests must not use hard-coded values for location\r\n- [ ] PowerShell scripts used in tests should do any necessary setup as part of the test or suite setup, and should not use hard-coded values for existing resources\r\n- [ ] Tests should not use App.config files for settings\r\n- [ ] Tests should use the built-in PowerShell functions for generating random names when unique names are necessary - this will store names in the test recording\r\n- [ ] Tests should use Start-Sleep to pause rather than Thread.Sleep\r\n\r\n### Cmdlet Signature\r\n- [ ] Cmdlet name uses an approved PowerShell verb - use the enums for `VerbsCommon`, `VerbsCommunication`, `VerbsLifecycle`, `VerbsOther` whenever possible\r\n- [ ] Cmdlet noun name uses the AzureRm prefix for management cmdlets, and the Azure prefix for data plane cmdlets\r\n- [ ] Cmdlet specifies the `OutputType` attribute if any output is produced; if the cmdlet produces no output, it should implement a `PassThrough` parameter\r\n- [ ] If the cmdlet makes changes or has side effects, it should implement `ShouldProcess` and have `SupportShouldProcess = true` specified in the cmdlet attribute. See a discussion about correct `ShouldProcess` implementation [here](https://gist.github.com/markcowl/338e16fe5c8bbf195aff9f8af0db585d#what-is-the-change)\r\n- [ ] Cmdlets should derive from AzureRmCmdlet for management cmdlets, and AzureDataCmdlet for data cmdlets\r\n- [ ] If multiple parameter sets are implemented, the cmdlet should specify a `DefaultParameterSetName` in its cmdlet attribute\r\n\r\n### Parameters\r\n- [ ] Cmdlets should have no more than four positional parameters\r\n- [ ] Cmdlet parameter sets should be mutually exclusive - each parameter set must have at least one mandatory parameter not in other parameter sets\r\n- [ ] Parameter types should not expose types from the management library - complex parameter types should be defined in the module\r\n- [ ] Complex parameter types are discouraged - a parameter type should be simple types as often as possible. If complex types are used, they should be shallow and easily creatable from a constructor or another cmdlet\r\n- [ ] Parameters should be explicitly marked as Mandatory or not, and should contain a HelpMessage\r\n- [ ] No parameter is of type `object`.\r\n    - Management cmdlets should have the following parameters and aliases:\r\n        - ResourceGroupName with (optional) alias to `ResourceGroup` type string marked as [ValueFromPipelineByPropertyName]\r\n        - Name with alias to `ResourceName` type string marked as [ValueFromPipelineByPropertyName]\r\n        - Location (if appropriate) type string\r\n        - Tag, type `HashTable`\r\n\r\n### Parameters and the Pipeline\r\n- [ ] Complex parameters should take values from the pipeline when possible, and certainly when they match the output type of another cmdlet\r\n- [ ] Only one parameter should use ValueFromPipeline per parameter set; parameters from different parameter sets may have this attribute, but should not be convertible\r\n- [ ] No parameter is of type `object`\r\n- [ ] Each management cmdlet should have a parameter set that takes `ResourceGroupName` and `Name` from the pipeline by property value\r\n- [ ] For a given resource type, it should be possible to pipe the output of `Get` and `New` cmdlets to the input of `Set`, `Update`, `Remove` and other action cmdlets for that resource\r\n","created_at":"2016-10-12T20:51:57Z","updated_at":"2016-10-17T20:19:07Z","closed_at":"2016-10-17T20:19:07Z","merged_at":"2016-10-17T20:19:07Z","merge_commit_sha":"417aceabb669bc9ff3a5a32d243a431d26cadd03","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/3075/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/3075/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/3075/comments","statuses_url":"https://api.github.com/repos/Azure/azure-powershell/statuses/f72c24008cac6c52da7f7234ccd7c686e476b9ae","head":{"label":"xizhamsft:dev","ref":"dev","sha":"f72c24008cac6c52da7f7234ccd7c686e476b9ae","user":{"login":"xizhamsft","id":16141870,"avatar_url":"https://avatars.githubusercontent.com/u/16141870?v=3","gravatar_id":"","url":"https://api.github.com/users/xizhamsft","html_url":"https://github.com/xizhamsft","followers_url":"https://api.github.com/users/xizhamsft/followers","following_url":"https://api.github.com/users/xizhamsft/following{/other_user}","gists_url":"https://api.github.com/users/xizhamsft/gists{/gist_id}","starred_url":"https://api.github.com/users/xizhamsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xizhamsft/subscriptions","organizations_url":"https://api.github.com/users/xizhamsft/orgs","repos_url":"https://api.github.com/users/xizhamsft/repos","events_url":"https://api.github.com/users/xizhamsft/events{/privacy}","received_events_url":"https://api.github.com/users/xizhamsft/received_events","type":"User","site_admin":false},"repo":{"id":69599672,"name":"azure-powershell","full_name":"xizhamsft/azure-powershell","owner":{"login":"xizhamsft","id":16141870,"avatar_url":"https://avatars.githubusercontent.com/u/16141870?v=3","gravatar_id":"","url":"https://api.github.com/users/xizhamsft","html_url":"https://github.com/xizhamsft","followers_url":"https://api.github.com/users/xizhamsft/followers","following_url":"https://api.github.com/users/xizhamsft/following{/other_user}","gists_url":"https://api.github.com/users/xizhamsft/gists{/gist_id}","starred_url":"https://api.github.com/users/xizhamsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xizhamsft/subscriptions","organizations_url":"https://api.github.com/users/xizhamsft/orgs","repos_url":"https://api.github.com/users/xizhamsft/repos","events_url":"https://api.github.com/users/xizhamsft/events{/privacy}","received_events_url":"https://api.github.com/users/xizhamsft/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xizhamsft/azure-powershell","description":"Microsoft Azure PowerShell","fork":true,"url":"https://api.github.com/repos/xizhamsft/azure-powershell","forks_url":"https://api.github.com/repos/xizhamsft/azure-powershell/forks","keys_url":"https://api.github.com/repos/xizhamsft/azure-powershell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xizhamsft/azure-powershell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xizhamsft/azure-powershell/teams","hooks_url":"https://api.github.com/repos/xizhamsft/azure-powershell/hooks","issue_events_url":"https://api.github.com/repos/xizhamsft/azure-powershell/issues/events{/number}","events_url":"https://api.github.com/repos/xizhamsft/azure-powershell/events","assignees_url":"https://api.github.com/repos/xizhamsft/azure-powershell/assignees{/user}","branches_url":"https://api.github.com/repos/xizhamsft/azure-powershell/branches{/branch}","tags_url":"https://api.github.com/repos/xizhamsft/azure-powershell/tags","blobs_url":"https://api.github.com/repos/xizhamsft/azure-powershell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xizhamsft/azure-powershell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xizhamsft/azure-powershell/git/refs{/sha}","trees_url":"https://api.github.com/repos/xizhamsft/azure-powershell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xizhamsft/azure-powershell/statuses/{sha}","languages_url":"https://api.github.com/repos/xizhamsft/azure-powershell/languages","stargazers_url":"https://api.github.com/repos/xizhamsft/azure-powershell/stargazers","contributors_url":"https://api.github.com/repos/xizhamsft/azure-powershell/contributors","subscribers_url":"https://api.github.com/repos/xizhamsft/azure-powershell/subscribers","subscription_url":"https://api.github.com/repos/xizhamsft/azure-powershell/subscription","commits_url":"https://api.github.com/repos/xizhamsft/azure-powershell/commits{/sha}","git_commits_url":"https://api.github.com/repos/xizhamsft/azure-powershell/git/commits{/sha}","comments_url":"https://api.github.com/repos/xizhamsft/azure-powershell/comments{/number}","issue_comment_url":"https://api.github.com/repos/xizhamsft/azure-powershell/issues/comments{/number}","contents_url":"https://api.github.com/repos/xizhamsft/azure-powershell/contents/{+path}","compare_url":"https://api.github.com/repos/xizhamsft/azure-powershell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xizhamsft/azure-powershell/merges","archive_url":"https://api.github.com/repos/xizhamsft/azure-powershell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xizhamsft/azure-powershell/downloads","issues_url":"https://api.github.com/repos/xizhamsft/azure-powershell/issues{/number}","pulls_url":"https://api.github.com/repos/xizhamsft/azure-powershell/pulls{/number}","milestones_url":"https://api.github.com/repos/xizhamsft/azure-powershell/milestones{/number}","notifications_url":"https://api.github.com/repos/xizhamsft/azure-powershell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xizhamsft/azure-powershell/labels{/name}","releases_url":"https://api.github.com/repos/xizhamsft/azure-powershell/releases{/id}","deployments_url":"https://api.github.com/repos/xizhamsft/azure-powershell/deployments","created_at":"2016-09-29T19:16:41Z","updated_at":"2016-09-29T19:17:11Z","pushed_at":"2016-10-13T19:55:55Z","git_url":"git://github.com/xizhamsft/azure-powershell.git","ssh_url":"git@github.com:xizhamsft/azure-powershell.git","clone_url":"https://github.com/xizhamsft/azure-powershell.git","svn_url":"https://github.com/xizhamsft/azure-powershell","homepage":null,"size":218385,"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":"6cffcaa15e0a0fb587d65a4477600231d2c36a99","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-14T22:45:10Z","pushed_at":"2016-10-17T20:19:08Z","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":325308,"stargazers_count":562,"watchers_count":562,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":538,"mirror_url":null,"open_issues_count":470,"forks":538,"open_issues":470,"watchers":562,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/3075"},"html":{"href":"https://github.com/Azure/azure-powershell/pull/3075"},"issue":{"href":"https://api.github.com/repos/Azure/azure-powershell/issues/3075"},"comments":{"href":"https://api.github.com/repos/Azure/azure-powershell/issues/3075/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/3075/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/3075/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-powershell/statuses/f72c24008cac6c52da7f7234ccd7c686e476b9ae"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"shahabhijeet","id":20732208,"avatar_url":"https://avatars.githubusercontent.com/u/20732208?v=3","gravatar_id":"","url":"https://api.github.com/users/shahabhijeet","html_url":"https://github.com/shahabhijeet","followers_url":"https://api.github.com/users/shahabhijeet/followers","following_url":"https://api.github.com/users/shahabhijeet/following{/other_user}","gists_url":"https://api.github.com/users/shahabhijeet/gists{/gist_id}","starred_url":"https://api.github.com/users/shahabhijeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahabhijeet/subscriptions","organizations_url":"https://api.github.com/users/shahabhijeet/orgs","repos_url":"https://api.github.com/users/shahabhijeet/repos","events_url":"https://api.github.com/users/shahabhijeet/events{/privacy}","received_events_url":"https://api.github.com/users/shahabhijeet/received_events","type":"User","site_admin":false},"comments":4,"review_comments":5,"commits":4,"additions":412,"deletions":172,"changed_files":5}}
{"actor":{"display_login":"shahabhijeet"}}