{"action":"created","comment":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/comments/31079744","id":31079744,"diff_hunk":"@@ -0,0 +1,243 @@\n+package azure\n+\n+import (\n+\t\"fmt\"\n+\t\"log\"\n+\n+\t\"github.com/Azure/azure-sdk-for-go/management/virtualnetwork\"\n+\t\"github.com/hashicorp/terraform/helper/schema\"\n+)\n+\n+// resourceAzureDnsServer returns the *schema.Resource associated\n+// to an Azure hosted service.\n+func resourceAzureDnsServer() *schema.Resource {\n+\treturn &schema.Resource{\n+\t\tCreate: resourceAzureDnsServerCreate,\n+\t\tRead:   resourceAzureDnsServerRead,\n+\t\tUpdate: resourceAzureDnsServerUpdate,\n+\t\tExists: resourceAzureDnsServerExists,\n+\t\tDelete: resourceAzureDnsServerDelete,\n+\n+\t\tSchemaVersion: 1,\n+\n+\t\tSchema: map[string]*schema.Schema{\n+\t\t\t\"name\": &schema.Schema{\n+\t\t\t\tType:        schema.TypeString,\n+\t\t\t\tRequired:    true,\n+\t\t\t\tDescription: parameterDescriptions[\"name\"],\n+\t\t\t},\n+\t\t\t\"dns_address\": &schema.Schema{\n+\t\t\t\tType:        schema.TypeString,\n+\t\t\t\tRequired:    true,\n+\t\t\t\tDescription: parameterDescriptions[\"dns_address\"],\n+\t\t\t},\n+\t\t},\n+\t}\n+}\n+\n+// resourceAzureDnsServerCreate does all the necessary API calls\n+// to create a new DNS server definition on Azure.\n+func resourceAzureDnsServerCreate(d *schema.ResourceData, meta interface{}) error {\n+\tazureClient, ok := meta.(*AzureClient)","path":"builtin/providers/azure/resource_azure_dns_server.go","position":41,"original_position":41,"commit_id":"ed696d50f093c63b957bf48cd530a9fe80f3928f","original_commit_id":"ed696d50f093c63b957bf48cd530a9fe80f3928f","user":{"login":"svanharmelen","id":4171547,"avatar_url":"https://avatars.githubusercontent.com/u/4171547?v=3","gravatar_id":"","url":"https://api.github.com/users/svanharmelen","html_url":"https://github.com/svanharmelen","followers_url":"https://api.github.com/users/svanharmelen/followers","following_url":"https://api.github.com/users/svanharmelen/following{/other_user}","gists_url":"https://api.github.com/users/svanharmelen/gists{/gist_id}","starred_url":"https://api.github.com/users/svanharmelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svanharmelen/subscriptions","organizations_url":"https://api.github.com/users/svanharmelen/orgs","repos_url":"https://api.github.com/users/svanharmelen/repos","events_url":"https://api.github.com/users/svanharmelen/events{/privacy}","received_events_url":"https://api.github.com/users/svanharmelen/received_events","type":"User","site_admin":false},"body":"This is not needed. The way Terraform handles it's plugins makes it impossible to ever get anything else here...","created_at":"2015-05-26T21:05:26Z","updated_at":"2015-05-26T21:05:26Z","html_url":"https://github.com/hashicorp/terraform/pull/2052#discussion_r31079744","pull_request_url":"https://api.github.com/repos/hashicorp/terraform/pulls/2052","_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/comments/31079744"},"html":{"href":"https://github.com/hashicorp/terraform/pull/2052#discussion_r31079744"},"pull_request":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/2052"}}},"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/2052","id":36076225,"html_url":"https://github.com/hashicorp/terraform/pull/2052","diff_url":"https://github.com/hashicorp/terraform/pull/2052.diff","patch_url":"https://github.com/hashicorp/terraform/pull/2052.patch","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/2052","number":2052,"state":"open","locked":false,"title":"WIP: Azure provider (not ready for merge)","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":"PR'd in order to facilitate peer-review.","created_at":"2015-05-22T23:17:29Z","updated_at":"2015-05-26T21:05:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9fd07fb7a6839c39c34a2ff74f85140648a117f9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hashicorp/terraform/pulls/2052/commits","review_comments_url":"https://api.github.com/repos/hashicorp/terraform/pulls/2052/comments","review_comment_url":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/2052/comments","statuses_url":"https://api.github.com/repos/hashicorp/terraform/statuses/ed696d50f093c63b957bf48cd530a9fe80f3928f","head":{"label":"aznashwan:azure","ref":"azure","sha":"ed696d50f093c63b957bf48cd530a9fe80f3928f","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-05-25T19:07:53Z","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":22993,"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":"2215894f7befe898c22acc109c098b8bb9c2a905","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-05-26T20:07:56Z","pushed_at":"2015-05-26T18:06:25Z","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":51029,"stargazers_count":2467,"watchers_count":2467,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":450,"mirror_url":null,"open_issues_count":290,"forks":450,"open_issues":290,"watchers":2467,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/2052"},"html":{"href":"https://github.com/hashicorp/terraform/pull/2052"},"issue":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/2052"},"comments":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/2052/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/2052/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/2052/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/terraform/statuses/ed696d50f093c63b957bf48cd530a9fe80f3928f"}}}}