{"action":"closed","issue":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/7767","repository_url":"https://api.github.com/repos/Azure/azure-cli","labels_url":"https://api.github.com/repos/Azure/azure-cli/issues/7767/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/7767/comments","events_url":"https://api.github.com/repos/Azure/azure-cli/issues/7767/events","html_url":"https://github.com/Azure/azure-cli/issues/7767","id":378000515,"node_id":"MDU6SXNzdWUzNzgwMDA1MTU=","number":7767,"title":"Possible bug - set private ip","user":{"login":"ymkaos","id":16145290,"node_id":"MDQ6VXNlcjE2MTQ1Mjkw","avatar_url":"https://avatars3.githubusercontent.com/u/16145290?v=4","gravatar_id":"","url":"https://api.github.com/users/ymkaos","html_url":"https://github.com/ymkaos","followers_url":"https://api.github.com/users/ymkaos/followers","following_url":"https://api.github.com/users/ymkaos/following{/other_user}","gists_url":"https://api.github.com/users/ymkaos/gists{/gist_id}","starred_url":"https://api.github.com/users/ymkaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymkaos/subscriptions","organizations_url":"https://api.github.com/users/ymkaos/orgs","repos_url":"https://api.github.com/users/ymkaos/repos","events_url":"https://api.github.com/users/ymkaos/events{/privacy}","received_events_url":"https://api.github.com/users/ymkaos/received_events","type":"User","site_admin":false},"labels":[{"id":418939401,"node_id":"MDU6TGFiZWw0MTg5Mzk0MDE=","url":"https://api.github.com/repos/Azure/azure-cli/labels/Network-cli","name":"Network-cli","color":"d4c5f9","default":false},{"id":593424290,"node_id":"MDU6TGFiZWw1OTM0MjQyOTA=","url":"https://api.github.com/repos/Azure/azure-cli/labels/Question","name":"Question","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":{"login":"tjprescott","id":5723682,"node_id":"MDQ6VXNlcjU3MjM2ODI=","avatar_url":"https://avatars2.githubusercontent.com/u/5723682?v=4","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},"assignees":[{"login":"tjprescott","id":5723682,"node_id":"MDQ6VXNlcjU3MjM2ODI=","avatar_url":"https://avatars2.githubusercontent.com/u/5723682?v=4","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}],"milestone":null,"comments":3,"created_at":"2018-11-06T19:32:32Z","updated_at":"2018-11-07T19:09:51Z","closed_at":"2018-11-07T19:09:50Z","author_association":"NONE","body":"I was trying to setup a private ip in an internal lb with this command\naz network lb frontend-ip update -g $groupNet --lb-name $lb -n $feName --subscription $subs --private-ip-address 10.20.254.5\n\nI wasn't work, no error though. so I tried this one:\naz network lb frontend-ip update -g $groupNet --lb-name $lb -n $feName --subscription $subs --set privateIpAddress=10.20.254.5\n\nSame thing, the command ran nomarlly but didn't change the ip at all. \nBut I realised that the field privateIpAllocationMethod had changed to Dynamic.\nSo I set it to static\naz network lb frontend-ip update -g $groupNet --lb-name $lb -n $feName --subscription $subs --set privateIpAllocationMethod=Static\n\nThen ran the first command again. no luck. and the allocation method had changed to dynamic again. \nFinally I ran:\naz network lb frontend-ip update -g $groupNet --lb-name $lb -n $feName --subscription $subs --set privateIpAllocationMethod=Static\naz network lb frontend-ip update -g $groupNet --lb-name $lb -n $feName --subscription $subs --set privateIpAddress=10.20.254.5\n\nAnd worked. so definelly something is not clear or not working as expected. It's a standard Internal load balancer.\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: f347e399-f8d3-2e98-93f7-e7857a3d32ce\n* Version Independent ID: 2cabde06-20be-752a-e75f-240731b6318f\n* Content: [az network lb frontend-ip](https://docs.microsoft.com/en-us/cli/azure/network/lb/frontend-ip?view=azure-cli-latest#az-network-lb-frontend-ip-update)\n* Content Source: [src/command_modules/azure-cli-network/azure/cli/command_modules/network/_help.py](https://github.com/Azure/azure-cli/blob/master/src/command_modules/azure-cli-network/azure/cli/command_modules/network/_help.py)\n* Service: **virtual-network**\n* GitHub Login: @rloutlaw\n* Microsoft Alias: **routlaw**"}}
{"actor":{"display_login":"tjprescott"}}