{"action":"created","comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/pulls/comments/130977789","pull_request_review_id":53911826,"id":130977789,"diff_hunk":"@@ -0,0 +1,46 @@\n+---\n+layout: \"vsphere\"\n+page_title: \"VMware vSphere: vsphere_license\"\n+sidebar_current: \"docs-vsphere-resource-license\"\n+description: |-\n+  Provides a VMware vSphere license resource. This can be used to add and remove license keys.\n+---\n+\n+# vsphere\\_license\n+\n+Provides a VMware vSphere license resource. This can be used to add and remove license keys.\n+\n+## Example Usage\n+\n+```hcl\n+resource \"vsphere_license\" \"licenseKey\" {\n+  license_key = \"452CQ-2EK54-K8742-00000-00000\"\n+\n+  label {\n+    key = \"VpxClientLicenseLabel\"\n+    value =\"Hello World\"\n+  }\n+  label {\n+    key = \"Workflow\"\n+    value =\"Hello World\"\n+  }\n+  \n+}\n+```\n+\n+## Argument Reference\n+\n+The following arguments are supported:\n+\n+* `license_key` - (Required) The key of the license which is needed to be added to vpshere\n+* `label` - (Optional) The key value pair of labels that has to be attached to the license key. One key can have multiple labels.","path":"website/docs/r/license.html.markdown","position":36,"original_position":36,"commit_id":"b4b5a83c985ff37b616752e077ed6f912a8a86b1","original_commit_id":"b4b5a83c985ff37b616752e077ed6f912a8a86b1","user":{"login":"girishramnani","id":6551988,"avatar_url":"https://avatars2.githubusercontent.com/u/6551988?v=4","gravatar_id":"","url":"https://api.github.com/users/girishramnani","html_url":"https://github.com/girishramnani","followers_url":"https://api.github.com/users/girishramnani/followers","following_url":"https://api.github.com/users/girishramnani/following{/other_user}","gists_url":"https://api.github.com/users/girishramnani/gists{/gist_id}","starred_url":"https://api.github.com/users/girishramnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girishramnani/subscriptions","organizations_url":"https://api.github.com/users/girishramnani/orgs","repos_url":"https://api.github.com/users/girishramnani/repos","events_url":"https://api.github.com/users/girishramnani/events{/privacy}","received_events_url":"https://api.github.com/users/girishramnani/received_events","type":"User","site_admin":false},"body":"`values` is not a list of string, `value` is a string. Does the api support multiple values for a single key?","created_at":"2017-08-02T19:48:46Z","updated_at":"2017-08-02T19:48:46Z","html_url":"https://github.com/terraform-providers/terraform-provider-vsphere/pull/110#discussion_r130977789","pull_request_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/pulls/110","_links":{"self":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/pulls/comments/130977789"},"html":{"href":"https://github.com/terraform-providers/terraform-provider-vsphere/pull/110#discussion_r130977789"},"pull_request":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/pulls/110","id":132205654,"html_url":"https://github.com/terraform-providers/terraform-provider-vsphere/pull/110","diff_url":"https://github.com/terraform-providers/terraform-provider-vsphere/pull/110.diff","patch_url":"https://github.com/terraform-providers/terraform-provider-vsphere/pull/110.patch","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/issues/110","number":110,"state":"open","locked":false,"title":"Enhancement: Added resource for license management","user":{"login":"girishramnani","id":6551988,"avatar_url":"https://avatars2.githubusercontent.com/u/6551988?v=4","gravatar_id":"","url":"https://api.github.com/users/girishramnani","html_url":"https://github.com/girishramnani","followers_url":"https://api.github.com/users/girishramnani/followers","following_url":"https://api.github.com/users/girishramnani/following{/other_user}","gists_url":"https://api.github.com/users/girishramnani/gists{/gist_id}","starred_url":"https://api.github.com/users/girishramnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girishramnani/subscriptions","organizations_url":"https://api.github.com/users/girishramnani/orgs","repos_url":"https://api.github.com/users/girishramnani/repos","events_url":"https://api.github.com/users/girishramnani/events{/privacy}","received_events_url":"https://api.github.com/users/girishramnani/received_events","type":"User","site_admin":false},"body":"Please review the implementation of license resource.\r\n\r\nThe following capabilities are provided by this resource - \r\n\r\n1) Adding license ( with optional labels )\r\n2) Removing license\r\n3) Updating labels attached to a license\r\n\r\n\r\nTerraform version - v0.9.11\r\nVsphere version used for acceptance tests - Version 5.5.0 Build 4063694\r\n\r\n","created_at":"2017-07-25T06:33:21Z","updated_at":"2017-08-02T19:48:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09864efb65510c95eaed2cbfa79bffec55a2dd99","assignee":{"login":"vancluever","id":10704423,"avatar_url":"https://avatars0.githubusercontent.com/u/10704423?v=4","gravatar_id":"","url":"https://api.github.com/users/vancluever","html_url":"https://github.com/vancluever","followers_url":"https://api.github.com/users/vancluever/followers","following_url":"https://api.github.com/users/vancluever/following{/other_user}","gists_url":"https://api.github.com/users/vancluever/gists{/gist_id}","starred_url":"https://api.github.com/users/vancluever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vancluever/subscriptions","organizations_url":"https://api.github.com/users/vancluever/orgs","repos_url":"https://api.github.com/users/vancluever/repos","events_url":"https://api.github.com/users/vancluever/events{/privacy}","received_events_url":"https://api.github.com/users/vancluever/received_events","type":"User","site_admin":false},"assignees":[{"login":"vancluever","id":10704423,"avatar_url":"https://avatars0.githubusercontent.com/u/10704423?v=4","gravatar_id":"","url":"https://api.github.com/users/vancluever","html_url":"https://github.com/vancluever","followers_url":"https://api.github.com/users/vancluever/followers","following_url":"https://api.github.com/users/vancluever/following{/other_user}","gists_url":"https://api.github.com/users/vancluever/gists{/gist_id}","starred_url":"https://api.github.com/users/vancluever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vancluever/subscriptions","organizations_url":"https://api.github.com/users/vancluever/orgs","repos_url":"https://api.github.com/users/vancluever/repos","events_url":"https://api.github.com/users/vancluever/events{/privacy}","received_events_url":"https://api.github.com/users/vancluever/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/pulls/110/commits","review_comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/pulls/110/comments","review_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/pulls/comments{/number}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/issues/110/comments","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/statuses/b4b5a83c985ff37b616752e077ed6f912a8a86b1","head":{"label":"girishramnani:license-resource","ref":"license-resource","sha":"b4b5a83c985ff37b616752e077ed6f912a8a86b1","user":{"login":"girishramnani","id":6551988,"avatar_url":"https://avatars2.githubusercontent.com/u/6551988?v=4","gravatar_id":"","url":"https://api.github.com/users/girishramnani","html_url":"https://github.com/girishramnani","followers_url":"https://api.github.com/users/girishramnani/followers","following_url":"https://api.github.com/users/girishramnani/following{/other_user}","gists_url":"https://api.github.com/users/girishramnani/gists{/gist_id}","starred_url":"https://api.github.com/users/girishramnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girishramnani/subscriptions","organizations_url":"https://api.github.com/users/girishramnani/orgs","repos_url":"https://api.github.com/users/girishramnani/repos","events_url":"https://api.github.com/users/girishramnani/events{/privacy}","received_events_url":"https://api.github.com/users/girishramnani/received_events","type":"User","site_admin":false},"repo":{"id":98268580,"name":"terraform-provider-vsphere","full_name":"girishramnani/terraform-provider-vsphere","owner":{"login":"girishramnani","id":6551988,"avatar_url":"https://avatars2.githubusercontent.com/u/6551988?v=4","gravatar_id":"","url":"https://api.github.com/users/girishramnani","html_url":"https://github.com/girishramnani","followers_url":"https://api.github.com/users/girishramnani/followers","following_url":"https://api.github.com/users/girishramnani/following{/other_user}","gists_url":"https://api.github.com/users/girishramnani/gists{/gist_id}","starred_url":"https://api.github.com/users/girishramnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girishramnani/subscriptions","organizations_url":"https://api.github.com/users/girishramnani/orgs","repos_url":"https://api.github.com/users/girishramnani/repos","events_url":"https://api.github.com/users/girishramnani/events{/privacy}","received_events_url":"https://api.github.com/users/girishramnani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/girishramnani/terraform-provider-vsphere","description":"Terraform vsphere provider","fork":true,"url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere","forks_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/forks","keys_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/teams","hooks_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/hooks","issue_events_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/issues/events{/number}","events_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/events","assignees_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/assignees{/user}","branches_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/branches{/branch}","tags_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/tags","blobs_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/statuses/{sha}","languages_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/languages","stargazers_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/stargazers","contributors_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/contributors","subscribers_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/subscribers","subscription_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/subscription","commits_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/contents/{+path}","compare_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/merges","archive_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/downloads","issues_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/issues{/number}","pulls_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/pulls{/number}","milestones_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/milestones{/number}","notifications_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/labels{/name}","releases_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/releases{/id}","deployments_url":"https://api.github.com/repos/girishramnani/terraform-provider-vsphere/deployments","created_at":"2017-07-25T05:42:38Z","updated_at":"2017-07-25T05:42:40Z","pushed_at":"2017-08-02T05:20:38Z","git_url":"git://github.com/girishramnani/terraform-provider-vsphere.git","ssh_url":"git@github.com:girishramnani/terraform-provider-vsphere.git","clone_url":"https://github.com/girishramnani/terraform-provider-vsphere.git","svn_url":"https://github.com/girishramnani/terraform-provider-vsphere","homepage":"","size":2382,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"terraform-providers:master","ref":"master","sha":"256069c07cd0e6b9e01ec0c0e53f58c6b2f0aebc","user":{"login":"terraform-providers","id":29154831,"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":93446037,"name":"terraform-provider-vsphere","full_name":"terraform-providers/terraform-provider-vsphere","owner":{"login":"terraform-providers","id":29154831,"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},"private":false,"html_url":"https://github.com/terraform-providers/terraform-provider-vsphere","description":"Terraform vsphere provider","fork":false,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere","forks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/forks","keys_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/teams","hooks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/hooks","issue_events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/issues/events{/number}","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/events","assignees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/assignees{/user}","branches_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/branches{/branch}","tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/tags","blobs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/statuses/{sha}","languages_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/languages","stargazers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/stargazers","contributors_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/contributors","subscribers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/subscribers","subscription_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/subscription","commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/contents/{+path}","compare_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/merges","archive_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/downloads","issues_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/issues{/number}","pulls_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/pulls{/number}","milestones_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/milestones{/number}","notifications_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/labels{/name}","releases_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/releases{/id}","deployments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/deployments","created_at":"2017-06-05T20:53:54Z","updated_at":"2017-07-31T15:22:49Z","pushed_at":"2017-08-02T05:20:39Z","git_url":"git://github.com/terraform-providers/terraform-provider-vsphere.git","ssh_url":"git@github.com:terraform-providers/terraform-provider-vsphere.git","clone_url":"https://github.com/terraform-providers/terraform-provider-vsphere.git","svn_url":"https://github.com/terraform-providers/terraform-provider-vsphere","homepage":"","size":2365,"stargazers_count":22,"watchers_count":22,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":111,"forks":16,"open_issues":111,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/pulls/110"},"html":{"href":"https://github.com/terraform-providers/terraform-provider-vsphere/pull/110"},"issue":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/issues/110"},"comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-vsphere/statuses/b4b5a83c985ff37b616752e077ed6f912a8a86b1"}}}}
{"actor":{"display_login":"girishramnani"}}