I'm trying to get the encryption status of the disk where my App Service is hosted.
As per my understanding, App Services are hosted in some VMs in Azure. So I wanted to check the App Service hosted VM's encryption status. Currently i tried the below Azure CLI cmdlets, but its not able to find the VM host. I got the host name from kudu console within the App Service Azure portal.
--Get the hostname(VM name) of App service from kudu console
>hostname
R***********
--Using Azure CLI to get the host's encryption status
>az vm encryption show -g "myResourceGroupName" -n "R***********"
Getting error "The Resource 'Microsoft.Compute/virtualMachines/R******' under resource group 'myResourceGroupName' was not found. For more details please go to https://*******ARMResourceNotFoundFix"
Any pointers on getting this encryption status correctly?