{"action":"created","comment":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/comments/32856927","id":32856927,"diff_hunk":"@@ -0,0 +1,43 @@\n+---\n+layout: \"azure\"\n+page_title: \"Azure: azure_affinity_group\"\n+sidebar_current: \"docs-azure-affinity-group\"\n+description: |-\n+    Creates a new affinity group on Azure.\n+---\n+\n+# azure\\_affinity\\_group\n+\n+Creates a new affinity group on Azure with its own .cloudapp.net domain.\n+\n+## Example Usage\n+\n+```\n+resource \"azure_affinity_group\" \"terraform-service\" {\n+\tname = \"terraform-group\"\n+\tlocation = \"North Europe\"\n+    label = \"tf-group-01\"\n+\tdescription = \"affinity group created by Terraform.\"\n+}\n+```\n+\n+## Argument Reference\n+\n+The following arguments are supported:\n+\n+* `name` - (Required) The name of the affinity group. Must be unique on your\n+    Azure subscription.\n+\n+* `location` - (Required) The location where the affinity group should be created.\n+    For a list of all Azure locations, please consult [this link](http://azure.microsoft.com/en-us/regions/).\n+\n+* `label` - (Label) A label to be used for tracking purposes. Must be\n+    non-void.","path":"website/source/docs/providers/azure/r/affinity_group.html.markdown","position":35,"original_position":35,"commit_id":"db0ac28fefb954969f78850374349048a600e38e","original_commit_id":"db0ac28fefb954969f78850374349048a600e38e","user":{"login":"phinze","id":37534,"avatar_url":"https://avatars.githubusercontent.com/u/37534?v=3","gravatar_id":"","url":"https://api.github.com/users/phinze","html_url":"https://github.com/phinze","followers_url":"https://api.github.com/users/phinze/followers","following_url":"https://api.github.com/users/phinze/following{/other_user}","gists_url":"https://api.github.com/users/phinze/gists{/gist_id}","starred_url":"https://api.github.com/users/phinze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phinze/subscriptions","organizations_url":"https://api.github.com/users/phinze/orgs","repos_url":"https://api.github.com/users/phinze/repos","events_url":"https://api.github.com/users/phinze/events{/privacy}","received_events_url":"https://api.github.com/users/phinze/received_events","type":"User","site_admin":false},"body":"What does non-void mean in this context. Looks like it just means \"Required\" in which case we can just drop the sentence and change the parens from `(Label)` to `(Required)`","created_at":"2015-06-19T18:38:20Z","updated_at":"2015-06-19T18:38:20Z","html_url":"https://github.com/hashicorp/terraform/pull/2394#discussion_r32856927","pull_request_url":"https://api.github.com/repos/hashicorp/terraform/pulls/2394","_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/comments/32856927"},"html":{"href":"https://github.com/hashicorp/terraform/pull/2394#discussion_r32856927"},"pull_request":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/2394"}}},"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/2394","id":38021444,"html_url":"https://github.com/hashicorp/terraform/pull/2394","diff_url":"https://github.com/hashicorp/terraform/pull/2394.diff","patch_url":"https://github.com/hashicorp/terraform/pull/2394.patch","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/2394","number":2394,"state":"open","locked":false,"title":"provider/azure: Added affinity group resource.","user":{"login":"aznashwan","id":6192535,"avatar_url":"https://avatars.githubusercontent.com/u/6192535?v=3","gravatar_id":"","url":"https://api.github.com/users/aznashwan","html_url":"https://github.com/aznashwan","followers_url":"https://api.github.com/users/aznashwan/followers","following_url":"https://api.github.com/users/aznashwan/following{/other_user}","gists_url":"https://api.github.com/users/aznashwan/gists{/gist_id}","starred_url":"https://api.github.com/users/aznashwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aznashwan/subscriptions","organizations_url":"https://api.github.com/users/aznashwan/orgs","repos_url":"https://api.github.com/users/aznashwan/repos","events_url":"https://api.github.com/users/aznashwan/events{/privacy}","received_events_url":"https://api.github.com/users/aznashwan/received_events","type":"User","site_admin":false},"body":"Added support, tests and docs for Azure affinity groups.","created_at":"2015-06-18T15:45:47Z","updated_at":"2015-06-19T18:38:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7df6837417f9dc646f128dbfe96d8cfd2087bb52","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hashicorp/terraform/pulls/2394/commits","review_comments_url":"https://api.github.com/repos/hashicorp/terraform/pulls/2394/comments","review_comment_url":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/2394/comments","statuses_url":"https://api.github.com/repos/hashicorp/terraform/statuses/db0ac28fefb954969f78850374349048a600e38e","head":{"label":"aznashwan:f-azure-affinity-group","ref":"f-azure-affinity-group","sha":"db0ac28fefb954969f78850374349048a600e38e","user":{"login":"aznashwan","id":6192535,"avatar_url":"https://avatars.githubusercontent.com/u/6192535?v=3","gravatar_id":"","url":"https://api.github.com/users/aznashwan","html_url":"https://github.com/aznashwan","followers_url":"https://api.github.com/users/aznashwan/followers","following_url":"https://api.github.com/users/aznashwan/following{/other_user}","gists_url":"https://api.github.com/users/aznashwan/gists{/gist_id}","starred_url":"https://api.github.com/users/aznashwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aznashwan/subscriptions","organizations_url":"https://api.github.com/users/aznashwan/orgs","repos_url":"https://api.github.com/users/aznashwan/repos","events_url":"https://api.github.com/users/aznashwan/events{/privacy}","received_events_url":"https://api.github.com/users/aznashwan/received_events","type":"User","site_admin":false},"repo":{"id":34523481,"name":"terraform","full_name":"aznashwan/terraform","owner":{"login":"aznashwan","id":6192535,"avatar_url":"https://avatars.githubusercontent.com/u/6192535?v=3","gravatar_id":"","url":"https://api.github.com/users/aznashwan","html_url":"https://github.com/aznashwan","followers_url":"https://api.github.com/users/aznashwan/followers","following_url":"https://api.github.com/users/aznashwan/following{/other_user}","gists_url":"https://api.github.com/users/aznashwan/gists{/gist_id}","starred_url":"https://api.github.com/users/aznashwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aznashwan/subscriptions","organizations_url":"https://api.github.com/users/aznashwan/orgs","repos_url":"https://api.github.com/users/aznashwan/repos","events_url":"https://api.github.com/users/aznashwan/events{/privacy}","received_events_url":"https://api.github.com/users/aznashwan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aznashwan/terraform","description":"Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.","fork":true,"url":"https://api.github.com/repos/aznashwan/terraform","forks_url":"https://api.github.com/repos/aznashwan/terraform/forks","keys_url":"https://api.github.com/repos/aznashwan/terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aznashwan/terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aznashwan/terraform/teams","hooks_url":"https://api.github.com/repos/aznashwan/terraform/hooks","issue_events_url":"https://api.github.com/repos/aznashwan/terraform/issues/events{/number}","events_url":"https://api.github.com/repos/aznashwan/terraform/events","assignees_url":"https://api.github.com/repos/aznashwan/terraform/assignees{/user}","branches_url":"https://api.github.com/repos/aznashwan/terraform/branches{/branch}","tags_url":"https://api.github.com/repos/aznashwan/terraform/tags","blobs_url":"https://api.github.com/repos/aznashwan/terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aznashwan/terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aznashwan/terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/aznashwan/terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aznashwan/terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/aznashwan/terraform/languages","stargazers_url":"https://api.github.com/repos/aznashwan/terraform/stargazers","contributors_url":"https://api.github.com/repos/aznashwan/terraform/contributors","subscribers_url":"https://api.github.com/repos/aznashwan/terraform/subscribers","subscription_url":"https://api.github.com/repos/aznashwan/terraform/subscription","commits_url":"https://api.github.com/repos/aznashwan/terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/aznashwan/terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/aznashwan/terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/aznashwan/terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/aznashwan/terraform/contents/{+path}","compare_url":"https://api.github.com/repos/aznashwan/terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aznashwan/terraform/merges","archive_url":"https://api.github.com/repos/aznashwan/terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aznashwan/terraform/downloads","issues_url":"https://api.github.com/repos/aznashwan/terraform/issues{/number}","pulls_url":"https://api.github.com/repos/aznashwan/terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/aznashwan/terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/aznashwan/terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aznashwan/terraform/labels{/name}","releases_url":"https://api.github.com/repos/aznashwan/terraform/releases{/id}","created_at":"2015-04-24T14:32:34Z","updated_at":"2015-04-24T14:32:37Z","pushed_at":"2015-06-19T16:53:48Z","git_url":"git://github.com/aznashwan/terraform.git","ssh_url":"git@github.com:aznashwan/terraform.git","clone_url":"https://github.com/aznashwan/terraform.git","svn_url":"https://github.com/aznashwan/terraform","homepage":"http://www.terraform.io","size":27356,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"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":"hashicorp:master","ref":"master","sha":"f045e9e8d1daadef343539df4d8a41e4eb54849b","user":{"login":"hashicorp","id":761456,"avatar_url":"https://avatars.githubusercontent.com/u/761456?v=3","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":17728164,"name":"terraform","full_name":"hashicorp/terraform","owner":{"login":"hashicorp","id":761456,"avatar_url":"https://avatars.githubusercontent.com/u/761456?v=3","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hashicorp/terraform","description":"Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.","fork":false,"url":"https://api.github.com/repos/hashicorp/terraform","forks_url":"https://api.github.com/repos/hashicorp/terraform/forks","keys_url":"https://api.github.com/repos/hashicorp/terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/terraform/teams","hooks_url":"https://api.github.com/repos/hashicorp/terraform/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/terraform/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/terraform/events","assignees_url":"https://api.github.com/repos/hashicorp/terraform/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/terraform/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/terraform/tags","blobs_url":"https://api.github.com/repos/hashicorp/terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/terraform/languages","stargazers_url":"https://api.github.com/repos/hashicorp/terraform/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/terraform/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/terraform/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/terraform/subscription","commits_url":"https://api.github.com/repos/hashicorp/terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/terraform/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/terraform/merges","archive_url":"https://api.github.com/repos/hashicorp/terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/terraform/downloads","issues_url":"https://api.github.com/repos/hashicorp/terraform/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/terraform/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/terraform/releases{/id}","created_at":"2014-03-13T22:25:48Z","updated_at":"2015-06-18T15:10:31Z","pushed_at":"2015-06-19T17:11:47Z","git_url":"git://github.com/hashicorp/terraform.git","ssh_url":"git@github.com:hashicorp/terraform.git","clone_url":"https://github.com/hashicorp/terraform.git","svn_url":"https://github.com/hashicorp/terraform","homepage":"http://www.terraform.io","size":45970,"stargazers_count":2580,"watchers_count":2580,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":500,"mirror_url":null,"open_issues_count":399,"forks":500,"open_issues":399,"watchers":2580,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/2394"},"html":{"href":"https://github.com/hashicorp/terraform/pull/2394"},"issue":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/2394"},"comments":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/2394/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/2394/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/2394/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/terraform/statuses/db0ac28fefb954969f78850374349048a600e38e"}}}}