{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/2987","repository_url":"https://api.github.com/repos/Azure/azure-cli","labels_url":"https://api.github.com/repos/Azure/azure-cli/issues/2987/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/2987/comments","events_url":"https://api.github.com/repos/Azure/azure-cli/issues/2987/events","html_url":"https://github.com/Azure/azure-cli/issues/2987","id":224251407,"number":2987,"title":"How to get IP address from a VM","user":{"login":"lutzroeder","id":438516,"avatar_url":"https://avatars0.githubusercontent.com/u/438516?v=3","gravatar_id":"","url":"https://api.github.com/users/lutzroeder","html_url":"https://github.com/lutzroeder","followers_url":"https://api.github.com/users/lutzroeder/followers","following_url":"https://api.github.com/users/lutzroeder/following{/other_user}","gists_url":"https://api.github.com/users/lutzroeder/gists{/gist_id}","starred_url":"https://api.github.com/users/lutzroeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutzroeder/subscriptions","organizations_url":"https://api.github.com/users/lutzroeder/orgs","repos_url":"https://api.github.com/users/lutzroeder/repos","events_url":"https://api.github.com/users/lutzroeder/events{/privacy}","received_events_url":"https://api.github.com/users/lutzroeder/received_events","type":"User","site_admin":false},"labels":[{"id":410222942,"url":"https://api.github.com/repos/Azure/azure-cli/labels/Documentation","name":"Documentation","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-25T19:46:50Z","updated_at":"2017-04-25T21:37:44Z","closed_at":null,"body":"Assuming a VM --name 'foo' in --resource-group 'bar', how to get the public IP address assigned to that machine using bash to pass it into ssh?\r\n\r\nIP=$(az ??????)\r\nssh ${IP}\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/comments/297172717","html_url":"https://github.com/Azure/azure-cli/issues/2987#issuecomment-297172717","issue_url":"https://api.github.com/repos/Azure/azure-cli/issues/2987","id":297172717,"user":{"login":"tjprescott","id":5723682,"avatar_url":"https://avatars1.githubusercontent.com/u/5723682?v=3","gravatar_id":"","url":"https://api.github.com/users/tjprescott","html_url":"https://github.com/tjprescott","followers_url":"https://api.github.com/users/tjprescott/followers","following_url":"https://api.github.com/users/tjprescott/following{/other_user}","gists_url":"https://api.github.com/users/tjprescott/gists{/gist_id}","starred_url":"https://api.github.com/users/tjprescott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjprescott/subscriptions","organizations_url":"https://api.github.com/users/tjprescott/orgs","repos_url":"https://api.github.com/users/tjprescott/repos","events_url":"https://api.github.com/users/tjprescott/events{/privacy}","received_events_url":"https://api.github.com/users/tjprescott/received_events","type":"User","site_admin":false},"created_at":"2017-04-25T21:37:44Z","updated_at":"2017-04-25T21:37:44Z","body":"VM show with `-d`. "}}
{"actor":{"display_login":"tjprescott"}}