{"action":"created","comment":{"url":"https://api.github.com/repos/fog/fog-azure-rm/pulls/comments/72936177","id":72936177,"diff_hunk":"@@ -25,24 +25,31 @@ class NetworkInterface < Fog::Model\n \n         def self.parse(nic)\n           nic_properties = nic['properties']\n-          nic_ip_configuration = nic['properties']['ipConfigurations'][0]\n+          nic_ip_configuration = nic_properties['ipConfigurations'][0]\n           hash = {}\n           hash['id'] = nic['id']\n           hash['name'] = nic['name']\n           hash['location'] = nic['location']\n           hash['resource_group'] = nic['id'].split('/')[4]\n           hash['virtual_machine_id'] = nic_properties['virtualMachine']['id'] unless nic_properties['virtualMachine'].nil?\n           hash['mac_address'] = nic_properties['macAddress'] unless nic_properties['macAddress'].nil?\n-          hash['network_security_group_id'] = nic_properties['networkSecurityGroup']['id'] unless nic_properties['networkSecurityGroup'].nil?\n-\n+          hash['network_security_group_id'] = if nic_properties['networkSecurityGroup'].nil?","path":"lib/fog/azurerm/models/network/network_interface.rb","position":15,"original_position":15,"commit_id":"c61d6d39a41b202fc0ea6868a507969eeebfc682","original_commit_id":"c61d6d39a41b202fc0ea6868a507969eeebfc682","user":{"login":"haider-ali-confiz","id":8254299,"avatar_url":"https://avatars.githubusercontent.com/u/8254299?v=3","gravatar_id":"","url":"https://api.github.com/users/haider-ali-confiz","html_url":"https://github.com/haider-ali-confiz","followers_url":"https://api.github.com/users/haider-ali-confiz/followers","following_url":"https://api.github.com/users/haider-ali-confiz/following{/other_user}","gists_url":"https://api.github.com/users/haider-ali-confiz/gists{/gist_id}","starred_url":"https://api.github.com/users/haider-ali-confiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haider-ali-confiz/subscriptions","organizations_url":"https://api.github.com/users/haider-ali-confiz/orgs","repos_url":"https://api.github.com/users/haider-ali-confiz/repos","events_url":"https://api.github.com/users/haider-ali-confiz/events{/privacy}","received_events_url":"https://api.github.com/users/haider-ali-confiz/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2016-08-01T07:52:43Z","updated_at":"2016-08-01T07:52:43Z","html_url":"https://github.com/fog/fog-azure-rm/pull/97#discussion_r72936177","pull_request_url":"https://api.github.com/repos/fog/fog-azure-rm/pulls/97","_links":{"self":{"href":"https://api.github.com/repos/fog/fog-azure-rm/pulls/comments/72936177"},"html":{"href":"https://github.com/fog/fog-azure-rm/pull/97#discussion_r72936177"},"pull_request":{"href":"https://api.github.com/repos/fog/fog-azure-rm/pulls/97"}}},"pull_request":{"url":"https://api.github.com/repos/fog/fog-azure-rm/pulls/97","id":79357463,"html_url":"https://github.com/fog/fog-azure-rm/pull/97","diff_url":"https://github.com/fog/fog-azure-rm/pull/97.diff","patch_url":"https://github.com/fog/fog-azure-rm/pull/97.patch","issue_url":"https://api.github.com/repos/fog/fog-azure-rm/issues/97","number":97,"state":"open","locked":false,"title":"Feature/update oprations support in Network Interface Card(NIC)","user":{"login":"haider-ali-confiz","id":8254299,"avatar_url":"https://avatars.githubusercontent.com/u/8254299?v=3","gravatar_id":"","url":"https://api.github.com/users/haider-ali-confiz","html_url":"https://github.com/haider-ali-confiz","followers_url":"https://api.github.com/users/haider-ali-confiz/followers","following_url":"https://api.github.com/users/haider-ali-confiz/following{/other_user}","gists_url":"https://api.github.com/users/haider-ali-confiz/gists{/gist_id}","starred_url":"https://api.github.com/users/haider-ali-confiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haider-ali-confiz/subscriptions","organizations_url":"https://api.github.com/users/haider-ali-confiz/orgs","repos_url":"https://api.github.com/users/haider-ali-confiz/repos","events_url":"https://api.github.com/users/haider-ali-confiz/events{/privacy}","received_events_url":"https://api.github.com/users/haider-ali-confiz/received_events","type":"User","site_admin":false},"body":"Implemented update methods in Network Interface.\r\n","created_at":"2016-07-29T13:14:28Z","updated_at":"2016-08-01T07:52:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"453bac336852ae78f873e4cc008ab883b5465991","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fog/fog-azure-rm/pulls/97/commits","review_comments_url":"https://api.github.com/repos/fog/fog-azure-rm/pulls/97/comments","review_comment_url":"https://api.github.com/repos/fog/fog-azure-rm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fog/fog-azure-rm/issues/97/comments","statuses_url":"https://api.github.com/repos/fog/fog-azure-rm/statuses/c61d6d39a41b202fc0ea6868a507969eeebfc682","head":{"label":"fog:feature/update_support_in_NIC","ref":"feature/update_support_in_NIC","sha":"c61d6d39a41b202fc0ea6868a507969eeebfc682","user":{"login":"fog","id":991149,"avatar_url":"https://avatars.githubusercontent.com/u/991149?v=3","gravatar_id":"","url":"https://api.github.com/users/fog","html_url":"https://github.com/fog","followers_url":"https://api.github.com/users/fog/followers","following_url":"https://api.github.com/users/fog/following{/other_user}","gists_url":"https://api.github.com/users/fog/gists{/gist_id}","starred_url":"https://api.github.com/users/fog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fog/subscriptions","organizations_url":"https://api.github.com/users/fog/orgs","repos_url":"https://api.github.com/users/fog/repos","events_url":"https://api.github.com/users/fog/events{/privacy}","received_events_url":"https://api.github.com/users/fog/received_events","type":"Organization","site_admin":false},"repo":{"id":54466250,"name":"fog-azure-rm","full_name":"fog/fog-azure-rm","owner":{"login":"fog","id":991149,"avatar_url":"https://avatars.githubusercontent.com/u/991149?v=3","gravatar_id":"","url":"https://api.github.com/users/fog","html_url":"https://github.com/fog","followers_url":"https://api.github.com/users/fog/followers","following_url":"https://api.github.com/users/fog/following{/other_user}","gists_url":"https://api.github.com/users/fog/gists{/gist_id}","starred_url":"https://api.github.com/users/fog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fog/subscriptions","organizations_url":"https://api.github.com/users/fog/orgs","repos_url":"https://api.github.com/users/fog/repos","events_url":"https://api.github.com/users/fog/events{/privacy}","received_events_url":"https://api.github.com/users/fog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fog/fog-azure-rm","description":"","fork":false,"url":"https://api.github.com/repos/fog/fog-azure-rm","forks_url":"https://api.github.com/repos/fog/fog-azure-rm/forks","keys_url":"https://api.github.com/repos/fog/fog-azure-rm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fog/fog-azure-rm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fog/fog-azure-rm/teams","hooks_url":"https://api.github.com/repos/fog/fog-azure-rm/hooks","issue_events_url":"https://api.github.com/repos/fog/fog-azure-rm/issues/events{/number}","events_url":"https://api.github.com/repos/fog/fog-azure-rm/events","assignees_url":"https://api.github.com/repos/fog/fog-azure-rm/assignees{/user}","branches_url":"https://api.github.com/repos/fog/fog-azure-rm/branches{/branch}","tags_url":"https://api.github.com/repos/fog/fog-azure-rm/tags","blobs_url":"https://api.github.com/repos/fog/fog-azure-rm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fog/fog-azure-rm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fog/fog-azure-rm/git/refs{/sha}","trees_url":"https://api.github.com/repos/fog/fog-azure-rm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fog/fog-azure-rm/statuses/{sha}","languages_url":"https://api.github.com/repos/fog/fog-azure-rm/languages","stargazers_url":"https://api.github.com/repos/fog/fog-azure-rm/stargazers","contributors_url":"https://api.github.com/repos/fog/fog-azure-rm/contributors","subscribers_url":"https://api.github.com/repos/fog/fog-azure-rm/subscribers","subscription_url":"https://api.github.com/repos/fog/fog-azure-rm/subscription","commits_url":"https://api.github.com/repos/fog/fog-azure-rm/commits{/sha}","git_commits_url":"https://api.github.com/repos/fog/fog-azure-rm/git/commits{/sha}","comments_url":"https://api.github.com/repos/fog/fog-azure-rm/comments{/number}","issue_comment_url":"https://api.github.com/repos/fog/fog-azure-rm/issues/comments{/number}","contents_url":"https://api.github.com/repos/fog/fog-azure-rm/contents/{+path}","compare_url":"https://api.github.com/repos/fog/fog-azure-rm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fog/fog-azure-rm/merges","archive_url":"https://api.github.com/repos/fog/fog-azure-rm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fog/fog-azure-rm/downloads","issues_url":"https://api.github.com/repos/fog/fog-azure-rm/issues{/number}","pulls_url":"https://api.github.com/repos/fog/fog-azure-rm/pulls{/number}","milestones_url":"https://api.github.com/repos/fog/fog-azure-rm/milestones{/number}","notifications_url":"https://api.github.com/repos/fog/fog-azure-rm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fog/fog-azure-rm/labels{/name}","releases_url":"https://api.github.com/repos/fog/fog-azure-rm/releases{/id}","deployments_url":"https://api.github.com/repos/fog/fog-azure-rm/deployments","created_at":"2016-03-22T10:26:42Z","updated_at":"2016-06-22T22:00:13Z","pushed_at":"2016-07-29T13:14:28Z","git_url":"git://github.com/fog/fog-azure-rm.git","ssh_url":"git@github.com:fog/fog-azure-rm.git","clone_url":"https://github.com/fog/fog-azure-rm.git","svn_url":"https://github.com/fog/fog-azure-rm","homepage":null,"size":792,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":7,"forks":8,"open_issues":7,"watchers":8,"default_branch":"master"}},"base":{"label":"fog:master","ref":"master","sha":"5b0dd189b75dcb95291dbf77427319bb4b68b9f3","user":{"login":"fog","id":991149,"avatar_url":"https://avatars.githubusercontent.com/u/991149?v=3","gravatar_id":"","url":"https://api.github.com/users/fog","html_url":"https://github.com/fog","followers_url":"https://api.github.com/users/fog/followers","following_url":"https://api.github.com/users/fog/following{/other_user}","gists_url":"https://api.github.com/users/fog/gists{/gist_id}","starred_url":"https://api.github.com/users/fog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fog/subscriptions","organizations_url":"https://api.github.com/users/fog/orgs","repos_url":"https://api.github.com/users/fog/repos","events_url":"https://api.github.com/users/fog/events{/privacy}","received_events_url":"https://api.github.com/users/fog/received_events","type":"Organization","site_admin":false},"repo":{"id":54466250,"name":"fog-azure-rm","full_name":"fog/fog-azure-rm","owner":{"login":"fog","id":991149,"avatar_url":"https://avatars.githubusercontent.com/u/991149?v=3","gravatar_id":"","url":"https://api.github.com/users/fog","html_url":"https://github.com/fog","followers_url":"https://api.github.com/users/fog/followers","following_url":"https://api.github.com/users/fog/following{/other_user}","gists_url":"https://api.github.com/users/fog/gists{/gist_id}","starred_url":"https://api.github.com/users/fog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fog/subscriptions","organizations_url":"https://api.github.com/users/fog/orgs","repos_url":"https://api.github.com/users/fog/repos","events_url":"https://api.github.com/users/fog/events{/privacy}","received_events_url":"https://api.github.com/users/fog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fog/fog-azure-rm","description":"","fork":false,"url":"https://api.github.com/repos/fog/fog-azure-rm","forks_url":"https://api.github.com/repos/fog/fog-azure-rm/forks","keys_url":"https://api.github.com/repos/fog/fog-azure-rm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fog/fog-azure-rm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fog/fog-azure-rm/teams","hooks_url":"https://api.github.com/repos/fog/fog-azure-rm/hooks","issue_events_url":"https://api.github.com/repos/fog/fog-azure-rm/issues/events{/number}","events_url":"https://api.github.com/repos/fog/fog-azure-rm/events","assignees_url":"https://api.github.com/repos/fog/fog-azure-rm/assignees{/user}","branches_url":"https://api.github.com/repos/fog/fog-azure-rm/branches{/branch}","tags_url":"https://api.github.com/repos/fog/fog-azure-rm/tags","blobs_url":"https://api.github.com/repos/fog/fog-azure-rm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fog/fog-azure-rm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fog/fog-azure-rm/git/refs{/sha}","trees_url":"https://api.github.com/repos/fog/fog-azure-rm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fog/fog-azure-rm/statuses/{sha}","languages_url":"https://api.github.com/repos/fog/fog-azure-rm/languages","stargazers_url":"https://api.github.com/repos/fog/fog-azure-rm/stargazers","contributors_url":"https://api.github.com/repos/fog/fog-azure-rm/contributors","subscribers_url":"https://api.github.com/repos/fog/fog-azure-rm/subscribers","subscription_url":"https://api.github.com/repos/fog/fog-azure-rm/subscription","commits_url":"https://api.github.com/repos/fog/fog-azure-rm/commits{/sha}","git_commits_url":"https://api.github.com/repos/fog/fog-azure-rm/git/commits{/sha}","comments_url":"https://api.github.com/repos/fog/fog-azure-rm/comments{/number}","issue_comment_url":"https://api.github.com/repos/fog/fog-azure-rm/issues/comments{/number}","contents_url":"https://api.github.com/repos/fog/fog-azure-rm/contents/{+path}","compare_url":"https://api.github.com/repos/fog/fog-azure-rm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fog/fog-azure-rm/merges","archive_url":"https://api.github.com/repos/fog/fog-azure-rm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fog/fog-azure-rm/downloads","issues_url":"https://api.github.com/repos/fog/fog-azure-rm/issues{/number}","pulls_url":"https://api.github.com/repos/fog/fog-azure-rm/pulls{/number}","milestones_url":"https://api.github.com/repos/fog/fog-azure-rm/milestones{/number}","notifications_url":"https://api.github.com/repos/fog/fog-azure-rm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fog/fog-azure-rm/labels{/name}","releases_url":"https://api.github.com/repos/fog/fog-azure-rm/releases{/id}","deployments_url":"https://api.github.com/repos/fog/fog-azure-rm/deployments","created_at":"2016-03-22T10:26:42Z","updated_at":"2016-06-22T22:00:13Z","pushed_at":"2016-07-29T13:14:28Z","git_url":"git://github.com/fog/fog-azure-rm.git","ssh_url":"git@github.com:fog/fog-azure-rm.git","clone_url":"https://github.com/fog/fog-azure-rm.git","svn_url":"https://github.com/fog/fog-azure-rm","homepage":null,"size":792,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":7,"forks":8,"open_issues":7,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fog/fog-azure-rm/pulls/97"},"html":{"href":"https://github.com/fog/fog-azure-rm/pull/97"},"issue":{"href":"https://api.github.com/repos/fog/fog-azure-rm/issues/97"},"comments":{"href":"https://api.github.com/repos/fog/fog-azure-rm/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/fog/fog-azure-rm/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/fog/fog-azure-rm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fog/fog-azure-rm/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/fog/fog-azure-rm/statuses/c61d6d39a41b202fc0ea6868a507969eeebfc682"}}}}
{"actor":{"display_login":"haider-ali-confiz"}}