Setting STATIC IP – Azure VM

When you create AZURE  VM  it sets the dynamic IP for the Virtual Machines & if you shutdown the machine the IP is reclaimed & can be assigned to other machine. This is true for public IP as well as private IP. So how do we make sure that IP remains static even if we shutdown…