Cloudflare with AzureApplicationGateway


We are trying to automate the process to create cloudflare tunnel to integrate with Application gateway with a private IP, behind the Azure application gateway could be Azure VMs or AKS clusters or Azure Web Apps etc.

Are there some docs or links available on how to achieve it? how to cludflared the Azure application gateway with different backend pool items?