Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Call to management.azure.com REST API throwing UnknownHostException

$
0
0

I have a REST API call to start/stop VM. I packaged VM and shared with another subscription and created new VM with the shared VHD. When I try to execute start/stop VM code on new VM, getting following exception:

I/O error on POST request for
"https://management.azure.com/subscriptions/mysubid/resourceGroups/myresgroup/providers/Microsoft.Compute/virtualMachines/qa1/start": management.azure.com; nested exception is java.net.UnknownHostException: management.azure.com

Any idea how can I solve this?



Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>