Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dfc4727

Browse files
haricrjhendrixMSFT
authored andcommitted
[DataFactory] Add new features to Swagger (Azure#2504)
* Add new features 1. SecureOutput and BatchCount 2. Filter Activity 3. LInked Service Parameters 4. FilterActivity * Fix indentations * Fix review comments
1 parent a98fa16 commit dfc4727

File tree

4 files changed

+88
-8
lines changed

4 files changed

+88
-8
lines changed

specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/datafactory.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2830,7 +2830,8 @@
28302830
"Int",
28312831
"Float",
28322832
"Bool",
2833-
"Array"
2833+
"Array",
2834+
"SecureString"
28342835
],
28352836
"x-ms-enum": {
28362837
"name": "ParameterType",
@@ -3074,6 +3075,10 @@
30743075
"referenceName": {
30753076
"type": "string",
30763077
"description": "Reference LinkedService name."
3078+
},
3079+
"parameters": {
3080+
"$ref": "#/definitions/ParameterValueSpecification",
3081+
"description": "Arguments for LinkedService."
30773082
}
30783083
},
30793084
"required": [

specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Dataset.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"swagger": "2.0",
33
"info": {
44
"title": "DataFactoryManagementClient",
@@ -30,6 +30,13 @@
3030
"parameters": {
3131
"$ref": "../datafactory.json#/definitions/ParameterDefinitionSpecification",
3232
"description": "Parameters for dataset."
33+
},
34+
"annotations": {
35+
"description": "List of tags that can be used for describing the Dataset.",
36+
"type": "array",
37+
"items": {
38+
"type": "object"
39+
}
3340
}
3441
},
3542
"additionalProperties": {

specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/LinkedService.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"swagger": "2.0",
33
"info": {
44
"title": "DataFactoryManagementClient",
@@ -22,6 +22,17 @@
2222
"description": {
2323
"description": "Linked service description.",
2424
"type": "string"
25+
},
26+
"parameters": {
27+
"$ref": "../datafactory.json#/definitions/ParameterDefinitionSpecification",
28+
"description": "Parameters for linked service."
29+
},
30+
"annotations": {
31+
"description": "List of tags that can be used for describing the Dataset.",
32+
"type": "array",
33+
"items": {
34+
"type": "object"
35+
}
2536
}
2637
},
2738
"additionalProperties": {

specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json

Lines changed: 62 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"swagger": "2.0",
33
"info": {
44
"title": "DataFactoryManagementClient",
@@ -29,7 +29,14 @@
2929
"type": "integer",
3030
"minimum": 1,
3131
"description": "The max number of concurrent runs for the pipeline."
32-
}
32+
},
33+
"annotations": {
34+
"description": "List of tags that can be used for describing the Pipeline.",
35+
"type": "array",
36+
"items": {
37+
"type": "object"
38+
}
39+
}
3340
}
3441
},
3542
"Activity": {
@@ -145,6 +152,10 @@
145152
"description": "Interval between each retry attempt (in seconds). The default is 30 sec.",
146153
"minimum": 30,
147154
"maximum": 86400
155+
},
156+
"secureOutput": {
157+
"type": "boolean",
158+
"description": "When set to true, Output from activity is considered as secure and will not be logged to monitoring."
148159
}
149160
},
150161
"additionalProperties": {
@@ -2213,7 +2224,8 @@
22132224
"enum": [
22142225
"GET",
22152226
"POST",
2216-
"PUT"
2227+
"PUT",
2228+
"DELETE"
22172229
],
22182230
"x-ms-enum": {
22192231
"name": "WebActivityMethod",
@@ -2243,7 +2255,7 @@
22432255
"description": "Web activity authentication properties.",
22442256
"properties": {
22452257
"type": {
2246-
"description": "Web activity authentication (Basic/ClientCertificate)",
2258+
"description": "Web activity authentication (Basic/ClientCertificate/MSI)",
22472259
"type": "string"
22482260
},
22492261
"pfx": {
@@ -2257,6 +2269,10 @@
22572269
"password": {
22582270
"description": "Password for the PFX file or basic authentication.",
22592271
"$ref": "../datafactory.json#/definitions/SecureString"
2272+
},
2273+
"resource": {
2274+
"description": "Resource for which Azure Auth token will be requested when using MSI Authentication.",
2275+
"type": "string"
22602276
}
22612277
},
22622278
"required": [
@@ -2413,9 +2429,14 @@
24132429
"description": "ForEach activity properties.",
24142430
"properties": {
24152431
"isSequential": {
2416-
"description": "Should the loop be executed in sequence or in parallel (max 20)",
2432+
"description": "Should the loop be executed in sequence or in parallel (max 50)",
24172433
"type": "boolean"
24182434
},
2435+
"batchCount": {
2436+
"description": "Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).",
2437+
"type": "integer",
2438+
"maximum": 50
2439+
},
24192440
"items": {
24202441
"description": "Collection to iterate.",
24212442
"$ref": "../datafactory.json#/definitions/Expression"
@@ -2671,6 +2692,42 @@
26712692
"expression",
26722693
"activities"
26732694
]
2695+
},
2696+
"FilterActivity": {
2697+
"x-ms-discriminator-value": "Filter",
2698+
"description": "Filter and return results from input array based on the conditions.",
2699+
"allOf": [
2700+
{
2701+
"$ref": "#/definitions/ControlActivity"
2702+
}
2703+
],
2704+
"properties": {
2705+
"typeProperties": {
2706+
"description": "Filter activity properties.",
2707+
"x-ms-client-flatten": true,
2708+
"$ref": "#/definitions/FilterActivityTypeProperties"
2709+
}
2710+
},
2711+
"required": [
2712+
"typeProperties"
2713+
]
2714+
},
2715+
"FilterActivityTypeProperties": {
2716+
"description": "Fitler activity properties.",
2717+
"properties": {
2718+
"items": {
2719+
"description": "Input array on which filter should be applied.",
2720+
"$ref": "../datafactory.json#/definitions/Expression"
2721+
},
2722+
"condition": {
2723+
"description": "Condition to be used for filtering the input.",
2724+
"$ref": "../datafactory.json#/definitions/Expression"
2725+
}
2726+
},
2727+
"required": [
2728+
"condition",
2729+
"items"
2730+
]
26742731
}
26752732
}
26762733
}

0 commit comments

Comments
 (0)