From 2168aa685bc709b2fb090c9431804d1251c80cc8 Mon Sep 17 00:00:00 2001 From: Guosen Wang Date: Wed, 21 Apr 2021 17:09:41 +0800 Subject: [PATCH] Support custom metadata when copy to Blob or ADLS Gen2 --- .../2018-06-01/entityTypes/Pipeline.json | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) 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 d7108076fc23..9eb7bc39c4c4 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 @@ -4027,6 +4027,13 @@ "copyBehavior": { "description": "The type of copy behavior for copy sink.", "type": "object" + }, + "metadata": { + "type": "array", + "description": "Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects).", + "items": { + "$ref": "#/definitions/MetadataItem" + } } } }, @@ -4596,6 +4603,13 @@ "copyBehavior": { "description": "The type of copy behavior for copy sink.", "type": "object" + }, + "metadata": { + "type": "array", + "description": "Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects).", + "items": { + "$ref": "#/definitions/MetadataItem" + } } } }, @@ -7134,6 +7148,20 @@ "name": "NetezzaPartitionOption", "modelAsString": true } + }, + "MetadataItem": { + "description": "Specify the name and value of custom metadata item.", + "type": "object", + "properties": { + "name": { + "type": "object", + "description": "Metadata item key name. Type: string (or Expression with resultType string)." + }, + "value": { + "type": "object", + "description": "Metadata item value. Type: string (or Expression with resultType string)." + } + } } } }