/
Datasets_Create.json
97 lines (97 loc) · 2.71 KB
/
Datasets_Create.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-12345678abc",
"resourceGroupName": "exampleResourceGroup",
"factoryName": "exampleFactoryName",
"datasetName": "exampleDataset",
"ifMatch": null,
"dataset": {
"properties": {
"type": "AzureBlob",
"typeProperties": {
"folderPath": {
"value": "@dataset().MyFolderPath",
"type": "Expression"
},
"fileName": {
"value": "@dataset().MyFileName",
"type": "Expression"
},
"format": {
"type": "TextFormat"
}
},
"linkedServiceName": {
"referenceName": "exampleLinkedService",
"type": "LinkedServiceReference"
},
"parameters": {
"MyFolderPath": {
"type": "String"
},
"MyFileName": {
"type": "String"
}
}
}
},
"api-version": "2018-06-01"
},
"responses": {
"200": {
"headers": {
"Date": "Sat, 16 Jun 2018 00:37:38 GMT",
"X-Content-Type-Options": "nosniff",
"x-ms-ratelimit-remaining-subscription-writes": "1194",
"x-ms-request-id": "ce95d6dd-c04d-4b02-b7ad-fe79c9b26df0",
"x-ms-correlation-request-id": "ce95d6dd-c04d-4b02-b7ad-fe79c9b26df0"
},
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/datasets/exampleDataset",
"name": "exampleDataset",
"type": "Microsoft.DataFactory/factories/datasets",
"properties": {
"type": "AzureBlob",
"schema": [
{
"name": "col1",
"type": "INT_32"
},
{
"name": "col2",
"type": "Decimal",
"precision": "38",
"scale": "2"
}
],
"typeProperties": {
"folderPath": {
"value": "@dataset().MyFolderPath",
"type": "Expression"
},
"fileName": {
"value": "@dataset().MyFileName",
"type": "Expression"
},
"format": {
"type": "TextFormat"
}
},
"linkedServiceName": {
"referenceName": "exampleLinkedService",
"type": "LinkedServiceReference"
},
"parameters": {
"MyFolderPath": {
"type": "String"
},
"MyFileName": {
"type": "String"
}
}
},
"etag": "0a0066d4-0000-0000-0000-5b245bd20000"
}
}
}
}