CmdID / az / az backup / az backup protection
az backup protection check-vm
The command returns null/empty if the specified resource is not protected under any Recovery Services vault in the subscription. Azure CLI reference
1 option Its page in the Azure CLI reference
Options
--vm-idID of the virtual machine to be checked for protection.