in codes ~ read.

Set Up Azure VM with Multiple Public IPs

Multiple public IPs on a virtual machine enables us to publish several docker containers or web-servers on a single virtual machine. This will optimize the usage of your virtual machine thus will save cost and simplify resource management in Azure.
So, Here is the script written in Powershell.