Skip to content

Commit

Permalink
[Datafactory] Add Support for Query EC List API (#10316)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
arsunda authored Aug 8, 2020
1 parent 898fe0e commit b2acb15
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,57 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryFeaturesValue": {
"post": {
"tags": [
"exposureControl"
],
"operationId": "ExposureControl_QueryFeatureValuesByFactory",
"x-ms-examples": {
"ExposureControl_QueryFeatureValuesByFactory": {
"$ref": "./examples/ExposureControl_QueryFeatureValuesByFactory.json"
}
},
"description": "Get list of exposure control features for specific factory.",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/resourceGroupName"
},
{
"$ref": "#/parameters/factoryName"
},
{
"$ref": "#/parameters/api-version"
},
{
"name": "exposureControlBatchRequest",
"description": "The exposure control request for list of features.",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ExposureControlBatchRequest"
}
}
],
"responses": {
"200": {
"description": "OK.",
"schema": {
"$ref": "#/definitions/ExposureControlBatchResponse"
}
},
"default": {
"description": "An error response received from the Azure Data Factory service.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories": {
"get": {
"tags": [
Expand Down Expand Up @@ -3105,7 +3156,7 @@
],
"operationId": "TriggerRuns_Cancel",
"x-ms-examples": {
"Triggers_Rerun": {
"Triggers_Cancel": {
"$ref": "./examples/TriggerRuns_Cancel.json"
}
},
Expand Down Expand Up @@ -5459,6 +5510,22 @@
}
}
},
"ExposureControlBatchRequest": {
"description": "A list of exposure control features.",
"type": "object",
"required": [
"exposureControlRequests"
],
"properties": {
"exposureControlRequests": {
"type": "array",
"description": "List of exposure control features.",
"items": {
"$ref": "#/definitions/ExposureControlRequest"
}
}
}
},
"ExposureControlRequest": {
"type": "object",
"description": "The exposure control request.",
Expand All @@ -5473,6 +5540,22 @@
}
}
},
"ExposureControlBatchResponse": {
"description": "A list of exposure control feature values.",
"type": "object",
"required": [
"exposureControlResponses"
],
"properties": {
"exposureControlResponses": {
"type": "array",
"description": "List of exposure control feature values.",
"items": {
"$ref": "#/definitions/ExposureControlResponse"
}
}
}
},
"ExposureControlResponse": {
"type": "object",
"description": "The exposure control response.",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-12345678abc",
"resourceGroupName": "exampleResourceGroup",
"factoryName": "exampleFactoryName",
"exposureControlBatchRequest": {
"exposureControlRequests": [
{
"featureName": "ADFIntegrationRuntimeSharingRbac",
"featureType": "Feature"
},
{
"featureName": "ADFSampleFeature",
"featureType": "Feature"
}
]
},
"api-version": "2018-06-01"
},
"responses": {
"200": {
"headers": {
"Date": "Sat, 22 Dec 2018 09:46:07 GMT",
"X-Content-Type-Options": "nosniff"
},
"body": {
"exposureControlResponses": [
{
"featureName": "ADFIntegrationRuntimeSharingRbac",
"value": "False"
},
{
"featureName": "ADFSampleFeature",
"value": "True"
}
]
}
}
}
}

0 comments on commit b2acb15

Please sign in to comment.