{ "name": "PL - Example Import", "properties": { "description": "Show how to parameterise the error logging flag", "activities": [ { "name": "Stage the data", "type": "Copy", "dependsOn": [], "policy": { "timeout": "7.00:00:00", "retry": 0, "retryIntervalInSeconds": 30, "secureOutput": false, "secureInput": false }, "userProperties": [], "typeProperties": { "source": { "type": "AzureSqlSource", "queryTimeout": "02:00:00", "partitionOption": "None" }, "sink": { "type": "AzureSqlSink", "disableMetricsCollection": false }, "enableStaging": false, "enableSkipIncompatibleRow": true, "validateDataConsistency": { "value": "@pipeline().parameters.pEnableLogging", "type": "Expression" }, "logSettings": { "enableCopyActivityLog": { "value": "@pipeline().parameters.pEnableLogging", "type": "Expression" }, "copyActivityLogSettings": { "logLevel": "Warning", "enableReliableLogging": false }, "logLocationSettings": { "linkedServiceName": { "referenceName": "containerstorage", "type": "LinkedServiceReference" }, "path": "log-files" } }, "translator": { "type": "TabularTranslator", "typeConversion": true, "typeConversionSettings": { "allowDataTruncation": true, "treatBooleanAsNumber": false, "dateTimeFormat": "yyyy-MM-dd" } } }, "inputs": [ { "referenceName": "Progress_Log", "type": "DatasetReference" } ], "outputs": [ { "referenceName": "Progress_Log", "type": "DatasetReference" } ] } ], "parameters": { "pEnableLogging": { "type": "bool", "defaultValue": false } }, "folder": { "name": "TMP" }, "annotations": [] } }