{ "name": "TestPipeline", "properties": { "activities": [ { "name": "Get Makes of Cars", "type": "WebActivity", "dependsOn": [], "policy": { "timeout": "0.00:10:00", "retry": 0, "retryIntervalInSeconds": 30, "secureOutput": false, "secureInput": false }, "userProperties": [], "typeProperties": { "method": "GET", "url": "https://vpic.nhtsa.dot.gov/api/vehicles/getallmakes?format=xml" } }, { "name": "Set Body", "type": "SetVariable", "dependsOn": [ { "activity": "Get Makes of Cars", "dependencyConditions": [ "Succeeded" ] } ], "policy": { "secureOutput": false, "secureInput": false }, "userProperties": [], "typeProperties": { "variableName": "Body", "value": { "value": "@activity('Get Makes of Cars').output.Response", "type": "Expression" } } }, { "name": "Write Makes of Cars", "type": "WebActivity", "dependsOn": [ { "activity": "Set Body", "dependencyConditions": [ "Succeeded" ] } ], "policy": { "timeout": "0.00:10:00", "retry": 0, "retryIntervalInSeconds": 30, "secureOutput": false, "secureInput": false }, "userProperties": [], "typeProperties": { "method": "PUT", "headers": { "x-ms-date": { "value": "@formatDateTime(utcNow(), 'ddd, dd MMM yyyy HH:mm:ss G\\MT')", "type": "Expression" }, "x-ms-version": "2024-05-04", "x-ms-blob-type": "BlockBlob", "Authorization": "authentication-managed-identity", "Content-Length": { "value": "@length(variables('Body'))", "type": "Expression" }, "Content-Type": "application/xml" }, "url": "https://mystorageaccount.blob.core.windows.net/mycontainer/MakesOfCars.xml", "body": { "value": "@variables('Body')", "type": "Expression" }, "authentication": { "type": "MSI", "resource": "https://storage.azure.com" } } } ], "variables": { "Body": { "type": "String" } }, "annotations": [] } }