Deploying Azure Data Factory using ARM Templates -


i'm trying deploy azure data factory service using azure resource manager templates. far able create data factory couldn't add linked service, pipeline or dataset using approach. since there no example of data factory template available, created mine based on rest api documentation. following template trying implement, "bad request" returned server.

{    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymenttemplate.json#",    "contentversion": "1.0.0.0",    "parameters": {      "sitename": {        "type": "string"      }    },    "resources": [      {         "apiversion": "2015-05-01-preview",         "type": "microsoft.datafactory/datafactories",         "name": "teststoragedatafactory",         "location": "[resourcegroup().location]",         "resources": [             {                 "apiversion": "2015-05-01-preview",                 "type": "linkedservices",                 "name": "mylinkedservice",                 "location": "[resourcegroup().location]",                 "dependson": [                        "/subscriptions/xxx/resourcegroups/testarmtemplate/providers/microsoft.datafactory/datafactories/teststoragedatafactory"                 ],                 "properties":                 {                     "type": "azurestoragelinkedservice",                     "description": "",                     "connectionstring": "defaultendpointsprotocol=https;accountname=xxx;accountkey=xxx"                 }             }         ]      }    ] } 

according information log, request api performed, , endpoint seems correct. there seems problem request payload.

have of experience using arm templates deploy data factory services? possible create linked service using approach? there way see request used create linked service?

thank help!

javi

you can find example of template creating data factory account , simple pipeline in azure quickstart template gallery


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -