Skip to content

Commit b2acb15

Browse files
authored
[Datafactory] Add Support for Query EC List API (#10316)
* webhook changes * remove timeout as required * combine and update web auth definitions * revert auth type enum change * Revert "revert auth type enum change" This reverts commit a4c799f. * Reset to master * whitespace * Add new EC API * lint * fix validation * fix defn
1 parent 898fe0e commit b2acb15

File tree

2 files changed

+124
-1
lines changed

2 files changed

+124
-1
lines changed

specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json

Lines changed: 84 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,57 @@
255255
}
256256
}
257257
},
258+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryFeaturesValue": {
259+
"post": {
260+
"tags": [
261+
"exposureControl"
262+
],
263+
"operationId": "ExposureControl_QueryFeatureValuesByFactory",
264+
"x-ms-examples": {
265+
"ExposureControl_QueryFeatureValuesByFactory": {
266+
"$ref": "./examples/ExposureControl_QueryFeatureValuesByFactory.json"
267+
}
268+
},
269+
"description": "Get list of exposure control features for specific factory.",
270+
"parameters": [
271+
{
272+
"$ref": "#/parameters/subscriptionId"
273+
},
274+
{
275+
"$ref": "#/parameters/resourceGroupName"
276+
},
277+
{
278+
"$ref": "#/parameters/factoryName"
279+
},
280+
{
281+
"$ref": "#/parameters/api-version"
282+
},
283+
{
284+
"name": "exposureControlBatchRequest",
285+
"description": "The exposure control request for list of features.",
286+
"in": "body",
287+
"required": true,
288+
"schema": {
289+
"$ref": "#/definitions/ExposureControlBatchRequest"
290+
}
291+
}
292+
],
293+
"responses": {
294+
"200": {
295+
"description": "OK.",
296+
"schema": {
297+
"$ref": "#/definitions/ExposureControlBatchResponse"
298+
}
299+
},
300+
"default": {
301+
"description": "An error response received from the Azure Data Factory service.",
302+
"schema": {
303+
"$ref": "#/definitions/CloudError"
304+
}
305+
}
306+
}
307+
}
308+
},
258309
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories": {
259310
"get": {
260311
"tags": [
@@ -3105,7 +3156,7 @@
31053156
],
31063157
"operationId": "TriggerRuns_Cancel",
31073158
"x-ms-examples": {
3108-
"Triggers_Rerun": {
3159+
"Triggers_Cancel": {
31093160
"$ref": "./examples/TriggerRuns_Cancel.json"
31103161
}
31113162
},
@@ -5459,6 +5510,22 @@
54595510
}
54605511
}
54615512
},
5513+
"ExposureControlBatchRequest": {
5514+
"description": "A list of exposure control features.",
5515+
"type": "object",
5516+
"required": [
5517+
"exposureControlRequests"
5518+
],
5519+
"properties": {
5520+
"exposureControlRequests": {
5521+
"type": "array",
5522+
"description": "List of exposure control features.",
5523+
"items": {
5524+
"$ref": "#/definitions/ExposureControlRequest"
5525+
}
5526+
}
5527+
}
5528+
},
54625529
"ExposureControlRequest": {
54635530
"type": "object",
54645531
"description": "The exposure control request.",
@@ -5473,6 +5540,22 @@
54735540
}
54745541
}
54755542
},
5543+
"ExposureControlBatchResponse": {
5544+
"description": "A list of exposure control feature values.",
5545+
"type": "object",
5546+
"required": [
5547+
"exposureControlResponses"
5548+
],
5549+
"properties": {
5550+
"exposureControlResponses": {
5551+
"type": "array",
5552+
"description": "List of exposure control feature values.",
5553+
"items": {
5554+
"$ref": "#/definitions/ExposureControlResponse"
5555+
}
5556+
}
5557+
}
5558+
},
54765559
"ExposureControlResponse": {
54775560
"type": "object",
54785561
"description": "The exposure control response.",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-1234-12345678abc",
4+
"resourceGroupName": "exampleResourceGroup",
5+
"factoryName": "exampleFactoryName",
6+
"exposureControlBatchRequest": {
7+
"exposureControlRequests": [
8+
{
9+
"featureName": "ADFIntegrationRuntimeSharingRbac",
10+
"featureType": "Feature"
11+
},
12+
{
13+
"featureName": "ADFSampleFeature",
14+
"featureType": "Feature"
15+
}
16+
]
17+
},
18+
"api-version": "2018-06-01"
19+
},
20+
"responses": {
21+
"200": {
22+
"headers": {
23+
"Date": "Sat, 22 Dec 2018 09:46:07 GMT",
24+
"X-Content-Type-Options": "nosniff"
25+
},
26+
"body": {
27+
"exposureControlResponses": [
28+
{
29+
"featureName": "ADFIntegrationRuntimeSharingRbac",
30+
"value": "False"
31+
},
32+
{
33+
"featureName": "ADFSampleFeature",
34+
"value": "True"
35+
}
36+
]
37+
}
38+
}
39+
}
40+
}

0 commit comments

Comments
 (0)