{"action":"created","comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/comments/245236379","pull_request_review_id":189285067,"id":245236379,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTIzNjM3OQ==","diff_hunk":"@@ -0,0 +1,141 @@\n+package vcd\n+\n+import (\n+\t\"fmt\"\n+\t\"github.com/hashicorp/terraform/helper/schema\"\n+\t\"github.com/vmware/go-vcloud-director/govcd\"\n+\t\"log\"\n+)\n+\n+func resourceVcdInsertEjectMedia() *schema.Resource {\n+\treturn &schema.Resource{\n+\t\tCreate: resourceVcdMediaInsert,\n+\t\tDelete: resourceVcdMediaEject,\n+\t\tRead:   resourceVcdVmInsertedMediaRead,\n+\n+\t\tSchema: map[string]*schema.Schema{\n+\t\t\t\"vdc\": {\n+\t\t\t\tType:     schema.TypeString,\n+\t\t\t\tRequired: false,\n+\t\t\t\tOptional: true,\n+\t\t\t\tForceNew: true,\n+\t\t\t},\n+\t\t\t\"org\": {\n+\t\t\t\tType:     schema.TypeString,\n+\t\t\t\tRequired: false,\n+\t\t\t\tOptional: true,\n+\t\t\t\tForceNew: true,\n+\t\t\t},\n+\t\t\t\"catalog\": &schema.Schema{\n+\t\t\t\tType:        schema.TypeString,\n+\t\t\t\tRequired:    true,\n+\t\t\t\tForceNew:    true,\n+\t\t\t\tDescription: \"catalog name where to find media file\",\n+\t\t\t},\n+\t\t\t\"name\": &schema.Schema{\n+\t\t\t\tType:        schema.TypeString,\n+\t\t\t\tRequired:    true,\n+\t\t\t\tForceNew:    true,\n+\t\t\t\tDescription: \"media name to use\",\n+\t\t\t},\n+\t\t\t\"vapp_name\": &schema.Schema{\n+\t\t\t\tType:        schema.TypeString,\n+\t\t\t\tRequired:    true,\n+\t\t\t\tForceNew:    true,\n+\t\t\t\tDescription: \"vapp to use\",\n+\t\t\t},\n+\t\t\t\"vm_name\": &schema.Schema{\n+\t\t\t\tType:        schema.TypeString,\n+\t\t\t\tRequired:    true,\n+\t\t\t\tForceNew:    true,\n+\t\t\t\tDescription: \"vm in vapp in which media will be inserted or ejected\",\n+\t\t\t},\n+\t\t},\n+\t}\n+}\n+\n+func resourceVcdMediaInsert(d *schema.ResourceData, meta interface{}) error {\n+\tlog.Printf(\"[TRACE] VM media insert initiated\")\n+\n+\tvm, org, err := getVM(d, meta)\n+\tif err != nil || org == (govcd.Org{}) {\n+\t\treturn fmt.Errorf(\"error: %#v\", err)\n+\t}\n+\n+\ttask, err := vm.HandleInsertMedia(&org, d.Get(\"catalog\").(string), d.Get(\"name\").(string))\n+\n+\terr = task.WaitTaskCompletion()\n+\tif err != nil {\n+\t\treturn fmt.Errorf(\"error: %#v\", err)\n+\t}\n+\n+\td.SetId(d.Get(\"vapp_name\").(string) + \"_\" + d.Get(\"vm_name\").(string) + \"_\" + d.Get(\"name\").(string))\n+\treturn resourceVcdVmInsertedMediaRead(d, meta)\n+}\n+\n+func resourceVcdVmInsertedMediaRead(d *schema.ResourceData, meta interface{}) error {\n+\tlog.Printf(\"[TRACE] VM insert media read initiated\")\n+\n+\tvm, _, err := getVM(d, meta)\n+\tif err != nil {\n+\t\treturn fmt.Errorf(\"error: %#v\", err)\n+\t}\n+\n+\tisIsoMounted := false\n+\tfor _, hardwareItem := range vm.VM.VirtualHardwareSection.Item {\n+\t\tif hardwareItem.ResourceSubType == \"vmware.cdrom.iso\" {\n+\t\t\tisIsoMounted = true\n+\t\t\tbreak\n+\t\t}\n+\t}\n+\n+\tif !isIsoMounted {\n+\t\tlog.Printf(\"[DEBUG] Didn't find mounted iso in VM. Removing from tfstate\")\n+\t\td.SetId(\"\")\n+\t}\n+\n+\tlog.Printf(\"[TRACE] VM insert media read completed.\")\n+\treturn nil\n+}\n+\n+func resourceVcdMediaEject(d *schema.ResourceData, meta interface{}) error {\n+\tvm, org, err := getVM(d, meta)\n+\tif err != nil {\n+\t\treturn fmt.Errorf(\"error: %#v\", err)\n+\t}\n+\n+\ttask, err := vm.HandleEjectMedia(&org, d.Get(\"catalog\").(string), d.Get(\"name\").(string))\n+\tif err != nil {\n+\t\treturn fmt.Errorf(\"error: %#v\", err)\n+\t}\n+\n+\terr = task.WaitTaskCompletion()\n+\tif err != nil {\n+\t\treturn fmt.Errorf(\"error: %#v\", err)\n+\t}\n+\n+\treturn nil\n+}\n+\n+func getVM(d *schema.ResourceData, meta interface{}) (govcd.VM, govcd.Org, error) {\n+\tvcdClient := meta.(*VCDClient)\n+\n+\torg, vdc, err := vcdClient.GetOrgAndVdcFromResource(d)\n+\tif err != nil || org == (govcd.Org{}) || vdc == (govcd.Vdc{}) {\n+\t\treturn govcd.VM{}, govcd.Org{}, fmt.Errorf(errorRetrievingOrgAndVdc, err)\n+\t}\n+\n+\tvmRecord, err := vdc.QueryVM(d.Get(\"vapp_name\").(string), d.Get(\"vm_name\").(string))\n+\tif err != nil {\n+\t\tlog.Printf(\"[DEBUG] Unable to find VM. Removing from tfstate\")\n+\t\td.SetId(\"\")\n+\t\treturn govcd.VM{}, govcd.Org{}, fmt.Errorf(\"unableto find VM. Removing from tfstate. Err: #%v\", err)\n+\t}\n+\n+\tvm, err := vcdClient.Client.FindVMByHREF(vmRecord.VM.HREF)\n+\tif err != nil || vm == (govcd.VM{}) {\n+\t\tlog.Printf(\"[DEBUG] Unable to get vm data\")","path":"vcd/resource_vcd_vm_insert_eject_media.go","position":null,"original_position":137,"commit_id":"8ec5263a2f8f7e7a787fa3b32aae8d904e23e99d","original_commit_id":"30f8628410b53baee9c796e4e2a7464690a563b5","user":{"login":"dataclouder","id":11331818,"node_id":"MDQ6VXNlcjExMzMxODE4","avatar_url":"https://avatars0.githubusercontent.com/u/11331818?v=4","gravatar_id":"","url":"https://api.github.com/users/dataclouder","html_url":"https://github.com/dataclouder","followers_url":"https://api.github.com/users/dataclouder/followers","following_url":"https://api.github.com/users/dataclouder/following{/other_user}","gists_url":"https://api.github.com/users/dataclouder/gists{/gist_id}","starred_url":"https://api.github.com/users/dataclouder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dataclouder/subscriptions","organizations_url":"https://api.github.com/users/dataclouder/orgs","repos_url":"https://api.github.com/users/dataclouder/repos","events_url":"https://api.github.com/users/dataclouder/events{/privacy}","received_events_url":"https://api.github.com/users/dataclouder/received_events","type":"User","site_admin":false},"body":"\"vm\" -> \"VM\"","created_at":"2019-01-04T08:32:03Z","updated_at":"2019-01-04T08:38:30Z","html_url":"https://github.com/terraform-providers/terraform-provider-vcd/pull/145#discussion_r245236379","pull_request_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/145","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/comments/245236379"},"html":{"href":"https://github.com/terraform-providers/terraform-provider-vcd/pull/145#discussion_r245236379"},"pull_request":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/145"}}},"pull_request":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/145","id":241954123,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxOTU0MTIz","html_url":"https://github.com/terraform-providers/terraform-provider-vcd/pull/145","diff_url":"https://github.com/terraform-providers/terraform-provider-vcd/pull/145.diff","patch_url":"https://github.com/terraform-providers/terraform-provider-vcd/pull/145.patch","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues/145","number":145,"state":"open","locked":false,"title":"Add insert media resource","user":{"login":"vbauzysvmware","id":41415459,"node_id":"MDQ6VXNlcjQxNDE1NDU5","avatar_url":"https://avatars3.githubusercontent.com/u/41415459?v=4","gravatar_id":"","url":"https://api.github.com/users/vbauzysvmware","html_url":"https://github.com/vbauzysvmware","followers_url":"https://api.github.com/users/vbauzysvmware/followers","following_url":"https://api.github.com/users/vbauzysvmware/following{/other_user}","gists_url":"https://api.github.com/users/vbauzysvmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vbauzysvmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbauzysvmware/subscriptions","organizations_url":"https://api.github.com/users/vbauzysvmware/orgs","repos_url":"https://api.github.com/users/vbauzysvmware/repos","events_url":"https://api.github.com/users/vbauzysvmware/events{/privacy}","received_events_url":"https://api.github.com/users/vbauzysvmware/received_events","type":"User","site_admin":false},"body":"Added implementation for insert and eject media recourse management.\r\n\r\nReference: #126\r\n\r\nSigned-off-by: Vaidotas Bauzys vbauzys@vmware.com","created_at":"2019-01-03T10:22:58Z","updated_at":"2019-01-04T08:38:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92e5af00e34bd529065c45bcdad4dad6f54f2794","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":625730319,"node_id":"MDU6TGFiZWw2MjU3MzAzMTk=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/labels/dependencies","name":"dependencies","color":"fad8c7","default":false},{"id":737832422,"node_id":"MDU6TGFiZWw3Mzc4MzI0MjI=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/labels/size/XL","name":"size/XL","color":"ffffff","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/145/commits","review_comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/145/comments","review_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues/145/comments","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/statuses/8ec5263a2f8f7e7a787fa3b32aae8d904e23e99d","head":{"label":"vbauzysvmware:add-insert-media-resource","ref":"add-insert-media-resource","sha":"8ec5263a2f8f7e7a787fa3b32aae8d904e23e99d","user":{"login":"vbauzysvmware","id":41415459,"node_id":"MDQ6VXNlcjQxNDE1NDU5","avatar_url":"https://avatars3.githubusercontent.com/u/41415459?v=4","gravatar_id":"","url":"https://api.github.com/users/vbauzysvmware","html_url":"https://github.com/vbauzysvmware","followers_url":"https://api.github.com/users/vbauzysvmware/followers","following_url":"https://api.github.com/users/vbauzysvmware/following{/other_user}","gists_url":"https://api.github.com/users/vbauzysvmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vbauzysvmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbauzysvmware/subscriptions","organizations_url":"https://api.github.com/users/vbauzysvmware/orgs","repos_url":"https://api.github.com/users/vbauzysvmware/repos","events_url":"https://api.github.com/users/vbauzysvmware/events{/privacy}","received_events_url":"https://api.github.com/users/vbauzysvmware/received_events","type":"User","site_admin":false},"repo":{"id":157514220,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc1MTQyMjA=","name":"terraform-provider-vcd","full_name":"vbauzysvmware/terraform-provider-vcd","private":false,"owner":{"login":"vbauzysvmware","id":41415459,"node_id":"MDQ6VXNlcjQxNDE1NDU5","avatar_url":"https://avatars3.githubusercontent.com/u/41415459?v=4","gravatar_id":"","url":"https://api.github.com/users/vbauzysvmware","html_url":"https://github.com/vbauzysvmware","followers_url":"https://api.github.com/users/vbauzysvmware/followers","following_url":"https://api.github.com/users/vbauzysvmware/following{/other_user}","gists_url":"https://api.github.com/users/vbauzysvmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vbauzysvmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbauzysvmware/subscriptions","organizations_url":"https://api.github.com/users/vbauzysvmware/orgs","repos_url":"https://api.github.com/users/vbauzysvmware/repos","events_url":"https://api.github.com/users/vbauzysvmware/events{/privacy}","received_events_url":"https://api.github.com/users/vbauzysvmware/received_events","type":"User","site_admin":false},"html_url":"https://github.com/vbauzysvmware/terraform-provider-vcd","description":"Terraform VMware vCloud Director provider","fork":true,"url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd","forks_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/forks","keys_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/teams","hooks_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/hooks","issue_events_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/issues/events{/number}","events_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/events","assignees_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/assignees{/user}","branches_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/branches{/branch}","tags_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/tags","blobs_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/statuses/{sha}","languages_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/languages","stargazers_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/stargazers","contributors_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/contributors","subscribers_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/subscribers","subscription_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/subscription","commits_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/contents/{+path}","compare_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/merges","archive_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/downloads","issues_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/issues{/number}","pulls_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/pulls{/number}","milestones_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/milestones{/number}","notifications_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/labels{/name}","releases_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/releases{/id}","deployments_url":"https://api.github.com/repos/vbauzysvmware/terraform-provider-vcd/deployments","created_at":"2018-11-14T08:15:31Z","updated_at":"2018-11-14T08:15:33Z","pushed_at":"2019-01-04T08:26:48Z","git_url":"git://github.com/vbauzysvmware/terraform-provider-vcd.git","ssh_url":"git@github.com:vbauzysvmware/terraform-provider-vcd.git","clone_url":"https://github.com/vbauzysvmware/terraform-provider-vcd.git","svn_url":"https://github.com/vbauzysvmware/terraform-provider-vcd","homepage":"https://www.terraform.io/docs/providers/vcd/","size":2735,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"terraform-providers:vmware-stash-while-master-pr-open","ref":"vmware-stash-while-master-pr-open","sha":"8d07c99d38155a8bc5b707174d80150b35fad3be","user":{"login":"terraform-providers","id":29154831,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTU0ODMx","avatar_url":"https://avatars0.githubusercontent.com/u/29154831?v=4","gravatar_id":"","url":"https://api.github.com/users/terraform-providers","html_url":"https://github.com/terraform-providers","followers_url":"https://api.github.com/users/terraform-providers/followers","following_url":"https://api.github.com/users/terraform-providers/following{/other_user}","gists_url":"https://api.github.com/users/terraform-providers/gists{/gist_id}","starred_url":"https://api.github.com/users/terraform-providers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terraform-providers/subscriptions","organizations_url":"https://api.github.com/users/terraform-providers/orgs","repos_url":"https://api.github.com/users/terraform-providers/repos","events_url":"https://api.github.com/users/terraform-providers/events{/privacy}","received_events_url":"https://api.github.com/users/terraform-providers/received_events","type":"Organization","site_admin":false},"repo":{"id":93446091,"node_id":"MDEwOlJlcG9zaXRvcnk5MzQ0NjA5MQ==","name":"terraform-provider-vcd","full_name":"terraform-providers/terraform-provider-vcd","private":false,"owner":{"login":"terraform-providers","id":29154831,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTU0ODMx","avatar_url":"https://avatars0.githubusercontent.com/u/29154831?v=4","gravatar_id":"","url":"https://api.github.com/users/terraform-providers","html_url":"https://github.com/terraform-providers","followers_url":"https://api.github.com/users/terraform-providers/followers","following_url":"https://api.github.com/users/terraform-providers/following{/other_user}","gists_url":"https://api.github.com/users/terraform-providers/gists{/gist_id}","starred_url":"https://api.github.com/users/terraform-providers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terraform-providers/subscriptions","organizations_url":"https://api.github.com/users/terraform-providers/orgs","repos_url":"https://api.github.com/users/terraform-providers/repos","events_url":"https://api.github.com/users/terraform-providers/events{/privacy}","received_events_url":"https://api.github.com/users/terraform-providers/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/terraform-providers/terraform-provider-vcd","description":"Terraform VMware vCloud Director provider","fork":false,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd","forks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/forks","keys_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/teams","hooks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/hooks","issue_events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues/events{/number}","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/events","assignees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/assignees{/user}","branches_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/branches{/branch}","tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/tags","blobs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/statuses/{sha}","languages_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/languages","stargazers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/stargazers","contributors_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/contributors","subscribers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/subscribers","subscription_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/subscription","commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/contents/{+path}","compare_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/merges","archive_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/downloads","issues_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues{/number}","pulls_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls{/number}","milestones_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/milestones{/number}","notifications_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/labels{/name}","releases_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/releases{/id}","deployments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/deployments","created_at":"2017-06-05T20:54:05Z","updated_at":"2018-12-25T09:44:27Z","pushed_at":"2019-01-04T08:26:49Z","git_url":"git://github.com/terraform-providers/terraform-provider-vcd.git","ssh_url":"git@github.com:terraform-providers/terraform-provider-vcd.git","clone_url":"https://github.com/terraform-providers/terraform-provider-vcd.git","svn_url":"https://github.com/terraform-providers/terraform-provider-vcd","homepage":"https://www.terraform.io/docs/providers/vcd/","size":2705,"stargazers_count":28,"watchers_count":28,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":31,"mirror_url":null,"archived":false,"open_issues_count":55,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":31,"open_issues":55,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/145"},"html":{"href":"https://github.com/terraform-providers/terraform-provider-vcd/pull/145"},"issue":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues/145"},"comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/issues/145/comments"},"review_comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/145/comments"},"review_comment":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/pulls/145/commits"},"statuses":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vcd/statuses/8ec5263a2f8f7e7a787fa3b32aae8d904e23e99d"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"dataclouder"}}