Retirement of Azure based orchestration template

Hi Team,

I am using a simple Azure VM creation template and it provisions successfully. But when I run Retire, not all resources like “OS disk” is retired and it remains active.
Can you guide me on how I can find all resources of a “service order” and how to retire those related resources ? Any code example is highly appreciated.