diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index 6224a1915b1d..28fe62879613 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -156,6 +156,54 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/getFeatureValue": { + "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": [ @@ -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": { diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json new file mode 100644 index 000000000000..53b0f29b7463 --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json @@ -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" + } + } + } +} \ No newline at end of file