From c71e1ee4a0c0e848b9b5659418788b31767eec0f Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 19 Feb 2021 07:04:38 +0000 Subject: [PATCH] CodeGen from PR 12883 in Azure/azure-rest-api-specs Merge 497733c5b83b52578840daeb3f0a6c3755082898 into 5015df257c6f0f8f55e2491a5c13b6ac589c5288 --- .../Microsoft.DataFactory.json | 2 +- schemas/2018-06-01/Microsoft.DataFactory.json | 41 ++++++++++++++++++- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/schemas/2017-09-01-preview/Microsoft.DataFactory.json b/schemas/2017-09-01-preview/Microsoft.DataFactory.json index bdfc2aa0e4..51ef6d0139 100644 --- a/schemas/2017-09-01-preview/Microsoft.DataFactory.json +++ b/schemas/2017-09-01-preview/Microsoft.DataFactory.json @@ -12175,4 +12175,4 @@ "description": "Zoho server dataset." } } -} \ No newline at end of file +} diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index 93aafe80f0..48488113db 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -20382,6 +20382,17 @@ ], "description": "Definition of all parameters for an entity." }, + "policy": { + "oneOf": [ + { + "$ref": "#/definitions/PipelinePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Pipeline Policy." + }, "runDimensions": { "oneOf": [ { @@ -20416,6 +20427,17 @@ }, "description": "A data factory pipeline." }, + "PipelineElapsedTimeMetricPolicy": { + "type": "object", + "properties": { + "duration": { + "type": "object", + "properties": {}, + "description": "TimeSpan value, after which an Azure Monitoring Metric is fired." + } + }, + "description": "Pipeline ElapsedTime Metric Policy." + }, "PipelineFolder": { "type": "object", "properties": { @@ -20426,6 +20448,23 @@ }, "description": "The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level." }, + "PipelinePolicy": { + "type": "object", + "properties": { + "elapsedTimeMetric": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineElapsedTimeMetricPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Pipeline ElapsedTime Metric Policy." + } + }, + "description": "Pipeline Policy." + }, "PipelineReference": { "type": "object", "properties": { @@ -28296,4 +28335,4 @@ "description": "A copy activity Zoho server source." } } -} \ No newline at end of file +}