Azure Data Factory

Sekar Nagaraj 1 Reputation point
2022-03-10T15:56:19.31+00:00

How do we get details of involved components (for ex. Source, Destination, Type of Azure Services Involved) of ADF factory via .NET code?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,546 Reputation points Microsoft Employee Moderator
    2022-03-14T12:40:57.95+00:00

    Hi @Anonymous ,

    Thank you for posting query in Microsoft Q&A Platform.

    As I understand ask here you are trying to get source and destination information of Copy activity in ADF Pipeline using .NET code. Please correct me If I am wrong.

    Azure Data factory exposes .NET SDK and also REST API. You can use anyone of them to programmatically talk to ADF service.

    In your case you need to consider getting pipeline details there be you can drill to copy activity and see source and sink dataset names.

    Below is the link to .NET SDK Function that helps you to get back PipelineResource object.
    https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.datafactory.pipelinesoperationsextensions.get?view=azure-dotnet

    In below thread similar discussion with more additional links too. Kindly check once.
    https://stackoverflow.com/questions/56554782/get-adf-pipeline-json-from-c-sharp

    Hope this helps. Please let us know how it goes and let us know if any further queries.

    ------------

    Please consider hitting Accept Answer. Accepted answers helps community as well.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.