From b630fbb8f3473ceced4556404f4d987f85661be5 Mon Sep 17 00:00:00 2001 From: Arulnithi Date: Fri, 31 Jul 2020 17:24:24 -0700 Subject: [PATCH] fix defn --- .../stable/2018-06-01/datafactory.json | 12 ++--- ...reControl_QueryFeatureValuesByFactory.json | 44 ++++++++++--------- 2 files changed, 30 insertions(+), 26 deletions(-) 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 9e0ea5cfced3..aa26d4faab45 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 @@ -5512,12 +5512,12 @@ }, "ExposureControlBatchRequest": { "description": "A list of exposure control features.", - "type": "array", + "type": "object", "required": [ - "value" + "exposureControlRequests" ], "properties": { - "value": { + "exposureControlRequests": { "type": "array", "description": "List of exposure control features.", "items": { @@ -5542,12 +5542,12 @@ }, "ExposureControlBatchResponse": { "description": "A list of exposure control feature values.", - "type": "array", + "type": "object", "required": [ - "value" + "exposureControlResponses" ], "properties": { - "value": { + "exposureControlResponses": { "type": "array", "description": "List of exposure control feature values.", "items": { diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_QueryFeatureValuesByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_QueryFeatureValuesByFactory.json index 1c61574924d6..a546ad232dc1 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_QueryFeatureValuesByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_QueryFeatureValuesByFactory.json @@ -3,16 +3,18 @@ "subscriptionId": "12345678-1234-1234-1234-12345678abc", "resourceGroupName": "exampleResourceGroup", "factoryName": "exampleFactoryName", - "exposureControlBatchRequest": [ - { - "featureName": "ADFIntegrationRuntimeSharingRbac", - "featureType": "Feature" - }, - { - "featureName": "ADFSampleFeature", - "featureType": "Feature" - } - ], + "exposureControlBatchRequest": { + "exposureControlRequests": [ + { + "featureName": "ADFIntegrationRuntimeSharingRbac", + "featureType": "Feature" + }, + { + "featureName": "ADFSampleFeature", + "featureType": "Feature" + } + ] + }, "api-version": "2018-06-01" }, "responses": { @@ -21,16 +23,18 @@ "Date": "Sat, 22 Dec 2018 09:46:07 GMT", "X-Content-Type-Options": "nosniff" }, - "body": [ - { - "featureName": "ADFIntegrationRuntimeSharingRbac", - "value": "False" - }, - { - "featureName": "ADFSampleFeature", - "value": "True" - } - ] + "body": { + "exposureControlResponses": [ + { + "featureName": "ADFIntegrationRuntimeSharingRbac", + "value": "False" + }, + { + "featureName": "ADFSampleFeature", + "value": "True" + } + ] + } } } }