Hi Rakesh,
There are containers and there are VMs. Each are considered a separate workload from the perspective of Defender for Cloud.
When you go to Defender for Cloud, you should be able to see both your clusters and your VMs.
If your VMs are in fact inside the clusters, they may require an Arc agent before they're visible to Defender for Cloud.
I suspect that I'm misunderstanding your question, as it's odd that you'd run a VM in a container, yes?