I am trying to call the azure api for fetching the details of a particular VM. I am getting all other details in the response but it is not returning the VHD object. Can anyone please tell me why is this happening and how can this be fixed?
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}?api-version=2018-06-01
I am trying to call the api like this but it is not returning VHD object.I am getting everything else in api response but VHD object is not being returned.