{ "parameters": { "api-version": "2018-06-01", "dataset": { "properties": { "type": "AzureBlob", "linkedServiceName": { "type": "LinkedServiceReference", "referenceName": "exampleLinkedService" }, "parameters": { "MyFileName": { "type": "String" }, "MyFolderPath": { "type": "String" } }, "typeProperties": { "format": { "type": "TextFormat" }, "fileName": { "type": "Expression", "value": "@dataset().MyFileName" }, "folderPath": { "type": "Expression", "value": "@dataset().MyFolderPath" } } } }, "datasetName": "exampleDataset", "factoryName": "exampleFactoryName", "ifMatch": null, "resourceGroupName": "exampleResourceGroup", "subscriptionId": "12345678-1234-1234-1234-123456789012" }, "responses": { "200": { "body": { "name": "exampleDataset", "type": "Microsoft.DataFactory/factories/datasets", "etag": "0a0066d4-0000-0000-0000-5b245bd20000", "id": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/datasets/exampleDataset", "properties": { "type": "AzureBlob", "schema": [ { "name": "col1", "type": "INT_32" }, { "name": "col2", "type": "Decimal", "precision": "38", "scale": "2" } ], "linkedServiceName": { "type": "LinkedServiceReference", "referenceName": "exampleLinkedService" }, "parameters": { "MyFileName": { "type": "String" }, "MyFolderPath": { "type": "String" } }, "typeProperties": { "format": { "type": "TextFormat" }, "fileName": { "type": "Expression", "value": "@dataset().MyFileName" }, "folderPath": { "type": "Expression", "value": "@dataset().MyFolderPath" } } } }, "headers": { "Date": "Sat, 16 Jun 2018 00:37:38 GMT", "X-Content-Type-Options": "nosniff", "x-ms-correlation-request-id": "ce95d6dd-c04d-4b02-b7ad-fe79c9b26df0", "x-ms-ratelimit-remaining-subscription-writes": "1194", "x-ms-request-id": "ce95d6dd-c04d-4b02-b7ad-fe79c9b26df0" } } }, "operationId": "Datasets_CreateOrUpdate", "title": "Datasets_Create" }