From e0256a6664538df3dd55024c8d538b60137eee31 Mon Sep 17 00:00:00 2001 From: Somasekhar Kandiboti Date: Fri, 24 Sep 2021 14:40:36 -0700 Subject: [PATCH] [Datafactory] Power Query model changes for multiple queries --- .../2018-06-01/entityTypes/DataFlow.json | 4 +++ .../2018-06-01/entityTypes/Pipeline.json | 26 ++++++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/DataFlow.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/DataFlow.json index ded95ed5803a..46f0e7e864d8 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/DataFlow.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/DataFlow.json @@ -127,6 +127,10 @@ "script": { "type": "string", "description": "Power query mashup script." + }, + "documentLocale": { + "type": "string", + "description": "Locale of the Power query mashup document." } } }, diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index 13d3ea93b24a..eb89dece017a 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -7286,10 +7286,34 @@ "properties": { "sinks": { "type": "object", - "description": "List of Power Query activity sinks mapped to a queryName.", + "description": "(Deprecated. Please use Queries). List of Power Query activity sinks mapped to a queryName.", "additionalProperties": { "$ref": "./DataFlow.json#/definitions/PowerQuerySink" } + }, + "queries": { + "type": "array", + "description": "List of mapping for Power Query mashup query to sink dataset(s).", + "items": { + "$ref": "#/definitions/PowerQuerySinkMapping" + } + } + } + }, + "PowerQuerySinkMapping": { + "description": "Map Power Query mashup query to sink dataset(s).", + "type": "object", + "properties": { + "queryName": { + "description": "Name of the query in Power Query mashup document.", + "type": "string" + }, + "dataflowSinks": { + "type": "array", + "description": "List of sinks mapped to Power Query mashup query.", + "items": { + "$ref": "./DataFlow.json#/definitions/PowerQuerySink" + } } } },