{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2806","repository_url":"https://api.github.com/repos/Azure/azure-xplat-cli","labels_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2806/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2806/comments","events_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2806/events","html_url":"https://github.com/Azure/azure-xplat-cli/issues/2806","id":150936017,"number":2806,"title":"Update a nic with a public ip address doesn't work","user":{"login":"yugangw-msft","id":6014209,"avatar_url":"https://avatars.githubusercontent.com/u/6014209?v=3","gravatar_id":"","url":"https://api.github.com/users/yugangw-msft","html_url":"https://github.com/yugangw-msft","followers_url":"https://api.github.com/users/yugangw-msft/followers","following_url":"https://api.github.com/users/yugangw-msft/following{/other_user}","gists_url":"https://api.github.com/users/yugangw-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/yugangw-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yugangw-msft/subscriptions","organizations_url":"https://api.github.com/users/yugangw-msft/orgs","repos_url":"https://api.github.com/users/yugangw-msft/repos","events_url":"https://api.github.com/users/yugangw-msft/events{/privacy}","received_events_url":"https://api.github.com/users/yugangw-msft/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/labels/Networking","name":"Networking","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-25T17:48:19Z","updated_at":"2016-04-26T08:02:57Z","closed_at":"2016-04-25T18:50:26Z","body":"CLI Version: **0.9.X**\r\nOS Type: Mac / Win / Linux (Ubuntu, RedHat, etc.)\r\nInstallation via:  github repo\r\n\r\nMode: *ARM *\r\n\r\nDescription:\r\n    The command succeeded, but the update didn't happen when veirified in portal\r\n\r\nSteps to reproduce:\r\n    azure network nic set -g yugangw -n yugangw-nic --public-ip-name yugangw-publicip"},"comment":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/comments/214661301","html_url":"https://github.com/Azure/azure-xplat-cli/issues/2806#issuecomment-214661301","issue_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2806","id":214661301,"user":{"login":"romangromov","id":1655573,"avatar_url":"https://avatars.githubusercontent.com/u/1655573?v=3","gravatar_id":"","url":"https://api.github.com/users/romangromov","html_url":"https://github.com/romangromov","followers_url":"https://api.github.com/users/romangromov/followers","following_url":"https://api.github.com/users/romangromov/following{/other_user}","gists_url":"https://api.github.com/users/romangromov/gists{/gist_id}","starred_url":"https://api.github.com/users/romangromov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romangromov/subscriptions","organizations_url":"https://api.github.com/users/romangromov/orgs","repos_url":"https://api.github.com/users/romangromov/repos","events_url":"https://api.github.com/users/romangromov/events{/privacy}","received_events_url":"https://api.github.com/users/romangromov/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T08:02:57Z","updated_at":"2016-04-26T08:02:57Z","body":"@yugangw-msft checked in `0.9.20` and its working fine:\r\n```\r\n>azure network nic set -g test-roman-group -n TestNic --public-ip-name IPforNIC\r\n\r\ninfo:    Executing command network nic set\r\n+ Looking up the network interface \"TestNic\"\r\n+ Looking up the public ip \"IPforNIC\"\r\n+ Updating network interface \"TestNic\"\r\ndata:    Id                              : /subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/test-roman-group/providers/Microsoft.Network/networkInterfaces/TestNic\r\ndata:    Name                            : TestNic\r\ndata:    Type                            : Microsoft.Network/networkInterfaces\r\ndata:    Location                        : westus\r\ndata:    Provisioning state              : Succeeded\r\ndata:    Tags                            : tag1=aaa\r\ndata:    Internal DNS name label         : somedomain\r\ndata:    Internal FQDN                   : somedomain.ujhaplfpnrpu5f102kesa35omh.d--x.internal.cloudapp.net\r\ndata:    Enable IP forwarding            : true\r\ndata:    IP configurations:\r\ndata:      Name                          : default-ip-config\r\ndata:      Provisioning state            : Succeeded\r\ndata:      Public IP address             : /subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/test-roman-group/providers/Microsoft.Network/publicIPAddresses/IPforNIC\r\ndata:      Private IP address            : 10.0.0.10\r\ndata:      Private IP allocation method  : Static\r\ndata:      Subnet                        : /subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/test-roman-group/providers/Microsoft.Network/virtualNetworks/VnetForNIC/subnets/SubnetForNIC\r\ndata:\r\ninfo:    network nic set command OK\r\n\r\n```"}}