How can Azure instance determine its instance level public ip address (ILPIP)?

Azure provides the ability to get instance level public IP addresses (ILPIP):

Is there a way for each instance to determine the public IP address assigned to it?


You can use the Azure PowerShell module inside the VM to check for the ILPIP like this:

#Get the associated Public IP Name for a virtual machine
Get-AzureVM -ServiceName "YourCloudServiceDomain" -Name "YourVMName" | Get-AzurePublicIP


#Get the assigned Public IP Address for a virtual machine
$instance = Get-AzureVM -ServiceName "YourCloudServiceDomain" -Name "YourVMName"

If you prefer a REST Api you can check the List Reserved IP Address call

Need Your Help

Quaternion from Orthogonal Basis

game-physics quaternions

I have a projectile object that is moving along a velocity vector. I need to ensure that the object is always facing in the direction of the velocity vector. Furthermore, I am representing object

Android - Assertj Android - Run error

android unit-testing testing android-assertj

I´m trying to run assertj-android but it send an error. (it runs fine with junit 4)