Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,54 @@
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/getFeatureValue": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the usecase for this API? Is it doing something similar to Azure Feature Exposure Control (AFEC)?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ravbhatnagar ADF doesn't use Azure Feature Exposure Control, instead we have our own implemented in our backend which controls some throttling limits and enabled disabled features for the customer, and this API is allowing the user to query for a specific value.

"post": {
"tags": [
"exposureControl"
],
"operationId": "ExposureControl_GetFeatureValue",
"x-ms-examples": {
"ExposureControl_GetFeatureValue": {
"$ref": "./examples/ExposureControl_GetFeatureValue.json"
}
},
"description": "Get exposure control feature for specific location.",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/locationId"
},
{
"$ref": "#/parameters/api-version"
},
{
"name": "exposureControlRequest",
"description": "The exposure control request.",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ExposureControlRequest"
}
}
],
"responses": {
"200": {
"description": "OK.",
"schema": {
"$ref": "#/definitions/ExposureControlResponse"
}
},
"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 @@ -4693,6 +4741,36 @@
"description": "The operation error message."
}
}
},
"ExposureControlRequest": {
"type": "object",
"description": "The exposure control request.",
"properties": {
"featureName": {
"type": "string",
"description": "The feature name."
},
"featureType": {
"type": "string",
"description": "The feature type."
}
}
},
"ExposureControlResponse": {
"type": "object",
"description": "The exposure control response.",
"properties": {
"featureName": {
"type": "string",
"description": "The feature name.",
"readOnly": true
},
"value": {
"type": "string",
"description": "The feature value.",
"readOnly": true
}
}
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-12345678abc",
"locationId": "WestEurope",
"exposureControlRequest": {
"featureName": "ADFIntegrationRuntimeSharingRbac",
"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": {
"featureName": "ADFIntegrationRuntimeSharingRbac",
"value": "False"
}
}
}
}