Hi,
Defender for Cloud does not offer DDoS capabilities. Check Application (Layer 7) DDoS protection to understand which service you should use for DDoS protection. In this document Overview of Defender for App Service to protect your Azure App Service web apps and APIs you can find what protection offers Defender for Cloud for App service.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.