Hi,
You cannot stop resources by scope. Are are different API to stop each resources. You will need to figure out which resources are stoppable, like VM, Application Gateway, VMSS, App Service, Azure Firewall and then you need to call the respective STOP API.
Regards,
Karthik Srinivas