{"action":"created","comment":{"url":"https://api.github.com/repos/StackStorm/st2incubator/pulls/comments/24122552","id":24122552,"diff_hunk":"@@ -0,0 +1,69 @@\n+{\n+    \"name\": \"get_vm\",\n+    \"runner_type\": \"run-python\",\n+    \"description\": \"Retrieves the virtual machines on a vCenter Server system. It computes the union of Virtual Machine sets based on each parameter.\",\n+    \"enabled\": true,\n+    \"entry_point\": \"get_vm.py\",\n+    \"parameters\": {\n+        \"id\": {\n+            \"type\": \"string\",\n+            \"description\": \"Coma-separated ids of Virtual Machines to retrieve.\",\n+            \"required\": false\n+        },\n+        \"name\": {\n+            \"type\": \"string\",\n+            \"description\": \"Coma-separated names of Virtual Machines to retrieve.\",\n+            \"required\": false\n+        },\n+        \"datastore\": {\n+            \"type\": \"string\",\n+            \"description\": \"Coma-separated moId's of the Datastores accociated with searched VMs.\",\n+            \"required\": false\n+        },\n+        \"datastore_cluster\": {\n+            \"type\": \"string\",\n+            \"description\": \"Coma-separated moId's of the Datastore Clusters accociated with searched VMs.\",\n+            \"required\": false\n+        },\n+        \"resource_pool\": {\n+            \"type\": \"string\",\n+            \"description\": \"Coma-separated moId's of the vSphere ResourcePool objects, where VMs are going to be searched.\",\n+            \"required\": false\n+        },\n+        \"vapp\": {\n+            \"type\": \"string\",\n+            \"description\": \"Coma-separated moId's of the vSphere VApp objects, where VMs are going to be searched.\",\n+            \"required\": false\n+        },\n+        \"host\": {\n+            \"type\": \"string\",\n+            \"description\": \"Coma-separated moId's of the vSphere Host objects, where VMs are going to be searched.\",\n+            \"required\": false\n+        },\n+        \"folder\": {\n+            \"type\": \"string\",\n+            \"description\": \"Coma-separated moId's of the vSphere folder objects, where VMs are going to be searched.\",\n+            \"required\": false\n+        },\n+        \"cluster\": {\n+            \"type\": \"string\",\n+            \"description\": \"Coma-separated moId's of the vSphere compute cluster objects, where VMs are going to be searched.\",\n+            \"required\": false\n+        },\n+        \"datacenter\": {\n+            \"type\": \"string\",\n+            \"description\": \"Coma-separated moId's of the vSphere datacenter objects, where VMs are going to be searched.\",\n+            \"required\": false\n+        },\n+        \"virtual_switch\": {\n+            \"type\": \"string\",\n+            \"description\": \"Coma-separated moId's of the Virtual Switches, to which the searched VMs' network adapters are attached.\",\n+            \"required\": false\n+        },\n+        \"no_recursion\": {\n+            \"type\": \"string\",\n+            \"description\": \"Specifies, whether or not to disable the recursive behavior or the command. By default it is False\",\n+            \"required\": false","path":"packs/vsphere/actions/get_vm.json","position":66,"original_position":66,"commit_id":"e10449382c89017a5726d0307fd7feeeafb44e50","original_commit_id":"e10449382c89017a5726d0307fd7feeeafb44e50","user":{"login":"manasdk","id":1776099,"avatar_url":"https://avatars.githubusercontent.com/u/1776099?v=3","gravatar_id":"","url":"https://api.github.com/users/manasdk","html_url":"https://github.com/manasdk","followers_url":"https://api.github.com/users/manasdk/followers","following_url":"https://api.github.com/users/manasdk/following{/other_user}","gists_url":"https://api.github.com/users/manasdk/gists{/gist_id}","starred_url":"https://api.github.com/users/manasdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manasdk/subscriptions","organizations_url":"https://api.github.com/users/manasdk/orgs","repos_url":"https://api.github.com/users/manasdk/repos","events_url":"https://api.github.com/users/manasdk/events{/privacy}","received_events_url":"https://api.github.com/users/manasdk/received_events","type":"User","site_admin":false},"body":"Use only for no_recursion. Your call on leaving the default value in the code. It does not hurt.","created_at":"2015-02-04T21:43:48Z","updated_at":"2015-02-04T21:43:48Z","html_url":"https://github.com/StackStorm/st2incubator/pull/64#discussion_r24122552","pull_request_url":"https://api.github.com/repos/StackStorm/st2incubator/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/StackStorm/st2incubator/pulls/comments/24122552"},"html":{"href":"https://github.com/StackStorm/st2incubator/pull/64#discussion_r24122552"},"pull_request":{"href":"https://api.github.com/repos/StackStorm/st2incubator/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/StackStorm/st2incubator/pulls/64","id":28666187,"html_url":"https://github.com/StackStorm/st2incubator/pull/64","diff_url":"https://github.com/StackStorm/st2incubator/pull/64.diff","patch_url":"https://github.com/StackStorm/st2incubator/pull/64.patch","issue_url":"https://api.github.com/repos/StackStorm/st2incubator/issues/64","number":64,"state":"open","locked":false,"title":"Getvm action","user":{"login":"biokrylov","id":5384286,"avatar_url":"https://avatars.githubusercontent.com/u/5384286?v=3","gravatar_id":"","url":"https://api.github.com/users/biokrylov","html_url":"https://github.com/biokrylov","followers_url":"https://api.github.com/users/biokrylov/followers","following_url":"https://api.github.com/users/biokrylov/following{/other_user}","gists_url":"https://api.github.com/users/biokrylov/gists{/gist_id}","starred_url":"https://api.github.com/users/biokrylov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biokrylov/subscriptions","organizations_url":"https://api.github.com/users/biokrylov/orgs","repos_url":"https://api.github.com/users/biokrylov/repos","events_url":"https://api.github.com/users/biokrylov/events{/privacy}","received_events_url":"https://api.github.com/users/biokrylov/received_events","type":"User","site_admin":false},"body":"Adding Get-VM action.\r\nIt tries to follow the PowerCli command with some exceptions.\r\nPowerCli contains additional parameters that are not present here for the folliwing reason:\r\n        #<server> - we may need to bring it in if we decide to have connections to more than 1 VC.\r\n        #<tag>    - Tags in VC are not the same as tags you see in Web Client for the reason, that those tags are stored in Inventory Service only. PowerCli somehow can access it, from vSphere SDK there is no way.\r\n\r\nAlso, in VIM there is no base class for containers, that is why, \"location\" parameter was split into multiple container parameters like \"folder\", \"host\" , etc.\r\nThe same is for \"datastore\" parameter. It was split into \"datastore\" and datastore_cluster, as there is not base vim class for them.\r\n","created_at":"2015-02-04T19:15:29Z","updated_at":"2015-02-04T21:43:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35a3cd771eb650888f020ac64123be2f79499947","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/StackStorm/st2incubator/pulls/64/commits","review_comments_url":"https://api.github.com/repos/StackStorm/st2incubator/pulls/64/comments","review_comment_url":"https://api.github.com/repos/StackStorm/st2incubator/pulls/comments/{number}","comments_url":"https://api.github.com/repos/StackStorm/st2incubator/issues/64/comments","statuses_url":"https://api.github.com/repos/StackStorm/st2incubator/statuses/e10449382c89017a5726d0307fd7feeeafb44e50","head":{"label":"biokrylov:getvm-action","ref":"getvm-action","sha":"e10449382c89017a5726d0307fd7feeeafb44e50","user":{"login":"biokrylov","id":5384286,"avatar_url":"https://avatars.githubusercontent.com/u/5384286?v=3","gravatar_id":"","url":"https://api.github.com/users/biokrylov","html_url":"https://github.com/biokrylov","followers_url":"https://api.github.com/users/biokrylov/followers","following_url":"https://api.github.com/users/biokrylov/following{/other_user}","gists_url":"https://api.github.com/users/biokrylov/gists{/gist_id}","starred_url":"https://api.github.com/users/biokrylov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biokrylov/subscriptions","organizations_url":"https://api.github.com/users/biokrylov/orgs","repos_url":"https://api.github.com/users/biokrylov/repos","events_url":"https://api.github.com/users/biokrylov/events{/privacy}","received_events_url":"https://api.github.com/users/biokrylov/received_events","type":"User","site_admin":false},"repo":{"id":30315743,"name":"st2incubator","full_name":"biokrylov/st2incubator","owner":{"login":"biokrylov","id":5384286,"avatar_url":"https://avatars.githubusercontent.com/u/5384286?v=3","gravatar_id":"","url":"https://api.github.com/users/biokrylov","html_url":"https://github.com/biokrylov","followers_url":"https://api.github.com/users/biokrylov/followers","following_url":"https://api.github.com/users/biokrylov/following{/other_user}","gists_url":"https://api.github.com/users/biokrylov/gists{/gist_id}","starred_url":"https://api.github.com/users/biokrylov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biokrylov/subscriptions","organizations_url":"https://api.github.com/users/biokrylov/orgs","repos_url":"https://api.github.com/users/biokrylov/repos","events_url":"https://api.github.com/users/biokrylov/events{/privacy}","received_events_url":"https://api.github.com/users/biokrylov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/biokrylov/st2incubator","description":"StackStorm repo for development of new integration packs.  A good place to start your contribution to extend StackStorm.","fork":true,"url":"https://api.github.com/repos/biokrylov/st2incubator","forks_url":"https://api.github.com/repos/biokrylov/st2incubator/forks","keys_url":"https://api.github.com/repos/biokrylov/st2incubator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biokrylov/st2incubator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biokrylov/st2incubator/teams","hooks_url":"https://api.github.com/repos/biokrylov/st2incubator/hooks","issue_events_url":"https://api.github.com/repos/biokrylov/st2incubator/issues/events{/number}","events_url":"https://api.github.com/repos/biokrylov/st2incubator/events","assignees_url":"https://api.github.com/repos/biokrylov/st2incubator/assignees{/user}","branches_url":"https://api.github.com/repos/biokrylov/st2incubator/branches{/branch}","tags_url":"https://api.github.com/repos/biokrylov/st2incubator/tags","blobs_url":"https://api.github.com/repos/biokrylov/st2incubator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biokrylov/st2incubator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biokrylov/st2incubator/git/refs{/sha}","trees_url":"https://api.github.com/repos/biokrylov/st2incubator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biokrylov/st2incubator/statuses/{sha}","languages_url":"https://api.github.com/repos/biokrylov/st2incubator/languages","stargazers_url":"https://api.github.com/repos/biokrylov/st2incubator/stargazers","contributors_url":"https://api.github.com/repos/biokrylov/st2incubator/contributors","subscribers_url":"https://api.github.com/repos/biokrylov/st2incubator/subscribers","subscription_url":"https://api.github.com/repos/biokrylov/st2incubator/subscription","commits_url":"https://api.github.com/repos/biokrylov/st2incubator/commits{/sha}","git_commits_url":"https://api.github.com/repos/biokrylov/st2incubator/git/commits{/sha}","comments_url":"https://api.github.com/repos/biokrylov/st2incubator/comments{/number}","issue_comment_url":"https://api.github.com/repos/biokrylov/st2incubator/issues/comments/{number}","contents_url":"https://api.github.com/repos/biokrylov/st2incubator/contents/{+path}","compare_url":"https://api.github.com/repos/biokrylov/st2incubator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biokrylov/st2incubator/merges","archive_url":"https://api.github.com/repos/biokrylov/st2incubator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biokrylov/st2incubator/downloads","issues_url":"https://api.github.com/repos/biokrylov/st2incubator/issues{/number}","pulls_url":"https://api.github.com/repos/biokrylov/st2incubator/pulls{/number}","milestones_url":"https://api.github.com/repos/biokrylov/st2incubator/milestones{/number}","notifications_url":"https://api.github.com/repos/biokrylov/st2incubator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biokrylov/st2incubator/labels{/name}","releases_url":"https://api.github.com/repos/biokrylov/st2incubator/releases{/id}","created_at":"2015-02-04T19:06:20Z","updated_at":"2015-02-04T19:06:21Z","pushed_at":"2015-02-04T19:11:00Z","git_url":"git://github.com/biokrylov/st2incubator.git","ssh_url":"git@github.com:biokrylov/st2incubator.git","clone_url":"https://github.com/biokrylov/st2incubator.git","svn_url":"https://github.com/biokrylov/st2incubator","homepage":"","size":1554,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"StackStorm:master","ref":"master","sha":"54aad81fc2330acbd222d6cb85af6d864b846ff2","user":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"repo":{"id":27198149,"name":"st2incubator","full_name":"StackStorm/st2incubator","owner":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackStorm/st2incubator","description":"StackStorm repo for development of new integration packs.  A good place to start your contribution to extend StackStorm.","fork":false,"url":"https://api.github.com/repos/StackStorm/st2incubator","forks_url":"https://api.github.com/repos/StackStorm/st2incubator/forks","keys_url":"https://api.github.com/repos/StackStorm/st2incubator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackStorm/st2incubator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackStorm/st2incubator/teams","hooks_url":"https://api.github.com/repos/StackStorm/st2incubator/hooks","issue_events_url":"https://api.github.com/repos/StackStorm/st2incubator/issues/events{/number}","events_url":"https://api.github.com/repos/StackStorm/st2incubator/events","assignees_url":"https://api.github.com/repos/StackStorm/st2incubator/assignees{/user}","branches_url":"https://api.github.com/repos/StackStorm/st2incubator/branches{/branch}","tags_url":"https://api.github.com/repos/StackStorm/st2incubator/tags","blobs_url":"https://api.github.com/repos/StackStorm/st2incubator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackStorm/st2incubator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackStorm/st2incubator/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackStorm/st2incubator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackStorm/st2incubator/statuses/{sha}","languages_url":"https://api.github.com/repos/StackStorm/st2incubator/languages","stargazers_url":"https://api.github.com/repos/StackStorm/st2incubator/stargazers","contributors_url":"https://api.github.com/repos/StackStorm/st2incubator/contributors","subscribers_url":"https://api.github.com/repos/StackStorm/st2incubator/subscribers","subscription_url":"https://api.github.com/repos/StackStorm/st2incubator/subscription","commits_url":"https://api.github.com/repos/StackStorm/st2incubator/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackStorm/st2incubator/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackStorm/st2incubator/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackStorm/st2incubator/issues/comments/{number}","contents_url":"https://api.github.com/repos/StackStorm/st2incubator/contents/{+path}","compare_url":"https://api.github.com/repos/StackStorm/st2incubator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackStorm/st2incubator/merges","archive_url":"https://api.github.com/repos/StackStorm/st2incubator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackStorm/st2incubator/downloads","issues_url":"https://api.github.com/repos/StackStorm/st2incubator/issues{/number}","pulls_url":"https://api.github.com/repos/StackStorm/st2incubator/pulls{/number}","milestones_url":"https://api.github.com/repos/StackStorm/st2incubator/milestones{/number}","notifications_url":"https://api.github.com/repos/StackStorm/st2incubator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackStorm/st2incubator/labels{/name}","releases_url":"https://api.github.com/repos/StackStorm/st2incubator/releases{/id}","created_at":"2014-11-26T22:03:19Z","updated_at":"2015-02-03T17:18:25Z","pushed_at":"2015-02-04T14:27:45Z","git_url":"git://github.com/StackStorm/st2incubator.git","ssh_url":"git@github.com:StackStorm/st2incubator.git","clone_url":"https://github.com/StackStorm/st2incubator.git","svn_url":"https://github.com/StackStorm/st2incubator","homepage":"","size":1554,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StackStorm/st2incubator/pulls/64"},"html":{"href":"https://github.com/StackStorm/st2incubator/pull/64"},"issue":{"href":"https://api.github.com/repos/StackStorm/st2incubator/issues/64"},"comments":{"href":"https://api.github.com/repos/StackStorm/st2incubator/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/StackStorm/st2incubator/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/StackStorm/st2incubator/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/StackStorm/st2incubator/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/StackStorm/st2incubator/statuses/e10449382c89017a5726d0307fd7feeeafb44e50"}}}}