{"action":"closed","issue":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1557","labels_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1557/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1557/comments","events_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1557/events","html_url":"https://github.com/Azure/azure-xplat-cli/issues/1557","id":55994637,"number":1557,"title":"azure vm endpoint delete fails","user":{"login":"peterlimayo","id":10626186,"avatar_url":"https://avatars.githubusercontent.com/u/10626186?v=3","gravatar_id":"","url":"https://api.github.com/users/peterlimayo","html_url":"https://github.com/peterlimayo","followers_url":"https://api.github.com/users/peterlimayo/followers","following_url":"https://api.github.com/users/peterlimayo/following{/other_user}","gists_url":"https://api.github.com/users/peterlimayo/gists{/gist_id}","starred_url":"https://api.github.com/users/peterlimayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterlimayo/subscriptions","organizations_url":"https://api.github.com/users/peterlimayo/orgs","repos_url":"https://api.github.com/users/peterlimayo/repos","events_url":"https://api.github.com/users/peterlimayo/events{/privacy}","received_events_url":"https://api.github.com/users/peterlimayo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-30T04:52:11Z","updated_at":"2015-01-30T16:19:17Z","closed_at":"2015-01-30T16:19:17Z","body":"Tried to delete an endpoint via:\r\n\r\nazure vm endpoint delete <vm-name> <publicport>\r\n\r\nit doesn't work. Returns:\r\n\r\n$ azure vm endpoint list dev-s1\r\ninfo:    Executing command vm endpoint list\r\n+ Getting virtual machines                                                     \r\ndata:    Name  Protocol  Public Port  Private Port  Virtual IP     EnableDirectServerReturn  Load Balanced\r\ndata:    ----  --------  -----------  ------------  -------------  ------------------------  -------------\r\ndata:    ssh   tcp       8717         22            23.99.216.146  false                     No           \r\ninfo:    vm endpoint list command OK\r\n\r\n$ azure vm endpoint delete dev-s1 8717\r\ninfo:    Executing command vm endpoint delete\r\n+ Getting virtual machines                                                     \r\n+ Reading network configuration                                                \r\nerror:   Endpoint \"8717\" not found in the network configuration\r\nerror:   vm endpoint delete command failed\r\n\r\n$ azure vm endpoint delete dev-s1 22\r\ninfo:    Executing command vm endpoint delete\r\n+ Getting virtual machines                                                     \r\n+ Reading network configuration                                                \r\nerror:   Endpoint \"22\" not found in the network configuration\r\nerror:   vm endpoint delete command failed\r\n<!---@tfsbridge:{\"tfsId\":3326580}-->"}}