{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/pulls/2","id":215675193,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1Njc1MTkz","html_url":"https://github.com/Azure-Samples/container-instances-python-manage/pull/2","diff_url":"https://github.com/Azure-Samples/container-instances-python-manage/pull/2.diff","patch_url":"https://github.com/Azure-Samples/container-instances-python-manage/pull/2.patch","issue_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/issues/2","number":2,"state":"open","locked":false,"title":"Add required kwarg 'type' to IpAddress object.","user":{"login":"Contrast-AlexB","id":34040248,"node_id":"MDQ6VXNlcjM0MDQwMjQ4","avatar_url":"https://avatars0.githubusercontent.com/u/34040248?v=4","gravatar_id":"","url":"https://api.github.com/users/Contrast-AlexB","html_url":"https://github.com/Contrast-AlexB","followers_url":"https://api.github.com/users/Contrast-AlexB/followers","following_url":"https://api.github.com/users/Contrast-AlexB/following{/other_user}","gists_url":"https://api.github.com/users/Contrast-AlexB/gists{/gist_id}","starred_url":"https://api.github.com/users/Contrast-AlexB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Contrast-AlexB/subscriptions","organizations_url":"https://api.github.com/users/Contrast-AlexB/orgs","repos_url":"https://api.github.com/users/Contrast-AlexB/repos","events_url":"https://api.github.com/users/Contrast-AlexB/events{/privacy}","received_events_url":"https://api.github.com/users/Contrast-AlexB/received_events","type":"User","site_admin":false},"body":"Without the keyword arg `type` was getting this error:\r\n`\r\n container_group_ip_address = IpAddress(ports=[Port(protocol=ContainerGroupNetworkProtocol.tcp, port=port)])\r\nTypeError: __init__() missing 1 required keyword-only argument: 'type'\r\n`\r\nThis adds the required `type` keyword arg and sets it to 'public' as a default.","created_at":"2018-09-14T18:27:21Z","updated_at":"2018-09-14T18:27:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/issues/2/comments","statuses_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/statuses/e85f98bc7bdf20c3afdeef384b5ace1600ed3e53","head":{"label":"Contrast-AlexB:IpAddress-Type","ref":"IpAddress-Type","sha":"e85f98bc7bdf20c3afdeef384b5ace1600ed3e53","user":{"login":"Contrast-AlexB","id":34040248,"node_id":"MDQ6VXNlcjM0MDQwMjQ4","avatar_url":"https://avatars0.githubusercontent.com/u/34040248?v=4","gravatar_id":"","url":"https://api.github.com/users/Contrast-AlexB","html_url":"https://github.com/Contrast-AlexB","followers_url":"https://api.github.com/users/Contrast-AlexB/followers","following_url":"https://api.github.com/users/Contrast-AlexB/following{/other_user}","gists_url":"https://api.github.com/users/Contrast-AlexB/gists{/gist_id}","starred_url":"https://api.github.com/users/Contrast-AlexB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Contrast-AlexB/subscriptions","organizations_url":"https://api.github.com/users/Contrast-AlexB/orgs","repos_url":"https://api.github.com/users/Contrast-AlexB/repos","events_url":"https://api.github.com/users/Contrast-AlexB/events{/privacy}","received_events_url":"https://api.github.com/users/Contrast-AlexB/received_events","type":"User","site_admin":false},"repo":{"id":148826676,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg4MjY2NzY=","name":"container-instances-python-manage","full_name":"Contrast-AlexB/container-instances-python-manage","owner":{"login":"Contrast-AlexB","id":34040248,"node_id":"MDQ6VXNlcjM0MDQwMjQ4","avatar_url":"https://avatars0.githubusercontent.com/u/34040248?v=4","gravatar_id":"","url":"https://api.github.com/users/Contrast-AlexB","html_url":"https://github.com/Contrast-AlexB","followers_url":"https://api.github.com/users/Contrast-AlexB/followers","following_url":"https://api.github.com/users/Contrast-AlexB/following{/other_user}","gists_url":"https://api.github.com/users/Contrast-AlexB/gists{/gist_id}","starred_url":"https://api.github.com/users/Contrast-AlexB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Contrast-AlexB/subscriptions","organizations_url":"https://api.github.com/users/Contrast-AlexB/orgs","repos_url":"https://api.github.com/users/Contrast-AlexB/repos","events_url":"https://api.github.com/users/Contrast-AlexB/events{/privacy}","received_events_url":"https://api.github.com/users/Contrast-AlexB/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Contrast-AlexB/container-instances-python-manage","description":"How to manage your Azure Container Instances using the Python SDK","fork":true,"url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage","forks_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/forks","keys_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/teams","hooks_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/hooks","issue_events_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/issues/events{/number}","events_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/events","assignees_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/assignees{/user}","branches_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/branches{/branch}","tags_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/tags","blobs_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/git/refs{/sha}","trees_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/statuses/{sha}","languages_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/languages","stargazers_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/stargazers","contributors_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/contributors","subscribers_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/subscribers","subscription_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/subscription","commits_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/commits{/sha}","git_commits_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/git/commits{/sha}","comments_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/comments{/number}","issue_comment_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/issues/comments{/number}","contents_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/contents/{+path}","compare_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/merges","archive_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/downloads","issues_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/issues{/number}","pulls_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/pulls{/number}","milestones_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/milestones{/number}","notifications_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/labels{/name}","releases_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/releases{/id}","deployments_url":"https://api.github.com/repos/Contrast-AlexB/container-instances-python-manage/deployments","created_at":"2018-09-14T18:23:26Z","updated_at":"2018-09-14T18:23:29Z","pushed_at":"2018-09-14T18:24:45Z","git_url":"git://github.com/Contrast-AlexB/container-instances-python-manage.git","ssh_url":"git@github.com:Contrast-AlexB/container-instances-python-manage.git","clone_url":"https://github.com/Contrast-AlexB/container-instances-python-manage.git","svn_url":"https://github.com/Contrast-AlexB/container-instances-python-manage","homepage":null,"size":14,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure-Samples:master","ref":"master","sha":"c555b40c8698f7cfc565651b169284055b2f6468","user":{"login":"Azure-Samples","id":1844662,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDQ2NjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1844662?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure-Samples","html_url":"https://github.com/Azure-Samples","followers_url":"https://api.github.com/users/Azure-Samples/followers","following_url":"https://api.github.com/users/Azure-Samples/following{/other_user}","gists_url":"https://api.github.com/users/Azure-Samples/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure-Samples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure-Samples/subscriptions","organizations_url":"https://api.github.com/users/Azure-Samples/orgs","repos_url":"https://api.github.com/users/Azure-Samples/repos","events_url":"https://api.github.com/users/Azure-Samples/events{/privacy}","received_events_url":"https://api.github.com/users/Azure-Samples/received_events","type":"Organization","site_admin":false},"repo":{"id":105958627,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU5NTg2Mjc=","name":"container-instances-python-manage","full_name":"Azure-Samples/container-instances-python-manage","owner":{"login":"Azure-Samples","id":1844662,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDQ2NjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1844662?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure-Samples","html_url":"https://github.com/Azure-Samples","followers_url":"https://api.github.com/users/Azure-Samples/followers","following_url":"https://api.github.com/users/Azure-Samples/following{/other_user}","gists_url":"https://api.github.com/users/Azure-Samples/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure-Samples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure-Samples/subscriptions","organizations_url":"https://api.github.com/users/Azure-Samples/orgs","repos_url":"https://api.github.com/users/Azure-Samples/repos","events_url":"https://api.github.com/users/Azure-Samples/events{/privacy}","received_events_url":"https://api.github.com/users/Azure-Samples/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure-Samples/container-instances-python-manage","description":"How to manage your Azure Container Instances using the Python SDK","fork":false,"url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage","forks_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/forks","keys_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/teams","hooks_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/hooks","issue_events_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/issues/events{/number}","events_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/events","assignees_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/assignees{/user}","branches_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/branches{/branch}","tags_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/tags","blobs_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/languages","stargazers_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/stargazers","contributors_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/contributors","subscribers_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/subscribers","subscription_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/subscription","commits_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/contents/{+path}","compare_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/merges","archive_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/downloads","issues_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/issues{/number}","pulls_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/labels{/name}","releases_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/releases{/id}","deployments_url":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/deployments","created_at":"2017-10-06T01:53:57Z","updated_at":"2018-05-29T21:08:38Z","pushed_at":"2018-05-29T21:08:36Z","git_url":"git://github.com/Azure-Samples/container-instances-python-manage.git","ssh_url":"git@github.com:Azure-Samples/container-instances-python-manage.git","clone_url":"https://github.com/Azure-Samples/container-instances-python-manage.git","svn_url":"https://github.com/Azure-Samples/container-instances-python-manage","homepage":null,"size":14,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/pulls/2"},"html":{"href":"https://github.com/Azure-Samples/container-instances-python-manage/pull/2"},"issue":{"href":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/issues/2"},"comments":{"href":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Azure-Samples/container-instances-python-manage/statuses/e85f98bc7bdf20c3afdeef384b5ace1600ed3e53"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"Contrast-AlexB"}}