Hi @Arunkumar D,
There isn't currently a way to retrieve a list of VM SKUs scheduled for deprecation using the Azure CLI or REST API. However, you can check the VM SKUs marked for deprecation on the [Retirements] page, where I've applied filters for "retirements" and "VM"
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer and Upvote for was this answer helpful. And, if you have any further query do let us know.