while deploying in other environment like staging env data factory, there is script mentioned in microsoft documentation:
https://docs.microsoft.com/en-us/azure/data-factory/continuous-integration-deployment#script
this will auto stop all triggers in pre stage and in post stage it should activate all triggers but it is deleting all the resources and the result is there is nothing left in staging data factory.
is there any explanation why we deleting all the resources in this powershell script ?