Azure-Player / azure.datafactory.devops

Azure DevOps Deployment Tasks for Azure Data Factory objects
MIT License
39 stars 21 forks source link

Question: What is the difference between two publish methods (az.datafactory an az.resource) in advanced tab? #42

Closed akhila31 closed 3 years ago

akhila31 commented 3 years ago

image

NowinskiK commented 3 years ago

Az.Resource method uses Az.Resources module to deploy all ADF objects (resources) one by one, whereas Az.DataFactory uses Az.DataFactory module. The difference is that Az.DataFactory parses the code (files) when pulling and posting from/to ADF instance, which sometimes may cause an error when the bug exists in the module for a specific configuration of an ADF object. A few examples of such error: Treat as null parameters not working Deployment of Wait Activity with expression fails with option DeleteNotInSource = $true "Unable to deserialize the response." issue with excluded objects

That's the reason for using Az.Resource approach, which is generic for all Azure resources.