I am looking for something similar to, but using JAVA rest API calls. I want to get a list of all resources (including virtual machines, storage disks, network devices, etc.) and their main properties (such as ip address, disk space, etc.), I tried to make API calls after this link .
When I make an http request to this url
"https://management.azure.com/subscriptions/"+subscriptionId+"/resourceGroups/"+resourceGroupName+"/providers/Microsoft.Compute/virtualMachines?api-version="+apiVersion
But I get error 401. Am I calling the correct URL? if not which URL should I call?
java azure
Jerry
source share