Hi,
I have 2 self hosted integration runtimes in different data centres across different countries, I am trying to switch self hosted IR "on fly" using Advance JSON properties of Linked Service, I am able to pass all parameters with success accept the SHIR itself ("connect via" the one in bold) which does not seems to be working, are there any way outs ? can you change the name of SHIR dynamically? Many Thanks
{
"name": "OnPremiseSQL",
"type": "Microsoft.DataFactory/factories/linkedservices",
"properties": {
"parameters": {
"keyvault": {
"type": "string"
},
"secretname": {
"type": "string"
},
"SHIR": {
"type": "string"
}
},
"annotations": [],
"type": "SqlServer",
"typeProperties": {
"connectionString": {
"type": "AzureKeyVaultSecret",
"store": {
"referenceName": "AzureKeyVault",
"type": "LinkedServiceReference",
"parameters": {
"KeyVault": {
"value": "@linkedService().keyvault",
"type": "Expression"
}
}
},
"secretName": {
"value": "@linkedService().secretname",
"type": "Expression"
}
}
},
"connectVia": {
"referenceName": "@linkedService().SHIR",
"type": "Expression"
}
}
}