I am using .Net SDK for creating the pipelines and its Datasets, Linked services. I am having a doubt that we can get values from JSON templates and pass those values to the built-in methods. The following Class is used to create Azure Storage Linked Service.
client.LinkedServices.CreateOrUpdate(resourceGroupName, dataFactoryName,
new LinkedServiceCreateOrUpdateParameters()
{
LinkedService = new LinkedService()
{
Name = "AzureStorageLinkedService",
Properties = new LinkedServiceProperties
(
new AzureStorageLinkedService("DefaultEndpointsProtocol=https;AccountName=**StorageName**;AccountKey=**StorageKey**")
)
}
}
);
I have to get the values for Name and Properties from the JSON Template and pass those values to LinkedServiceCreateOrUpdateParameters Class.