From 6dc6240170bf376c2975f694e294106f5217e18b Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 30 Sep 2021 04:50:33 +0000 Subject: [PATCH] CodeGen from PR 16158 in Azure/azure-rest-api-specs [Datafactory] Power Query model changes for multiple queries (#16158) --- schemas/2018-06-01/Microsoft.DataFactory.json | 44 ++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index 7a1b2928c2..be2045ccf1 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -11633,6 +11633,20 @@ ], "description": "Integration runtime reference type." }, + "queries": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PowerQuerySinkMapping" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of mapping for Power Query mashup query to sink dataset(s)." + }, "runConcurrently": { "type": "object", "properties": {}, @@ -11651,7 +11665,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "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." }, "staging": { "oneOf": [ @@ -21786,6 +21800,30 @@ ], "description": "Power query sink." }, + "PowerQuerySinkMapping": { + "type": "object", + "properties": { + "dataflowSinks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PowerQuerySink" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of sinks mapped to Power Query mashup query." + }, + "queryName": { + "type": "string", + "description": "Name of the query in Power Query mashup document." + } + }, + "description": "Map Power Query mashup query to sink dataset(s)." + }, "PowerQuerySource": { "type": "object", "properties": { @@ -21843,6 +21881,10 @@ "PowerQueryTypeProperties": { "type": "object", "properties": { + "documentLocale": { + "type": "string", + "description": "Locale of the Power query mashup document." + }, "script": { "type": "string", "description": "Power query mashup script."