Hello Selvaraj,
Please take a look at:
Migrate databases at scale using automation (Preview)
https://learn.microsoft.com/en-us/azure/dms/migration-dms-powershell-cli
Automate database migrations
If this is helpful please accept as answer or upvote.
Best regards,
Dillon Silzer