From 1c6e567665c5c37c3fcebbff4e65d9a6379a8028 Mon Sep 17 00:00:00 2001 From: swagger-automation Date: Mon, 31 Oct 2022 09:39:14 +0000 Subject: [PATCH 1/6] [AutoSync] 3748a8ea96 add exportsettings in Snowflake source --- .../stable/2018-06-01/entityTypes/Pipeline.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 281fc3cbefd8..73adefb8758b 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 @@ -3766,7 +3766,10 @@ "$ref": "#/definitions/SnowflakeExportCopyCommand", "description": "Snowflake export settings." } - } + }, + "required":[ + "exportSettings" + ] }, "ExportSettings": { "description": "Export command settings.", From c3c99c4a04839b4c96258ff80c4e7cf86f62adce Mon Sep 17 00:00:00 2001 From: swagger-automation Date: Mon, 7 Nov 2022 05:38:07 +0000 Subject: [PATCH 2/6] [AutoSync] 8a44b7b6ca solve format problem --- .../stable/2018-06-01/entityTypes/Pipeline.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 73adefb8758b..56a886a60ec0 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 @@ -3767,7 +3767,7 @@ "description": "Snowflake export settings." } }, - "required":[ + "required": [ "exportSettings" ] }, @@ -8014,4 +8014,4 @@ ] } } -} +} \ No newline at end of file From e15b5ea17575d6dd6feded38a5e1a765b9e2a8e1 Mon Sep 17 00:00:00 2001 From: swagger-automation Date: Tue, 8 Nov 2022 06:06:18 +0000 Subject: [PATCH 3/6] [AutoSync] a4fe27d21d use npm format to solve PrettierCheck --- .../2018-06-01/entityTypes/Pipeline.json | 758 ++++-------------- 1 file changed, 167 insertions(+), 591 deletions(-) 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 56a886a60ec0..496f7ea5287b 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 @@ -31,9 +31,7 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": ["name"] }, "parameters": { "$ref": "../datafactory.json#/definitions/ParameterDefinitionSpecification", @@ -129,18 +127,13 @@ "items": { "$ref": "#/definitions/UserProperty" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": ["name"] } }, "additionalProperties": { "type": "object" }, - "required": [ - "name", - "type" - ] + "required": ["name", "type"] }, "UserProperty": { "description": "User property.", @@ -155,10 +148,7 @@ "type": "object" } }, - "required": [ - "name", - "value" - ] + "required": ["name", "value"] }, "ActivityDependency": { "description": "Activity dependency information.", @@ -173,12 +163,7 @@ "description": "Match-Condition for the dependency.", "items": { "type": "string", - "enum": [ - "Succeeded", - "Failed", - "Skipped", - "Completed" - ], + "enum": ["Succeeded", "Failed", "Skipped", "Completed"], "x-ms-enum": { "name": "DependencyCondition", "modelAsString": true @@ -189,10 +174,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "activity", - "dependencyConditions" - ] + "required": ["activity", "dependencyConditions"] }, "ControlActivity": { "x-ms-discriminator-value": "Container", @@ -275,9 +257,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "type" - ] + "required": ["type"] }, "AzureBlobStorageReadSettings": { "description": "Azure blob read settings.", @@ -966,9 +946,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "type" - ] + "required": ["type"] }, "AzureBlobStorageWriteSettings": { "description": "Azure blob write settings.", @@ -1046,9 +1024,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "type" - ] + "required": ["type"] }, "CompressionReadSettings": { "description": "Compression read settings.", @@ -1063,9 +1039,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "type" - ] + "required": ["type"] }, "ZipDeflateReadSettings": { "description": "The ZipDeflate compression read settings.", @@ -1205,9 +1179,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "type" - ] + "required": ["type"] }, "AvroWriteSettings": { "description": "Avro write settings.", @@ -1300,9 +1272,7 @@ "description": "Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string)." } }, - "required": [ - "fileExtension" - ] + "required": ["fileExtension"] }, "JsonWriteSettings": { "description": "Json write settings.", @@ -1322,10 +1292,7 @@ "JsonWriteFilePattern": { "description": "All available filePatterns.", "type": "string", - "enum": [ - "setOfObjects", - "arrayOfObjects" - ], + "enum": ["setOfObjects", "arrayOfObjects"], "x-ms-enum": { "name": "JsonWriteFilePattern", "modelAsString": true @@ -1553,9 +1520,7 @@ "items": { "$ref": "../datafactory.json#/definitions/DatasetReference" }, - "x-ms-identifiers": [ - "referenceName" - ] + "x-ms-identifiers": ["referenceName"] }, "outputs": { "type": "array", @@ -1563,14 +1528,10 @@ "items": { "$ref": "../datafactory.json#/definitions/DatasetReference" }, - "x-ms-identifiers": [ - "referenceName" - ] + "x-ms-identifiers": ["referenceName"] } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "CopyActivityTypeProperties": { "description": "Copy activity properties.", @@ -1646,10 +1607,7 @@ "$ref": "#/definitions/SkipErrorFile" } }, - "required": [ - "source", - "sink" - ] + "required": ["source", "sink"] }, "CopySource": { "discriminator": "type", @@ -1680,9 +1638,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "type" - ] + "required": ["type"] }, "BinarySource": { "description": "A copy activity Binary source.", @@ -2061,10 +2017,7 @@ "readBehavior": { "description": "The read behavior for the operation. Default is Query.", "type": "string", - "enum": [ - "Query", - "QueryAll" - ], + "enum": ["Query", "QueryAll"], "x-ms-enum": { "name": "SalesforceSourceReadBehavior", "modelAsString": true @@ -2088,10 +2041,7 @@ "readBehavior": { "description": "The read behavior for the operation. Default is Query.", "type": "string", - "enum": [ - "Query", - "QueryAll" - ], + "enum": ["Query", "QueryAll"], "x-ms-enum": { "name": "SalesforceSourceReadBehavior", "modelAsString": true @@ -2650,10 +2600,7 @@ "description": "Specifies the Distcp options. Type: string (or Expression with resultType string)." } }, - "required": [ - "resourceManagerEndpoint", - "tempScriptPath" - ] + "required": ["resourceManagerEndpoint", "tempScriptPath"] }, "AzureMySqlSource": { "description": "A copy activity Azure MySQL source.", @@ -2696,9 +2643,7 @@ "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." } }, - "required": [ - "query" - ] + "required": ["query"] }, "OracleSource": { "description": "A copy activity Oracle source.", @@ -2790,11 +2735,7 @@ }, "AmazonRdsForOraclePartitionOption": { "type": "string", - "enum": [ - "None", - "PhysicalPartitionsOfTable", - "DynamicRange" - ], + "enum": ["None", "PhysicalPartitionsOfTable", "DynamicRange"], "x-ms-enum": { "name": "AmazonRdsForOraclePartitionOption", "modelAsString": true @@ -3744,10 +3685,7 @@ "description": "The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string)." } }, - "required": [ - "s3LinkedServiceName", - "bucketName" - ] + "required": ["s3LinkedServiceName", "bucketName"] }, "SnowflakeSource": { "description": "A copy activity snowflake source.", @@ -3767,9 +3705,7 @@ "description": "Snowflake export settings." } }, - "required": [ - "exportSettings" - ] + "required": ["exportSettings"] }, "ExportSettings": { "description": "Export command settings.", @@ -3784,9 +3720,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "type" - ] + "required": ["type"] }, "SnowflakeExportCopyCommand": { "description": "Snowflake export command settings.", @@ -3906,15 +3840,7 @@ "StoredProcedureParameterType": { "description": "Stored procedure parameter type.", "type": "string", - "enum": [ - "String", - "Int", - "Int64", - "Decimal", - "Guid", - "Boolean", - "Date" - ], + "enum": ["String", "Int", "Int64", "Decimal", "Guid", "Boolean", "Date"], "x-ms-enum": { "name": "StoredProcedureParameterType", "modelAsString": true @@ -3957,9 +3883,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "type" - ] + "required": ["type"] }, "SapCloudForCustomerSink": { "description": "A copy activity SAP Cloud for Customer sink.", @@ -3973,10 +3897,7 @@ "writeBehavior": { "description": "The write behavior for the operation. Default is 'Insert'.", "type": "string", - "enum": [ - "Insert", - "Update" - ], + "enum": ["Insert", "Update"], "x-ms-enum": { "name": "SapCloudForCustomerSinkWriteBehavior", "modelAsString": true @@ -4001,11 +3922,7 @@ "CopyBehaviorType": { "description": "All available types of copy behavior.", "type": "string", - "enum": [ - "PreserveHierarchy", - "FlattenHierarchy", - "MergeFiles" - ], + "enum": ["PreserveHierarchy", "FlattenHierarchy", "MergeFiles"], "x-ms-enum": { "name": "CopyBehaviorType", "modelAsString": true @@ -4122,9 +4039,7 @@ "items": { "$ref": "#/definitions/MetadataItem" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": ["name"] } } }, @@ -4445,10 +4360,7 @@ "PolybaseSettingsRejectType": { "description": "Indicates whether the RejectValue property is specified as a literal value or a percentage.", "type": "string", - "enum": [ - "value", - "percentage" - ], + "enum": ["value", "percentage"], "x-ms-enum": { "name": "PolybaseSettingsRejectType", "modelAsString": true @@ -4464,9 +4376,7 @@ "items": { "$ref": "#/definitions/DWCopyCommandDefaultValue" }, - "x-ms-identifiers": [ - "columnName" - ] + "x-ms-identifiers": ["columnName"] }, "additionalOptions": { "type": "object", @@ -4526,11 +4436,7 @@ "SqlWriteBehaviorEnum": { "description": "Specify the write behavior when copying data into sql.", "type": "string", - "enum": [ - "Insert", - "Upsert", - "StoredProcedure" - ], + "enum": ["Insert", "Upsert", "StoredProcedure"], "x-ms-enum": { "name": "SqlWriteBehaviorEnum", "modelAsString": true @@ -4539,10 +4445,7 @@ "SqlDWWriteBehaviorEnum": { "description": "Specify the write behavior when copying data into sql dw.", "type": "string", - "enum": [ - "Insert", - "Upsert" - ], + "enum": ["Insert", "Upsert"], "x-ms-enum": { "name": "SqlDWWriteBehaviorEnum", "modelAsString": true @@ -4580,9 +4483,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "type" - ] + "required": ["type"] }, "SnowflakeImportCopyCommand": { "description": "Snowflake import command settings.", @@ -4633,9 +4534,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "linkedServiceName" - ] + "required": ["linkedServiceName"] }, "LogSettings": { "description": "Log settings.", @@ -4654,9 +4553,7 @@ "$ref": "#/definitions/LogLocationSettings" } }, - "required": [ - "logLocationSettings" - ] + "required": ["logLocationSettings"] }, "LogLocationSettings": { "description": "Log location settings.", @@ -4671,9 +4568,7 @@ "description": "The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string)." } }, - "required": [ - "linkedServiceName" - ] + "required": ["linkedServiceName"] }, "CopyActivityLogSettings": { "description": "Settings for copy activity log.", @@ -4709,9 +4604,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "linkedServiceName" - ] + "required": ["linkedServiceName"] }, "RedirectIncompatibleRowSettings": { "description": "Redirect incompatible row settings", @@ -4729,9 +4622,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "linkedServiceName" - ] + "required": ["linkedServiceName"] }, "SkipErrorFile": { "description": "Skip error file.", @@ -4814,9 +4705,7 @@ "items": { "$ref": "#/definitions/MetadataItem" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": ["name"] } } }, @@ -4832,10 +4721,7 @@ "writeBehavior": { "description": "Specify the write behavior when upserting documents into Azure Search Index.", "type": "string", - "enum": [ - "Merge", - "Upload" - ], + "enum": ["Merge", "Upload"], "x-ms-enum": { "name": "AzureSearchIndexWriteBehaviorType", "modelAsString": true @@ -4891,9 +4777,7 @@ "DynamicsSinkWriteBehavior": { "description": "Defines values for DynamicsSinkWriteBehavior.", "type": "string", - "enum": [ - "Upsert" - ], + "enum": ["Upsert"], "x-ms-enum": { "name": "DynamicsSinkWriteBehavior", "modelAsString": true @@ -4921,9 +4805,7 @@ "description": "The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string)." } }, - "required": [ - "writeBehavior" - ] + "required": ["writeBehavior"] }, "DynamicsCrmSink": { "description": "A copy activity Dynamics CRM sink.", @@ -4947,9 +4829,7 @@ "description": "The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string)." } }, - "required": [ - "writeBehavior" - ] + "required": ["writeBehavior"] }, "CommonDataServiceForAppsSink": { "description": "A copy activity Common Data Service for Apps sink.", @@ -4973,9 +4853,7 @@ "description": "The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string)." } }, - "required": [ - "writeBehavior" - ] + "required": ["writeBehavior"] }, "AzureDataExplorerSink": { "description": "A copy activity Azure Data Explorer sink.", @@ -5012,10 +4890,7 @@ "writeBehavior": { "description": "The write behavior for the operation. Default is Insert.", "type": "string", - "enum": [ - "Insert", - "Upsert" - ], + "enum": ["Insert", "Upsert"], "x-ms-enum": { "name": "SalesforceSinkWriteBehavior", "modelAsString": true @@ -5043,10 +4918,7 @@ "writeBehavior": { "description": "The write behavior for the operation. Default is Insert.", "type": "string", - "enum": [ - "Insert", - "Upsert" - ], + "enum": ["Insert", "Upsert"], "x-ms-enum": { "name": "SalesforceSinkWriteBehavior", "modelAsString": true @@ -5120,9 +4992,7 @@ "additionalProperties": { "type": "object" }, - "required": [ - "type" - ] + "required": ["type"] }, "TabularTranslator": { "description": "A copy activity tabular translator.", @@ -5208,9 +5078,7 @@ "$ref": "#/definitions/HDInsightHiveActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "HDInsightHiveActivityTypeProperties": { "description": "HDInsight Hive activity properties.", @@ -5221,9 +5089,7 @@ "items": { "$ref": "../datafactory.json#/definitions/LinkedServiceReference" }, - "x-ms-identifiers": [ - "referenceName" - ] + "x-ms-identifiers": ["referenceName"] }, "arguments": { "description": "User specified arguments to HDInsightActivity.", @@ -5272,11 +5138,7 @@ "HDInsightActivityDebugInfoOption": { "description": "The HDInsightActivityDebugInfoOption settings to use.", "type": "string", - "enum": [ - "None", - "Always", - "Failure" - ], + "enum": ["None", "Always", "Failure"], "x-ms-enum": { "name": "HDInsightActivityDebugInfoOption", "modelAsString": true @@ -5297,9 +5159,7 @@ "$ref": "#/definitions/HDInsightPigActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "HDInsightPigActivityTypeProperties": { "description": "HDInsight Pig activity properties.", @@ -5310,9 +5170,7 @@ "items": { "$ref": "../datafactory.json#/definitions/LinkedServiceReference" }, - "x-ms-identifiers": [ - "referenceName" - ] + "x-ms-identifiers": ["referenceName"] }, "arguments": { "type": "object", @@ -5355,9 +5213,7 @@ "$ref": "#/definitions/HDInsightMapReduceActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "HDInsightMapReduceActivityTypeProperties": { "description": "HDInsight MapReduce activity properties.", @@ -5368,9 +5224,7 @@ "items": { "$ref": "../datafactory.json#/definitions/LinkedServiceReference" }, - "x-ms-identifiers": [ - "referenceName" - ] + "x-ms-identifiers": ["referenceName"] }, "arguments": { "description": "User specified arguments to HDInsightActivity.", @@ -5415,10 +5269,7 @@ } } }, - "required": [ - "className", - "jarFilePath" - ] + "required": ["className", "jarFilePath"] }, "HDInsightStreamingActivity": { "description": "HDInsight streaming activity type.", @@ -5435,9 +5286,7 @@ "$ref": "#/definitions/HDInsightStreamingActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "HDInsightStreamingActivityTypeProperties": { "description": "HDInsight streaming activity properties.", @@ -5448,9 +5297,7 @@ "items": { "$ref": "../datafactory.json#/definitions/LinkedServiceReference" }, - "x-ms-identifiers": [ - "referenceName" - ] + "x-ms-identifiers": ["referenceName"] }, "arguments": { "description": "User specified arguments to HDInsightActivity.", @@ -5516,13 +5363,7 @@ } } }, - "required": [ - "mapper", - "reducer", - "input", - "output", - "filePaths" - ] + "required": ["mapper", "reducer", "input", "output", "filePaths"] }, "HDInsightSparkActivity": { "description": "HDInsight Spark activity.", @@ -5539,9 +5380,7 @@ "$ref": "#/definitions/HDInsightSparkActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "HDInsightSparkActivityTypeProperties": { "description": "HDInsight spark activity properties.", @@ -5588,10 +5427,7 @@ } } }, - "required": [ - "rootPath", - "entryFilePath" - ] + "required": ["rootPath", "entryFilePath"] }, "ExecuteSSISPackageActivity": { "description": "Execute SSIS package activity.", @@ -5608,9 +5444,7 @@ "$ref": "#/definitions/ExecuteSSISPackageActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "ExecuteSSISPackageActivityTypeProperties": { "description": "Execute SSIS package activity properties.", @@ -5679,10 +5513,7 @@ "$ref": "#/definitions/SSISLogLocation" } }, - "required": [ - "packageLocation", - "connectVia" - ] + "required": ["packageLocation", "connectVia"] }, "SSISPackageLocation": { "description": "SSIS package location.", @@ -5695,12 +5526,7 @@ "type": { "description": "The type of SSIS package location.", "type": "string", - "enum": [ - "SSISDB", - "File", - "InlinePackage", - "PackageStore" - ], + "enum": ["SSISDB", "File", "InlinePackage", "PackageStore"], "x-ms-enum": { "name": "SsisPackageLocationType", "modelAsString": true @@ -5751,10 +5577,7 @@ "items": { "$ref": "#/definitions/SSISChildPackage" }, - "x-ms-identifiers": [ - "packagePath", - "packageName" - ] + "x-ms-identifiers": ["packagePath", "packageName"] } } }, @@ -5774,9 +5597,7 @@ "description": "SSIS package execution parameter value. Type: string (or Expression with resultType string)." } }, - "required": [ - "value" - ] + "required": ["value"] }, "SSISPropertyOverride": { "description": "SSIS property override.", @@ -5791,9 +5612,7 @@ "description": "Whether SSIS package property override value is sensitive data. Value will be encrypted in SSISDB if it is true" } }, - "required": [ - "value" - ] + "required": ["value"] }, "SSISExecutionCredential": { "description": "SSIS package execution credential.", @@ -5812,11 +5631,7 @@ "description": "Password for windows authentication." } }, - "required": [ - "domain", - "userName", - "password" - ] + "required": ["domain", "userName", "password"] }, "SSISAccessCredential": { "description": "SSIS access credential.", @@ -5835,11 +5650,7 @@ "description": "Password for windows authentication." } }, - "required": [ - "domain", - "userName", - "password" - ] + "required": ["domain", "userName", "password"] }, "SSISChildPackage": { "description": "SSIS embedded child package.", @@ -5862,10 +5673,7 @@ "description": "Last modified date for embedded child package." } }, - "required": [ - "packagePath", - "packageContent" - ] + "required": ["packagePath", "packageContent"] }, "SSISLogLocation": { "description": "SSIS package execution log location", @@ -5878,9 +5686,7 @@ "type": { "description": "The type of SSIS log location.", "type": "string", - "enum": [ - "File" - ], + "enum": ["File"], "x-ms-enum": { "name": "SsisLogLocationType", "modelAsString": true @@ -5892,11 +5698,7 @@ "$ref": "#/definitions/SSISLogLocationTypeProperties" } }, - "required": [ - "logPath", - "type", - "typeProperties" - ] + "required": ["logPath", "type", "typeProperties"] }, "SSISLogLocationTypeProperties": { "description": "SSIS package execution log location properties.", @@ -5927,9 +5729,7 @@ "$ref": "#/definitions/CustomActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "CustomActivityTypeProperties": { "description": "Custom activity properties.", @@ -5967,9 +5767,7 @@ "description": "Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double)." } }, - "required": [ - "command" - ] + "required": ["command"] }, "CustomActivityReferenceObject": { "description": "Reference objects for custom activity", @@ -5980,9 +5778,7 @@ "items": { "$ref": "../datafactory.json#/definitions/LinkedServiceReference" }, - "x-ms-identifiers": [ - "referenceName" - ] + "x-ms-identifiers": ["referenceName"] }, "datasets": { "description": "Dataset references.", @@ -5990,9 +5786,7 @@ "items": { "$ref": "../datafactory.json#/definitions/DatasetReference" }, - "x-ms-identifiers": [ - "referenceName" - ] + "x-ms-identifiers": ["referenceName"] } } }, @@ -6011,10 +5805,7 @@ "$ref": "#/definitions/SqlServerStoredProcedureActivityTypeProperties" } }, - "required": [ - "typeProperties", - "linkedServiceName" - ] + "required": ["typeProperties", "linkedServiceName"] }, "SqlServerStoredProcedureActivityTypeProperties": { "description": "SQL stored procedure activity properties.", @@ -6028,9 +5819,7 @@ "type": "object" } }, - "required": [ - "storedProcedureName" - ] + "required": ["storedProcedureName"] }, "ExecutePipelineActivity": { "x-ms-discriminator-value": "ExecutePipeline", @@ -6051,9 +5840,7 @@ "$ref": "#/definitions/ExecutePipelineActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "ExecutePipelineActivityPolicy": { "description": "Execution policy for an execute pipeline activity.", @@ -6084,9 +5871,7 @@ "type": "boolean" } }, - "required": [ - "pipeline" - ] + "required": ["pipeline"] }, "DeleteActivity": { "x-ms-discriminator-value": "Delete", @@ -6103,9 +5888,7 @@ "$ref": "#/definitions/DeleteActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "DeleteActivityTypeProperties": { "description": "Delete activity properties.", @@ -6136,9 +5919,7 @@ "description": "Delete activity store settings." } }, - "required": [ - "dataset" - ] + "required": ["dataset"] }, "AzureDataExplorerCommandActivity": { "x-ms-discriminator-value": "AzureDataExplorerCommand", @@ -6155,9 +5936,7 @@ "$ref": "#/definitions/AzureDataExplorerCommandActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "AzureDataExplorerCommandActivityTypeProperties": { "description": "Azure Data Explorer command activity properties.", @@ -6171,9 +5950,7 @@ "description": "Control command timeout. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..)" } }, - "required": [ - "command" - ] + "required": ["command"] }, "LookupActivity": { "x-ms-discriminator-value": "Lookup", @@ -6190,9 +5967,7 @@ "$ref": "#/definitions/LookupActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "LookupActivityTypeProperties": { "description": "Lookup activity properties.", @@ -6210,20 +5985,12 @@ "description": "Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean)." } }, - "required": [ - "source", - "dataset" - ] + "required": ["source", "dataset"] }, "WebActivityMethod": { "description": "The list of HTTP methods supported by a WebActivity.", "type": "string", - "enum": [ - "GET", - "POST", - "PUT", - "DELETE" - ], + "enum": ["GET", "POST", "PUT", "DELETE"], "x-ms-enum": { "name": "WebActivityMethod", "modelAsString": true @@ -6244,9 +6011,7 @@ "$ref": "#/definitions/WebActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "WebActivityAuthentication": { "description": "Web activity authentication properties.", @@ -6314,9 +6079,7 @@ "items": { "$ref": "../datafactory.json#/definitions/DatasetReference" }, - "x-ms-identifiers": [ - "referenceName" - ] + "x-ms-identifiers": ["referenceName"] }, "linkedServices": { "type": "array", @@ -6324,19 +6087,14 @@ "items": { "$ref": "../datafactory.json#/definitions/LinkedServiceReference" }, - "x-ms-identifiers": [ - "referenceName" - ] + "x-ms-identifiers": ["referenceName"] }, "connectVia": { "description": "The integration runtime reference.", "$ref": "../datafactory.json#/definitions/IntegrationRuntimeReference" } }, - "required": [ - "method", - "url" - ] + "required": ["method", "url"] }, "GetMetadataActivity": { "x-ms-discriminator-value": "GetMetadata", @@ -6353,9 +6111,7 @@ "$ref": "#/definitions/GetMetadataActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "GetMetadataActivityTypeProperties": { "description": "GetMetadata activity properties.", @@ -6382,9 +6138,7 @@ "description": "GetMetadata activity format settings." } }, - "required": [ - "dataset" - ] + "required": ["dataset"] }, "IfConditionActivity": { "x-ms-discriminator-value": "IfCondition", @@ -6401,9 +6155,7 @@ "$ref": "#/definitions/IfConditionActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "IfConditionActivityTypeProperties": { "description": "IfCondition activity properties.", @@ -6418,9 +6170,7 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": ["name"] }, "ifFalseActivities": { "type": "array", @@ -6428,14 +6178,10 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": ["name"] } }, - "required": [ - "expression" - ] + "required": ["expression"] }, "SwitchActivity": { "x-ms-discriminator-value": "Switch", @@ -6452,9 +6198,7 @@ "$ref": "#/definitions/SwitchActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "SwitchActivityTypeProperties": { "description": "Switch activity properties.", @@ -6470,9 +6214,7 @@ "x-ms-client-flatten": true, "$ref": "#/definitions/SwitchCase" }, - "x-ms-identifiers": [ - "value" - ] + "x-ms-identifiers": ["value"] }, "defaultActivities": { "type": "array", @@ -6480,14 +6222,10 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": ["name"] } }, - "required": [ - "on" - ] + "required": ["on"] }, "SwitchCase": { "description": "Switch cases with have a value and corresponding activities.", @@ -6502,9 +6240,7 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": ["name"] } } }, @@ -6523,9 +6259,7 @@ "$ref": "#/definitions/ForEachActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "ForEachActivityTypeProperties": { "description": "ForEach activity properties.", @@ -6549,15 +6283,10 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": ["name"] } }, - "required": [ - "items", - "activities" - ] + "required": ["items", "activities"] }, "AzureMLBatchExecutionActivity": { "description": "Azure ML Batch Execution activity.", @@ -6574,9 +6303,7 @@ "$ref": "#/definitions/AzureMLBatchExecutionActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "AzureMLBatchExecutionActivityTypeProperties": { "description": "Azure ML Batch Execution activity properties.", @@ -6618,10 +6345,7 @@ "$ref": "../datafactory.json#/definitions/LinkedServiceReference" } }, - "required": [ - "linkedServiceName", - "filePath" - ] + "required": ["linkedServiceName", "filePath"] }, "AzureMLUpdateResourceActivity": { "description": "Azure ML Update Resource management activity.", @@ -6638,9 +6362,7 @@ "$ref": "#/definitions/AzureMLUpdateResourceActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "AzureMLUpdateResourceActivityTypeProperties": { "description": "Azure ML Update Resource activity properties.", @@ -6679,9 +6401,7 @@ "$ref": "#/definitions/AzureMLExecutePipelineActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "AzureMLExecutePipelineActivityTypeProperties": { "description": "Azure ML Execute Pipeline activity properties.", @@ -6751,9 +6471,7 @@ "$ref": "#/definitions/DataLakeAnalyticsUSQLActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "DataLakeAnalyticsUSQLActivityTypeProperties": { "description": "DataLakeAnalyticsU-SQL activity properties.", @@ -6791,10 +6509,7 @@ "description": "Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string)." } }, - "required": [ - "scriptPath", - "scriptLinkedService" - ] + "required": ["scriptPath", "scriptLinkedService"] }, "WaitActivity": { "x-ms-discriminator-value": "Wait", @@ -6811,9 +6526,7 @@ "$ref": "#/definitions/WaitActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "WaitActivityTypeProperties": { "description": "Wait activity properties.", @@ -6823,9 +6536,7 @@ "type": "object" } }, - "required": [ - "waitTimeInSeconds" - ] + "required": ["waitTimeInSeconds"] }, "FailActivity": { "x-ms-discriminator-value": "Fail", @@ -6843,9 +6554,7 @@ "$ref": "#/definitions/FailActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "FailActivityTypeProperties": { "description": "Fail activity properties.", @@ -6860,10 +6569,7 @@ "type": "object" } }, - "required": [ - "message", - "errorCode" - ] + "required": ["message", "errorCode"] }, "UntilActivity": { "x-ms-discriminator-value": "Until", @@ -6880,9 +6586,7 @@ "$ref": "#/definitions/UntilActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "UntilActivityTypeProperties": { "description": "Until activity properties.", @@ -6901,15 +6605,10 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": ["name"] } }, - "required": [ - "expression", - "activities" - ] + "required": ["expression", "activities"] }, "ValidationActivity": { "x-ms-discriminator-value": "Validation", @@ -6926,9 +6625,7 @@ "$ref": "#/definitions/ValidationActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "ValidationActivityTypeProperties": { "description": "Validation activity properties.", @@ -6954,9 +6651,7 @@ "$ref": "../datafactory.json#/definitions/DatasetReference" } }, - "required": [ - "dataset" - ] + "required": ["dataset"] }, "FilterActivity": { "x-ms-discriminator-value": "Filter", @@ -6973,9 +6668,7 @@ "$ref": "#/definitions/FilterActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "FilterActivityTypeProperties": { "description": "Filter activity properties.", @@ -6989,10 +6682,7 @@ "$ref": "../datafactory.json#/definitions/Expression" } }, - "required": [ - "condition", - "items" - ] + "required": ["condition", "items"] }, "DatabricksNotebookActivity": { "description": "DatabricksNotebook activity.", @@ -7009,9 +6699,7 @@ "$ref": "#/definitions/DatabricksNotebookActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "DatabricksNotebookActivityTypeProperties": { "description": "Databricks Notebook activity properties.", @@ -7041,9 +6729,7 @@ "x-ms-identifiers": [] } }, - "required": [ - "notebookPath" - ] + "required": ["notebookPath"] }, "DatabricksSparkJarActivity": { "description": "DatabricksSparkJar activity.", @@ -7060,9 +6746,7 @@ "$ref": "#/definitions/DatabricksSparkJarActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "DatabricksSparkJarActivityTypeProperties": { "description": "Databricks SparkJar activity properties.", @@ -7093,9 +6777,7 @@ "x-ms-identifiers": [] } }, - "required": [ - "mainClassName" - ] + "required": ["mainClassName"] }, "DatabricksSparkPythonActivity": { "description": "DatabricksSparkPython activity.", @@ -7112,9 +6794,7 @@ "$ref": "#/definitions/DatabricksSparkPythonActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "DatabricksSparkPythonActivityTypeProperties": { "description": "Databricks SparkPython activity properties.", @@ -7145,9 +6825,7 @@ "x-ms-identifiers": [] } }, - "required": [ - "pythonFile" - ] + "required": ["pythonFile"] }, "SetVariableActivity": { "x-ms-discriminator-value": "SetVariable", @@ -7164,9 +6842,7 @@ "$ref": "#/definitions/SetVariableActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "SetVariableActivityTypeProperties": { "description": "SetVariable activity properties.", @@ -7196,9 +6872,7 @@ "$ref": "#/definitions/AppendVariableActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "AppendVariableActivityTypeProperties": { "description": "AppendVariable activity properties.", @@ -7216,15 +6890,7 @@ "AzureFunctionActivityMethod": { "description": "The list of HTTP methods supported by a AzureFunctionActivity.", "type": "string", - "enum": [ - "GET", - "POST", - "PUT", - "DELETE", - "OPTIONS", - "HEAD", - "TRACE" - ], + "enum": ["GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD", "TRACE"], "x-ms-enum": { "name": "AzureFunctionActivityMethod", "modelAsString": true @@ -7245,9 +6911,7 @@ "$ref": "#/definitions/AzureFunctionActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "AzureFunctionActivityTypeProperties": { "description": "Azure Function activity type properties.", @@ -7269,10 +6933,7 @@ "description": "Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string)." } }, - "required": [ - "method", - "functionName" - ] + "required": ["method", "functionName"] }, "WebHookActivity": { "x-ms-discriminator-value": "WebHook", @@ -7289,16 +6950,12 @@ "$ref": "#/definitions/WebHookActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "WebHookActivityMethod": { "description": "The list of HTTP methods supported by a WebHook activity.", "type": "string", - "enum": [ - "POST" - ], + "enum": ["POST"], "x-ms-enum": { "name": "WebHookActivityMethod", "modelAsString": true @@ -7336,10 +6993,7 @@ "description": "When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean)." } }, - "required": [ - "method", - "url" - ] + "required": ["method", "url"] }, "ExecuteDataFlowActivity": { "description": "Execute data flow activity.", @@ -7356,9 +7010,7 @@ "$ref": "#/definitions/ExecuteDataFlowActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "ExecuteWranglingDataflowActivity": { "description": "Execute power query activity.", @@ -7380,9 +7032,7 @@ "description": "Activity policy." } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "ExecuteDataFlowActivityTypeProperties": { "description": "Execute data flow activity properties.", @@ -7430,9 +7080,7 @@ "type": "object" } }, - "required": [ - "dataFlow" - ] + "required": ["dataFlow"] }, "ExecutePowerQueryActivityTypeProperties": { "description": "Execute power query data flow activity properties.", @@ -7456,9 +7104,7 @@ "items": { "$ref": "#/definitions/PowerQuerySinkMapping" }, - "x-ms-identifiers": [ - "queryName" - ] + "x-ms-identifiers": ["queryName"] } } }, @@ -7476,9 +7122,7 @@ "items": { "$ref": "./DataFlow.json#/definitions/PowerQuerySink" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": ["name"] } } }, @@ -7498,10 +7142,7 @@ "$ref": "#/definitions/ScriptActivityTypeProperties" } }, - "required": [ - "typeProperties", - "linkedServiceName" - ] + "required": ["typeProperties", "linkedServiceName"] }, "ScriptActivityTypeProperties": { "description": "Script activity properties.", @@ -7528,10 +7169,7 @@ "name": "ScriptActivityLogDestination", "modelAsString": true }, - "enum": [ - "ActivityOutput", - "ExternalStore" - ], + "enum": ["ActivityOutput", "ExternalStore"], "type": "string", "description": "The destination of logs. Type: string." }, @@ -7540,9 +7178,7 @@ "$ref": "#/definitions/LogLocationSettings" } }, - "required": [ - "logDestination" - ] + "required": ["logDestination"] } } }, @@ -7559,10 +7195,7 @@ "name": "ScriptType", "modelAsString": true }, - "enum": [ - "Query", - "NonQuery" - ], + "enum": ["Query", "NonQuery"], "type": "string", "description": "The type of the query. Type: string." }, @@ -7572,15 +7205,10 @@ "items": { "$ref": "#/definitions/ScriptActivityParameter" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": ["name"] } }, - "required": [ - "text", - "type" - ] + "required": ["text", "type"] }, "ScriptActivityParameter": { "description": "Parameters of a script block.", @@ -7619,11 +7247,7 @@ "direction": { "description": "The direction of the parameter.", "type": "string", - "enum": [ - "Input", - "Output", - "InputOutput" - ], + "enum": ["Input", "Output", "InputOutput"], "x-ms-enum": { "name": "ScriptActivityParameterDirection", "modelAsString": true @@ -7658,11 +7282,7 @@ "SqlPartitionOption": { "description": "The partition mechanism that will be used for Sql read in parallel.", "type": "string", - "enum": [ - "None", - "PhysicalPartitionsOfTable", - "DynamicRange" - ], + "enum": ["None", "PhysicalPartitionsOfTable", "DynamicRange"], "x-ms-enum": { "name": "SqlPartitionOption", "modelAsString": true @@ -7671,11 +7291,7 @@ "SapHanaPartitionOption": { "description": "The partition mechanism that will be used for SAP HANA read in parallel.", "type": "string", - "enum": [ - "None", - "PhysicalPartitionsOfTable", - "SapHanaDynamicRange" - ], + "enum": ["None", "PhysicalPartitionsOfTable", "SapHanaDynamicRange"], "x-ms-enum": { "name": "SapHanaPartitionOption", "modelAsString": true @@ -7700,11 +7316,7 @@ "OraclePartitionOption": { "description": "The partition mechanism that will be used for Oracle read in parallel.", "type": "string", - "enum": [ - "None", - "PhysicalPartitionsOfTable", - "DynamicRange" - ], + "enum": ["None", "PhysicalPartitionsOfTable", "DynamicRange"], "x-ms-enum": { "name": "OraclePartitionOption", "modelAsString": true @@ -7713,11 +7325,7 @@ "TeradataPartitionOption": { "description": "The partition mechanism that will be used for teradata read in parallel.", "type": "string", - "enum": [ - "None", - "Hash", - "DynamicRange" - ], + "enum": ["None", "Hash", "DynamicRange"], "x-ms-enum": { "name": "TeradataPartitionOption", "modelAsString": true @@ -7726,11 +7334,7 @@ "NetezzaPartitionOption": { "description": "The partition mechanism that will be used for Netezza read in parallel.", "type": "string", - "enum": [ - "None", - "DataSlice", - "DynamicRange" - ], + "enum": ["None", "DataSlice", "DynamicRange"], "x-ms-enum": { "name": "NetezzaPartitionOption", "modelAsString": true @@ -7766,9 +7370,7 @@ "$ref": "#/definitions/SynapseNotebookActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "SynapseNotebookActivityTypeProperties": { "description": "Execute Synapse notebook activity properties.", @@ -7807,9 +7409,7 @@ "format": "int32" } }, - "required": [ - "notebook" - ] + "required": ["notebook"] }, "SynapseNotebookReference": { "description": "Synapse notebook reference type.", @@ -7818,9 +7418,7 @@ "type": { "type": "string", "description": "Synapse notebook reference type.", - "enum": [ - "NotebookReference" - ], + "enum": ["NotebookReference"], "x-ms-enum": { "name": "NotebookReferenceType", "modelAsString": true @@ -7831,10 +7429,7 @@ "description": "Reference notebook name. Type: string (or Expression with resultType string)." } }, - "required": [ - "type", - "referenceName" - ] + "required": ["type", "referenceName"] }, "BigDataPoolParametrizationReference": { "description": "Big data pool reference type.", @@ -7843,9 +7438,7 @@ "type": { "type": "string", "description": "Big data pool reference type.", - "enum": [ - "BigDataPoolReference" - ], + "enum": ["BigDataPoolReference"], "x-ms-enum": { "name": "BigDataPoolReferenceType", "modelAsString": true @@ -7856,10 +7449,7 @@ "description": "Reference big data pool name. Type: string (or Expression with resultType string)." } }, - "required": [ - "type", - "referenceName" - ] + "required": ["type", "referenceName"] }, "NotebookParameter": { "description": "Notebook parameter.", @@ -7879,12 +7469,7 @@ "NotebookParameterType": { "description": "Notebook parameter type.", "type": "string", - "enum": [ - "string", - "int", - "float", - "bool" - ], + "enum": ["string", "int", "float", "bool"], "x-ms-enum": { "name": "NotebookParameterType", "modelAsString": true @@ -7906,9 +7491,7 @@ "$ref": "#/definitions/SynapseSparkJobActivityTypeProperties" } }, - "required": [ - "typeProperties" - ] + "required": ["typeProperties"] }, "SynapseSparkJobActivityTypeProperties": { "description": "Execute spark job activity properties.", @@ -7984,9 +7567,7 @@ "format": "int32" } }, - "required": [ - "sparkJob" - ] + "required": ["sparkJob"] }, "SynapseSparkJobReference": { "description": "Synapse spark job reference type.", @@ -7995,9 +7576,7 @@ "type": { "type": "string", "description": "Synapse spark job reference type.", - "enum": [ - "SparkJobDefinitionReference" - ], + "enum": ["SparkJobDefinitionReference"], "x-ms-enum": { "name": "SparkJobReferenceType", "modelAsString": true @@ -8008,10 +7587,7 @@ "description": "Reference spark job name. Expression with resultType string." } }, - "required": [ - "type", - "referenceName" - ] + "required": ["type", "referenceName"] } } -} \ No newline at end of file +} From d9a02aa86025d2fa0b1ceffb70fe315d393dc9f2 Mon Sep 17 00:00:00 2001 From: Lei Ni Date: Tue, 8 Nov 2022 14:58:39 +0800 Subject: [PATCH 4/6] prettier fix --- .../2018-06-01/entityTypes/Pipeline.json | 756 ++++++++++++++---- 1 file changed, 590 insertions(+), 166 deletions(-) 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 496f7ea5287b..aa195fbdbcc4 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 @@ -31,7 +31,9 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "parameters": { "$ref": "../datafactory.json#/definitions/ParameterDefinitionSpecification", @@ -127,13 +129,18 @@ "items": { "$ref": "#/definitions/UserProperty" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } }, "additionalProperties": { "type": "object" }, - "required": ["name", "type"] + "required": [ + "name", + "type" + ] }, "UserProperty": { "description": "User property.", @@ -148,7 +155,10 @@ "type": "object" } }, - "required": ["name", "value"] + "required": [ + "name", + "value" + ] }, "ActivityDependency": { "description": "Activity dependency information.", @@ -163,7 +173,12 @@ "description": "Match-Condition for the dependency.", "items": { "type": "string", - "enum": ["Succeeded", "Failed", "Skipped", "Completed"], + "enum": [ + "Succeeded", + "Failed", + "Skipped", + "Completed" + ], "x-ms-enum": { "name": "DependencyCondition", "modelAsString": true @@ -174,7 +189,10 @@ "additionalProperties": { "type": "object" }, - "required": ["activity", "dependencyConditions"] + "required": [ + "activity", + "dependencyConditions" + ] }, "ControlActivity": { "x-ms-discriminator-value": "Container", @@ -257,7 +275,9 @@ "additionalProperties": { "type": "object" }, - "required": ["type"] + "required": [ + "type" + ] }, "AzureBlobStorageReadSettings": { "description": "Azure blob read settings.", @@ -946,7 +966,9 @@ "additionalProperties": { "type": "object" }, - "required": ["type"] + "required": [ + "type" + ] }, "AzureBlobStorageWriteSettings": { "description": "Azure blob write settings.", @@ -1024,7 +1046,9 @@ "additionalProperties": { "type": "object" }, - "required": ["type"] + "required": [ + "type" + ] }, "CompressionReadSettings": { "description": "Compression read settings.", @@ -1039,7 +1063,9 @@ "additionalProperties": { "type": "object" }, - "required": ["type"] + "required": [ + "type" + ] }, "ZipDeflateReadSettings": { "description": "The ZipDeflate compression read settings.", @@ -1179,7 +1205,9 @@ "additionalProperties": { "type": "object" }, - "required": ["type"] + "required": [ + "type" + ] }, "AvroWriteSettings": { "description": "Avro write settings.", @@ -1272,7 +1300,9 @@ "description": "Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string)." } }, - "required": ["fileExtension"] + "required": [ + "fileExtension" + ] }, "JsonWriteSettings": { "description": "Json write settings.", @@ -1292,7 +1322,10 @@ "JsonWriteFilePattern": { "description": "All available filePatterns.", "type": "string", - "enum": ["setOfObjects", "arrayOfObjects"], + "enum": [ + "setOfObjects", + "arrayOfObjects" + ], "x-ms-enum": { "name": "JsonWriteFilePattern", "modelAsString": true @@ -1520,7 +1553,9 @@ "items": { "$ref": "../datafactory.json#/definitions/DatasetReference" }, - "x-ms-identifiers": ["referenceName"] + "x-ms-identifiers": [ + "referenceName" + ] }, "outputs": { "type": "array", @@ -1528,10 +1563,14 @@ "items": { "$ref": "../datafactory.json#/definitions/DatasetReference" }, - "x-ms-identifiers": ["referenceName"] + "x-ms-identifiers": [ + "referenceName" + ] } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "CopyActivityTypeProperties": { "description": "Copy activity properties.", @@ -1607,7 +1646,10 @@ "$ref": "#/definitions/SkipErrorFile" } }, - "required": ["source", "sink"] + "required": [ + "source", + "sink" + ] }, "CopySource": { "discriminator": "type", @@ -1638,7 +1680,9 @@ "additionalProperties": { "type": "object" }, - "required": ["type"] + "required": [ + "type" + ] }, "BinarySource": { "description": "A copy activity Binary source.", @@ -2017,7 +2061,10 @@ "readBehavior": { "description": "The read behavior for the operation. Default is Query.", "type": "string", - "enum": ["Query", "QueryAll"], + "enum": [ + "Query", + "QueryAll" + ], "x-ms-enum": { "name": "SalesforceSourceReadBehavior", "modelAsString": true @@ -2041,7 +2088,10 @@ "readBehavior": { "description": "The read behavior for the operation. Default is Query.", "type": "string", - "enum": ["Query", "QueryAll"], + "enum": [ + "Query", + "QueryAll" + ], "x-ms-enum": { "name": "SalesforceSourceReadBehavior", "modelAsString": true @@ -2600,7 +2650,10 @@ "description": "Specifies the Distcp options. Type: string (or Expression with resultType string)." } }, - "required": ["resourceManagerEndpoint", "tempScriptPath"] + "required": [ + "resourceManagerEndpoint", + "tempScriptPath" + ] }, "AzureMySqlSource": { "description": "A copy activity Azure MySQL source.", @@ -2643,7 +2696,9 @@ "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." } }, - "required": ["query"] + "required": [ + "query" + ] }, "OracleSource": { "description": "A copy activity Oracle source.", @@ -2735,7 +2790,11 @@ }, "AmazonRdsForOraclePartitionOption": { "type": "string", - "enum": ["None", "PhysicalPartitionsOfTable", "DynamicRange"], + "enum": [ + "None", + "PhysicalPartitionsOfTable", + "DynamicRange" + ], "x-ms-enum": { "name": "AmazonRdsForOraclePartitionOption", "modelAsString": true @@ -3685,7 +3744,10 @@ "description": "The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string)." } }, - "required": ["s3LinkedServiceName", "bucketName"] + "required": [ + "s3LinkedServiceName", + "bucketName" + ] }, "SnowflakeSource": { "description": "A copy activity snowflake source.", @@ -3705,7 +3767,9 @@ "description": "Snowflake export settings." } }, - "required": ["exportSettings"] + "required": [ + "exportSettings" + ] }, "ExportSettings": { "description": "Export command settings.", @@ -3720,7 +3784,9 @@ "additionalProperties": { "type": "object" }, - "required": ["type"] + "required": [ + "type" + ] }, "SnowflakeExportCopyCommand": { "description": "Snowflake export command settings.", @@ -3840,7 +3906,15 @@ "StoredProcedureParameterType": { "description": "Stored procedure parameter type.", "type": "string", - "enum": ["String", "Int", "Int64", "Decimal", "Guid", "Boolean", "Date"], + "enum": [ + "String", + "Int", + "Int64", + "Decimal", + "Guid", + "Boolean", + "Date" + ], "x-ms-enum": { "name": "StoredProcedureParameterType", "modelAsString": true @@ -3883,7 +3957,9 @@ "additionalProperties": { "type": "object" }, - "required": ["type"] + "required": [ + "type" + ] }, "SapCloudForCustomerSink": { "description": "A copy activity SAP Cloud for Customer sink.", @@ -3897,7 +3973,10 @@ "writeBehavior": { "description": "The write behavior for the operation. Default is 'Insert'.", "type": "string", - "enum": ["Insert", "Update"], + "enum": [ + "Insert", + "Update" + ], "x-ms-enum": { "name": "SapCloudForCustomerSinkWriteBehavior", "modelAsString": true @@ -3922,7 +4001,11 @@ "CopyBehaviorType": { "description": "All available types of copy behavior.", "type": "string", - "enum": ["PreserveHierarchy", "FlattenHierarchy", "MergeFiles"], + "enum": [ + "PreserveHierarchy", + "FlattenHierarchy", + "MergeFiles" + ], "x-ms-enum": { "name": "CopyBehaviorType", "modelAsString": true @@ -4039,7 +4122,9 @@ "items": { "$ref": "#/definitions/MetadataItem" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -4360,7 +4445,10 @@ "PolybaseSettingsRejectType": { "description": "Indicates whether the RejectValue property is specified as a literal value or a percentage.", "type": "string", - "enum": ["value", "percentage"], + "enum": [ + "value", + "percentage" + ], "x-ms-enum": { "name": "PolybaseSettingsRejectType", "modelAsString": true @@ -4376,7 +4464,9 @@ "items": { "$ref": "#/definitions/DWCopyCommandDefaultValue" }, - "x-ms-identifiers": ["columnName"] + "x-ms-identifiers": [ + "columnName" + ] }, "additionalOptions": { "type": "object", @@ -4436,7 +4526,11 @@ "SqlWriteBehaviorEnum": { "description": "Specify the write behavior when copying data into sql.", "type": "string", - "enum": ["Insert", "Upsert", "StoredProcedure"], + "enum": [ + "Insert", + "Upsert", + "StoredProcedure" + ], "x-ms-enum": { "name": "SqlWriteBehaviorEnum", "modelAsString": true @@ -4445,7 +4539,10 @@ "SqlDWWriteBehaviorEnum": { "description": "Specify the write behavior when copying data into sql dw.", "type": "string", - "enum": ["Insert", "Upsert"], + "enum": [ + "Insert", + "Upsert" + ], "x-ms-enum": { "name": "SqlDWWriteBehaviorEnum", "modelAsString": true @@ -4483,7 +4580,9 @@ "additionalProperties": { "type": "object" }, - "required": ["type"] + "required": [ + "type" + ] }, "SnowflakeImportCopyCommand": { "description": "Snowflake import command settings.", @@ -4534,7 +4633,9 @@ "additionalProperties": { "type": "object" }, - "required": ["linkedServiceName"] + "required": [ + "linkedServiceName" + ] }, "LogSettings": { "description": "Log settings.", @@ -4553,7 +4654,9 @@ "$ref": "#/definitions/LogLocationSettings" } }, - "required": ["logLocationSettings"] + "required": [ + "logLocationSettings" + ] }, "LogLocationSettings": { "description": "Log location settings.", @@ -4568,7 +4671,9 @@ "description": "The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string)." } }, - "required": ["linkedServiceName"] + "required": [ + "linkedServiceName" + ] }, "CopyActivityLogSettings": { "description": "Settings for copy activity log.", @@ -4604,7 +4709,9 @@ "additionalProperties": { "type": "object" }, - "required": ["linkedServiceName"] + "required": [ + "linkedServiceName" + ] }, "RedirectIncompatibleRowSettings": { "description": "Redirect incompatible row settings", @@ -4622,7 +4729,9 @@ "additionalProperties": { "type": "object" }, - "required": ["linkedServiceName"] + "required": [ + "linkedServiceName" + ] }, "SkipErrorFile": { "description": "Skip error file.", @@ -4705,7 +4814,9 @@ "items": { "$ref": "#/definitions/MetadataItem" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -4721,7 +4832,10 @@ "writeBehavior": { "description": "Specify the write behavior when upserting documents into Azure Search Index.", "type": "string", - "enum": ["Merge", "Upload"], + "enum": [ + "Merge", + "Upload" + ], "x-ms-enum": { "name": "AzureSearchIndexWriteBehaviorType", "modelAsString": true @@ -4777,7 +4891,9 @@ "DynamicsSinkWriteBehavior": { "description": "Defines values for DynamicsSinkWriteBehavior.", "type": "string", - "enum": ["Upsert"], + "enum": [ + "Upsert" + ], "x-ms-enum": { "name": "DynamicsSinkWriteBehavior", "modelAsString": true @@ -4805,7 +4921,9 @@ "description": "The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string)." } }, - "required": ["writeBehavior"] + "required": [ + "writeBehavior" + ] }, "DynamicsCrmSink": { "description": "A copy activity Dynamics CRM sink.", @@ -4829,7 +4947,9 @@ "description": "The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string)." } }, - "required": ["writeBehavior"] + "required": [ + "writeBehavior" + ] }, "CommonDataServiceForAppsSink": { "description": "A copy activity Common Data Service for Apps sink.", @@ -4853,7 +4973,9 @@ "description": "The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string)." } }, - "required": ["writeBehavior"] + "required": [ + "writeBehavior" + ] }, "AzureDataExplorerSink": { "description": "A copy activity Azure Data Explorer sink.", @@ -4890,7 +5012,10 @@ "writeBehavior": { "description": "The write behavior for the operation. Default is Insert.", "type": "string", - "enum": ["Insert", "Upsert"], + "enum": [ + "Insert", + "Upsert" + ], "x-ms-enum": { "name": "SalesforceSinkWriteBehavior", "modelAsString": true @@ -4918,7 +5043,10 @@ "writeBehavior": { "description": "The write behavior for the operation. Default is Insert.", "type": "string", - "enum": ["Insert", "Upsert"], + "enum": [ + "Insert", + "Upsert" + ], "x-ms-enum": { "name": "SalesforceSinkWriteBehavior", "modelAsString": true @@ -4992,7 +5120,9 @@ "additionalProperties": { "type": "object" }, - "required": ["type"] + "required": [ + "type" + ] }, "TabularTranslator": { "description": "A copy activity tabular translator.", @@ -5078,7 +5208,9 @@ "$ref": "#/definitions/HDInsightHiveActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "HDInsightHiveActivityTypeProperties": { "description": "HDInsight Hive activity properties.", @@ -5089,7 +5221,9 @@ "items": { "$ref": "../datafactory.json#/definitions/LinkedServiceReference" }, - "x-ms-identifiers": ["referenceName"] + "x-ms-identifiers": [ + "referenceName" + ] }, "arguments": { "description": "User specified arguments to HDInsightActivity.", @@ -5138,7 +5272,11 @@ "HDInsightActivityDebugInfoOption": { "description": "The HDInsightActivityDebugInfoOption settings to use.", "type": "string", - "enum": ["None", "Always", "Failure"], + "enum": [ + "None", + "Always", + "Failure" + ], "x-ms-enum": { "name": "HDInsightActivityDebugInfoOption", "modelAsString": true @@ -5159,7 +5297,9 @@ "$ref": "#/definitions/HDInsightPigActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "HDInsightPigActivityTypeProperties": { "description": "HDInsight Pig activity properties.", @@ -5170,7 +5310,9 @@ "items": { "$ref": "../datafactory.json#/definitions/LinkedServiceReference" }, - "x-ms-identifiers": ["referenceName"] + "x-ms-identifiers": [ + "referenceName" + ] }, "arguments": { "type": "object", @@ -5213,7 +5355,9 @@ "$ref": "#/definitions/HDInsightMapReduceActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "HDInsightMapReduceActivityTypeProperties": { "description": "HDInsight MapReduce activity properties.", @@ -5224,7 +5368,9 @@ "items": { "$ref": "../datafactory.json#/definitions/LinkedServiceReference" }, - "x-ms-identifiers": ["referenceName"] + "x-ms-identifiers": [ + "referenceName" + ] }, "arguments": { "description": "User specified arguments to HDInsightActivity.", @@ -5269,7 +5415,10 @@ } } }, - "required": ["className", "jarFilePath"] + "required": [ + "className", + "jarFilePath" + ] }, "HDInsightStreamingActivity": { "description": "HDInsight streaming activity type.", @@ -5286,7 +5435,9 @@ "$ref": "#/definitions/HDInsightStreamingActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "HDInsightStreamingActivityTypeProperties": { "description": "HDInsight streaming activity properties.", @@ -5297,7 +5448,9 @@ "items": { "$ref": "../datafactory.json#/definitions/LinkedServiceReference" }, - "x-ms-identifiers": ["referenceName"] + "x-ms-identifiers": [ + "referenceName" + ] }, "arguments": { "description": "User specified arguments to HDInsightActivity.", @@ -5363,7 +5516,13 @@ } } }, - "required": ["mapper", "reducer", "input", "output", "filePaths"] + "required": [ + "mapper", + "reducer", + "input", + "output", + "filePaths" + ] }, "HDInsightSparkActivity": { "description": "HDInsight Spark activity.", @@ -5380,7 +5539,9 @@ "$ref": "#/definitions/HDInsightSparkActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "HDInsightSparkActivityTypeProperties": { "description": "HDInsight spark activity properties.", @@ -5427,7 +5588,10 @@ } } }, - "required": ["rootPath", "entryFilePath"] + "required": [ + "rootPath", + "entryFilePath" + ] }, "ExecuteSSISPackageActivity": { "description": "Execute SSIS package activity.", @@ -5444,7 +5608,9 @@ "$ref": "#/definitions/ExecuteSSISPackageActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "ExecuteSSISPackageActivityTypeProperties": { "description": "Execute SSIS package activity properties.", @@ -5513,7 +5679,10 @@ "$ref": "#/definitions/SSISLogLocation" } }, - "required": ["packageLocation", "connectVia"] + "required": [ + "packageLocation", + "connectVia" + ] }, "SSISPackageLocation": { "description": "SSIS package location.", @@ -5526,7 +5695,12 @@ "type": { "description": "The type of SSIS package location.", "type": "string", - "enum": ["SSISDB", "File", "InlinePackage", "PackageStore"], + "enum": [ + "SSISDB", + "File", + "InlinePackage", + "PackageStore" + ], "x-ms-enum": { "name": "SsisPackageLocationType", "modelAsString": true @@ -5577,7 +5751,10 @@ "items": { "$ref": "#/definitions/SSISChildPackage" }, - "x-ms-identifiers": ["packagePath", "packageName"] + "x-ms-identifiers": [ + "packagePath", + "packageName" + ] } } }, @@ -5597,7 +5774,9 @@ "description": "SSIS package execution parameter value. Type: string (or Expression with resultType string)." } }, - "required": ["value"] + "required": [ + "value" + ] }, "SSISPropertyOverride": { "description": "SSIS property override.", @@ -5612,7 +5791,9 @@ "description": "Whether SSIS package property override value is sensitive data. Value will be encrypted in SSISDB if it is true" } }, - "required": ["value"] + "required": [ + "value" + ] }, "SSISExecutionCredential": { "description": "SSIS package execution credential.", @@ -5631,7 +5812,11 @@ "description": "Password for windows authentication." } }, - "required": ["domain", "userName", "password"] + "required": [ + "domain", + "userName", + "password" + ] }, "SSISAccessCredential": { "description": "SSIS access credential.", @@ -5650,7 +5835,11 @@ "description": "Password for windows authentication." } }, - "required": ["domain", "userName", "password"] + "required": [ + "domain", + "userName", + "password" + ] }, "SSISChildPackage": { "description": "SSIS embedded child package.", @@ -5673,7 +5862,10 @@ "description": "Last modified date for embedded child package." } }, - "required": ["packagePath", "packageContent"] + "required": [ + "packagePath", + "packageContent" + ] }, "SSISLogLocation": { "description": "SSIS package execution log location", @@ -5686,7 +5878,9 @@ "type": { "description": "The type of SSIS log location.", "type": "string", - "enum": ["File"], + "enum": [ + "File" + ], "x-ms-enum": { "name": "SsisLogLocationType", "modelAsString": true @@ -5698,7 +5892,11 @@ "$ref": "#/definitions/SSISLogLocationTypeProperties" } }, - "required": ["logPath", "type", "typeProperties"] + "required": [ + "logPath", + "type", + "typeProperties" + ] }, "SSISLogLocationTypeProperties": { "description": "SSIS package execution log location properties.", @@ -5729,7 +5927,9 @@ "$ref": "#/definitions/CustomActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "CustomActivityTypeProperties": { "description": "Custom activity properties.", @@ -5767,7 +5967,9 @@ "description": "Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double)." } }, - "required": ["command"] + "required": [ + "command" + ] }, "CustomActivityReferenceObject": { "description": "Reference objects for custom activity", @@ -5778,7 +5980,9 @@ "items": { "$ref": "../datafactory.json#/definitions/LinkedServiceReference" }, - "x-ms-identifiers": ["referenceName"] + "x-ms-identifiers": [ + "referenceName" + ] }, "datasets": { "description": "Dataset references.", @@ -5786,7 +5990,9 @@ "items": { "$ref": "../datafactory.json#/definitions/DatasetReference" }, - "x-ms-identifiers": ["referenceName"] + "x-ms-identifiers": [ + "referenceName" + ] } } }, @@ -5805,7 +6011,10 @@ "$ref": "#/definitions/SqlServerStoredProcedureActivityTypeProperties" } }, - "required": ["typeProperties", "linkedServiceName"] + "required": [ + "typeProperties", + "linkedServiceName" + ] }, "SqlServerStoredProcedureActivityTypeProperties": { "description": "SQL stored procedure activity properties.", @@ -5819,7 +6028,9 @@ "type": "object" } }, - "required": ["storedProcedureName"] + "required": [ + "storedProcedureName" + ] }, "ExecutePipelineActivity": { "x-ms-discriminator-value": "ExecutePipeline", @@ -5840,7 +6051,9 @@ "$ref": "#/definitions/ExecutePipelineActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "ExecutePipelineActivityPolicy": { "description": "Execution policy for an execute pipeline activity.", @@ -5871,7 +6084,9 @@ "type": "boolean" } }, - "required": ["pipeline"] + "required": [ + "pipeline" + ] }, "DeleteActivity": { "x-ms-discriminator-value": "Delete", @@ -5888,7 +6103,9 @@ "$ref": "#/definitions/DeleteActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "DeleteActivityTypeProperties": { "description": "Delete activity properties.", @@ -5919,7 +6136,9 @@ "description": "Delete activity store settings." } }, - "required": ["dataset"] + "required": [ + "dataset" + ] }, "AzureDataExplorerCommandActivity": { "x-ms-discriminator-value": "AzureDataExplorerCommand", @@ -5936,7 +6155,9 @@ "$ref": "#/definitions/AzureDataExplorerCommandActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "AzureDataExplorerCommandActivityTypeProperties": { "description": "Azure Data Explorer command activity properties.", @@ -5950,7 +6171,9 @@ "description": "Control command timeout. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..)" } }, - "required": ["command"] + "required": [ + "command" + ] }, "LookupActivity": { "x-ms-discriminator-value": "Lookup", @@ -5967,7 +6190,9 @@ "$ref": "#/definitions/LookupActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "LookupActivityTypeProperties": { "description": "Lookup activity properties.", @@ -5985,12 +6210,20 @@ "description": "Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean)." } }, - "required": ["source", "dataset"] + "required": [ + "source", + "dataset" + ] }, "WebActivityMethod": { "description": "The list of HTTP methods supported by a WebActivity.", "type": "string", - "enum": ["GET", "POST", "PUT", "DELETE"], + "enum": [ + "GET", + "POST", + "PUT", + "DELETE" + ], "x-ms-enum": { "name": "WebActivityMethod", "modelAsString": true @@ -6011,7 +6244,9 @@ "$ref": "#/definitions/WebActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "WebActivityAuthentication": { "description": "Web activity authentication properties.", @@ -6079,7 +6314,9 @@ "items": { "$ref": "../datafactory.json#/definitions/DatasetReference" }, - "x-ms-identifiers": ["referenceName"] + "x-ms-identifiers": [ + "referenceName" + ] }, "linkedServices": { "type": "array", @@ -6087,14 +6324,19 @@ "items": { "$ref": "../datafactory.json#/definitions/LinkedServiceReference" }, - "x-ms-identifiers": ["referenceName"] + "x-ms-identifiers": [ + "referenceName" + ] }, "connectVia": { "description": "The integration runtime reference.", "$ref": "../datafactory.json#/definitions/IntegrationRuntimeReference" } }, - "required": ["method", "url"] + "required": [ + "method", + "url" + ] }, "GetMetadataActivity": { "x-ms-discriminator-value": "GetMetadata", @@ -6111,7 +6353,9 @@ "$ref": "#/definitions/GetMetadataActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "GetMetadataActivityTypeProperties": { "description": "GetMetadata activity properties.", @@ -6138,7 +6382,9 @@ "description": "GetMetadata activity format settings." } }, - "required": ["dataset"] + "required": [ + "dataset" + ] }, "IfConditionActivity": { "x-ms-discriminator-value": "IfCondition", @@ -6155,7 +6401,9 @@ "$ref": "#/definitions/IfConditionActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "IfConditionActivityTypeProperties": { "description": "IfCondition activity properties.", @@ -6170,7 +6418,9 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "ifFalseActivities": { "type": "array", @@ -6178,10 +6428,14 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } }, - "required": ["expression"] + "required": [ + "expression" + ] }, "SwitchActivity": { "x-ms-discriminator-value": "Switch", @@ -6198,7 +6452,9 @@ "$ref": "#/definitions/SwitchActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "SwitchActivityTypeProperties": { "description": "Switch activity properties.", @@ -6214,7 +6470,9 @@ "x-ms-client-flatten": true, "$ref": "#/definitions/SwitchCase" }, - "x-ms-identifiers": ["value"] + "x-ms-identifiers": [ + "value" + ] }, "defaultActivities": { "type": "array", @@ -6222,10 +6480,14 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } }, - "required": ["on"] + "required": [ + "on" + ] }, "SwitchCase": { "description": "Switch cases with have a value and corresponding activities.", @@ -6240,7 +6502,9 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -6259,7 +6523,9 @@ "$ref": "#/definitions/ForEachActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "ForEachActivityTypeProperties": { "description": "ForEach activity properties.", @@ -6283,10 +6549,15 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } }, - "required": ["items", "activities"] + "required": [ + "items", + "activities" + ] }, "AzureMLBatchExecutionActivity": { "description": "Azure ML Batch Execution activity.", @@ -6303,7 +6574,9 @@ "$ref": "#/definitions/AzureMLBatchExecutionActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "AzureMLBatchExecutionActivityTypeProperties": { "description": "Azure ML Batch Execution activity properties.", @@ -6345,7 +6618,10 @@ "$ref": "../datafactory.json#/definitions/LinkedServiceReference" } }, - "required": ["linkedServiceName", "filePath"] + "required": [ + "linkedServiceName", + "filePath" + ] }, "AzureMLUpdateResourceActivity": { "description": "Azure ML Update Resource management activity.", @@ -6362,7 +6638,9 @@ "$ref": "#/definitions/AzureMLUpdateResourceActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "AzureMLUpdateResourceActivityTypeProperties": { "description": "Azure ML Update Resource activity properties.", @@ -6401,7 +6679,9 @@ "$ref": "#/definitions/AzureMLExecutePipelineActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "AzureMLExecutePipelineActivityTypeProperties": { "description": "Azure ML Execute Pipeline activity properties.", @@ -6471,7 +6751,9 @@ "$ref": "#/definitions/DataLakeAnalyticsUSQLActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "DataLakeAnalyticsUSQLActivityTypeProperties": { "description": "DataLakeAnalyticsU-SQL activity properties.", @@ -6509,7 +6791,10 @@ "description": "Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string)." } }, - "required": ["scriptPath", "scriptLinkedService"] + "required": [ + "scriptPath", + "scriptLinkedService" + ] }, "WaitActivity": { "x-ms-discriminator-value": "Wait", @@ -6526,7 +6811,9 @@ "$ref": "#/definitions/WaitActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "WaitActivityTypeProperties": { "description": "Wait activity properties.", @@ -6536,7 +6823,9 @@ "type": "object" } }, - "required": ["waitTimeInSeconds"] + "required": [ + "waitTimeInSeconds" + ] }, "FailActivity": { "x-ms-discriminator-value": "Fail", @@ -6554,7 +6843,9 @@ "$ref": "#/definitions/FailActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "FailActivityTypeProperties": { "description": "Fail activity properties.", @@ -6569,7 +6860,10 @@ "type": "object" } }, - "required": ["message", "errorCode"] + "required": [ + "message", + "errorCode" + ] }, "UntilActivity": { "x-ms-discriminator-value": "Until", @@ -6586,7 +6880,9 @@ "$ref": "#/definitions/UntilActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "UntilActivityTypeProperties": { "description": "Until activity properties.", @@ -6605,10 +6901,15 @@ "items": { "$ref": "#/definitions/Activity" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } }, - "required": ["expression", "activities"] + "required": [ + "expression", + "activities" + ] }, "ValidationActivity": { "x-ms-discriminator-value": "Validation", @@ -6625,7 +6926,9 @@ "$ref": "#/definitions/ValidationActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "ValidationActivityTypeProperties": { "description": "Validation activity properties.", @@ -6651,7 +6954,9 @@ "$ref": "../datafactory.json#/definitions/DatasetReference" } }, - "required": ["dataset"] + "required": [ + "dataset" + ] }, "FilterActivity": { "x-ms-discriminator-value": "Filter", @@ -6668,7 +6973,9 @@ "$ref": "#/definitions/FilterActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "FilterActivityTypeProperties": { "description": "Filter activity properties.", @@ -6682,7 +6989,10 @@ "$ref": "../datafactory.json#/definitions/Expression" } }, - "required": ["condition", "items"] + "required": [ + "condition", + "items" + ] }, "DatabricksNotebookActivity": { "description": "DatabricksNotebook activity.", @@ -6699,7 +7009,9 @@ "$ref": "#/definitions/DatabricksNotebookActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "DatabricksNotebookActivityTypeProperties": { "description": "Databricks Notebook activity properties.", @@ -6729,7 +7041,9 @@ "x-ms-identifiers": [] } }, - "required": ["notebookPath"] + "required": [ + "notebookPath" + ] }, "DatabricksSparkJarActivity": { "description": "DatabricksSparkJar activity.", @@ -6746,7 +7060,9 @@ "$ref": "#/definitions/DatabricksSparkJarActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "DatabricksSparkJarActivityTypeProperties": { "description": "Databricks SparkJar activity properties.", @@ -6777,7 +7093,9 @@ "x-ms-identifiers": [] } }, - "required": ["mainClassName"] + "required": [ + "mainClassName" + ] }, "DatabricksSparkPythonActivity": { "description": "DatabricksSparkPython activity.", @@ -6794,7 +7112,9 @@ "$ref": "#/definitions/DatabricksSparkPythonActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "DatabricksSparkPythonActivityTypeProperties": { "description": "Databricks SparkPython activity properties.", @@ -6825,7 +7145,9 @@ "x-ms-identifiers": [] } }, - "required": ["pythonFile"] + "required": [ + "pythonFile" + ] }, "SetVariableActivity": { "x-ms-discriminator-value": "SetVariable", @@ -6842,7 +7164,9 @@ "$ref": "#/definitions/SetVariableActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "SetVariableActivityTypeProperties": { "description": "SetVariable activity properties.", @@ -6872,7 +7196,9 @@ "$ref": "#/definitions/AppendVariableActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "AppendVariableActivityTypeProperties": { "description": "AppendVariable activity properties.", @@ -6890,7 +7216,15 @@ "AzureFunctionActivityMethod": { "description": "The list of HTTP methods supported by a AzureFunctionActivity.", "type": "string", - "enum": ["GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD", "TRACE"], + "enum": [ + "GET", + "POST", + "PUT", + "DELETE", + "OPTIONS", + "HEAD", + "TRACE" + ], "x-ms-enum": { "name": "AzureFunctionActivityMethod", "modelAsString": true @@ -6911,7 +7245,9 @@ "$ref": "#/definitions/AzureFunctionActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "AzureFunctionActivityTypeProperties": { "description": "Azure Function activity type properties.", @@ -6933,7 +7269,10 @@ "description": "Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string)." } }, - "required": ["method", "functionName"] + "required": [ + "method", + "functionName" + ] }, "WebHookActivity": { "x-ms-discriminator-value": "WebHook", @@ -6950,12 +7289,16 @@ "$ref": "#/definitions/WebHookActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "WebHookActivityMethod": { "description": "The list of HTTP methods supported by a WebHook activity.", "type": "string", - "enum": ["POST"], + "enum": [ + "POST" + ], "x-ms-enum": { "name": "WebHookActivityMethod", "modelAsString": true @@ -6993,7 +7336,10 @@ "description": "When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean)." } }, - "required": ["method", "url"] + "required": [ + "method", + "url" + ] }, "ExecuteDataFlowActivity": { "description": "Execute data flow activity.", @@ -7010,7 +7356,9 @@ "$ref": "#/definitions/ExecuteDataFlowActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "ExecuteWranglingDataflowActivity": { "description": "Execute power query activity.", @@ -7032,7 +7380,9 @@ "description": "Activity policy." } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "ExecuteDataFlowActivityTypeProperties": { "description": "Execute data flow activity properties.", @@ -7080,7 +7430,9 @@ "type": "object" } }, - "required": ["dataFlow"] + "required": [ + "dataFlow" + ] }, "ExecutePowerQueryActivityTypeProperties": { "description": "Execute power query data flow activity properties.", @@ -7104,7 +7456,9 @@ "items": { "$ref": "#/definitions/PowerQuerySinkMapping" }, - "x-ms-identifiers": ["queryName"] + "x-ms-identifiers": [ + "queryName" + ] } } }, @@ -7122,7 +7476,9 @@ "items": { "$ref": "./DataFlow.json#/definitions/PowerQuerySink" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -7142,7 +7498,10 @@ "$ref": "#/definitions/ScriptActivityTypeProperties" } }, - "required": ["typeProperties", "linkedServiceName"] + "required": [ + "typeProperties", + "linkedServiceName" + ] }, "ScriptActivityTypeProperties": { "description": "Script activity properties.", @@ -7169,7 +7528,10 @@ "name": "ScriptActivityLogDestination", "modelAsString": true }, - "enum": ["ActivityOutput", "ExternalStore"], + "enum": [ + "ActivityOutput", + "ExternalStore" + ], "type": "string", "description": "The destination of logs. Type: string." }, @@ -7178,7 +7540,9 @@ "$ref": "#/definitions/LogLocationSettings" } }, - "required": ["logDestination"] + "required": [ + "logDestination" + ] } } }, @@ -7195,7 +7559,10 @@ "name": "ScriptType", "modelAsString": true }, - "enum": ["Query", "NonQuery"], + "enum": [ + "Query", + "NonQuery" + ], "type": "string", "description": "The type of the query. Type: string." }, @@ -7205,10 +7572,15 @@ "items": { "$ref": "#/definitions/ScriptActivityParameter" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } }, - "required": ["text", "type"] + "required": [ + "text", + "type" + ] }, "ScriptActivityParameter": { "description": "Parameters of a script block.", @@ -7247,7 +7619,11 @@ "direction": { "description": "The direction of the parameter.", "type": "string", - "enum": ["Input", "Output", "InputOutput"], + "enum": [ + "Input", + "Output", + "InputOutput" + ], "x-ms-enum": { "name": "ScriptActivityParameterDirection", "modelAsString": true @@ -7282,7 +7658,11 @@ "SqlPartitionOption": { "description": "The partition mechanism that will be used for Sql read in parallel.", "type": "string", - "enum": ["None", "PhysicalPartitionsOfTable", "DynamicRange"], + "enum": [ + "None", + "PhysicalPartitionsOfTable", + "DynamicRange" + ], "x-ms-enum": { "name": "SqlPartitionOption", "modelAsString": true @@ -7291,7 +7671,11 @@ "SapHanaPartitionOption": { "description": "The partition mechanism that will be used for SAP HANA read in parallel.", "type": "string", - "enum": ["None", "PhysicalPartitionsOfTable", "SapHanaDynamicRange"], + "enum": [ + "None", + "PhysicalPartitionsOfTable", + "SapHanaDynamicRange" + ], "x-ms-enum": { "name": "SapHanaPartitionOption", "modelAsString": true @@ -7316,7 +7700,11 @@ "OraclePartitionOption": { "description": "The partition mechanism that will be used for Oracle read in parallel.", "type": "string", - "enum": ["None", "PhysicalPartitionsOfTable", "DynamicRange"], + "enum": [ + "None", + "PhysicalPartitionsOfTable", + "DynamicRange" + ], "x-ms-enum": { "name": "OraclePartitionOption", "modelAsString": true @@ -7325,7 +7713,11 @@ "TeradataPartitionOption": { "description": "The partition mechanism that will be used for teradata read in parallel.", "type": "string", - "enum": ["None", "Hash", "DynamicRange"], + "enum": [ + "None", + "Hash", + "DynamicRange" + ], "x-ms-enum": { "name": "TeradataPartitionOption", "modelAsString": true @@ -7334,7 +7726,11 @@ "NetezzaPartitionOption": { "description": "The partition mechanism that will be used for Netezza read in parallel.", "type": "string", - "enum": ["None", "DataSlice", "DynamicRange"], + "enum": [ + "None", + "DataSlice", + "DynamicRange" + ], "x-ms-enum": { "name": "NetezzaPartitionOption", "modelAsString": true @@ -7370,7 +7766,9 @@ "$ref": "#/definitions/SynapseNotebookActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "SynapseNotebookActivityTypeProperties": { "description": "Execute Synapse notebook activity properties.", @@ -7409,7 +7807,9 @@ "format": "int32" } }, - "required": ["notebook"] + "required": [ + "notebook" + ] }, "SynapseNotebookReference": { "description": "Synapse notebook reference type.", @@ -7418,7 +7818,9 @@ "type": { "type": "string", "description": "Synapse notebook reference type.", - "enum": ["NotebookReference"], + "enum": [ + "NotebookReference" + ], "x-ms-enum": { "name": "NotebookReferenceType", "modelAsString": true @@ -7429,7 +7831,10 @@ "description": "Reference notebook name. Type: string (or Expression with resultType string)." } }, - "required": ["type", "referenceName"] + "required": [ + "type", + "referenceName" + ] }, "BigDataPoolParametrizationReference": { "description": "Big data pool reference type.", @@ -7438,7 +7843,9 @@ "type": { "type": "string", "description": "Big data pool reference type.", - "enum": ["BigDataPoolReference"], + "enum": [ + "BigDataPoolReference" + ], "x-ms-enum": { "name": "BigDataPoolReferenceType", "modelAsString": true @@ -7449,7 +7856,10 @@ "description": "Reference big data pool name. Type: string (or Expression with resultType string)." } }, - "required": ["type", "referenceName"] + "required": [ + "type", + "referenceName" + ] }, "NotebookParameter": { "description": "Notebook parameter.", @@ -7469,7 +7879,12 @@ "NotebookParameterType": { "description": "Notebook parameter type.", "type": "string", - "enum": ["string", "int", "float", "bool"], + "enum": [ + "string", + "int", + "float", + "bool" + ], "x-ms-enum": { "name": "NotebookParameterType", "modelAsString": true @@ -7491,7 +7906,9 @@ "$ref": "#/definitions/SynapseSparkJobActivityTypeProperties" } }, - "required": ["typeProperties"] + "required": [ + "typeProperties" + ] }, "SynapseSparkJobActivityTypeProperties": { "description": "Execute spark job activity properties.", @@ -7567,7 +7984,9 @@ "format": "int32" } }, - "required": ["sparkJob"] + "required": [ + "sparkJob" + ] }, "SynapseSparkJobReference": { "description": "Synapse spark job reference type.", @@ -7576,7 +7995,9 @@ "type": { "type": "string", "description": "Synapse spark job reference type.", - "enum": ["SparkJobDefinitionReference"], + "enum": [ + "SparkJobDefinitionReference" + ], "x-ms-enum": { "name": "SparkJobReferenceType", "modelAsString": true @@ -7587,7 +8008,10 @@ "description": "Reference spark job name. Expression with resultType string." } }, - "required": ["type", "referenceName"] + "required": [ + "type", + "referenceName" + ] } } } From 244ba7ba90a0a901941ebd62c26b298fed188381 Mon Sep 17 00:00:00 2001 From: swagger-automation Date: Tue, 8 Nov 2022 07:15:03 +0000 Subject: [PATCH 5/6] [AutoSync] 1fb0e7f779 prettier fix --- .../stable/2018-06-01/datafactory.json | 251 ++++++++++++++++++ .../2018-06-01/entityTypes/Pipeline.json | 2 +- .../examples/Credentials_Create.json | 41 +++ .../examples/Credentials_Delete.json | 13 + .../2018-06-01/examples/Credentials_Get.json | 35 +++ .../examples/Credentials_ListByFactory.json | 36 +++ 6 files changed, 377 insertions(+), 1 deletion(-) create mode 100644 specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Create.json create mode 100644 specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Delete.json create mode 100644 specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json create mode 100644 specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_ListByFactory.json 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 ade09e6b910b..02d042c6fddb 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 @@ -3962,6 +3962,208 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials": { + "get": { + "tags": [ + "credentials" + ], + "operationId": "CredentialOperations_ListByFactory", + "x-ms-examples": { + "Credentials_ListByFactory": { + "$ref": "./examples/Credentials_ListByFactory.json" + } + }, + "description": "List credentials.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/CredentialListResponse" + } + }, + "default": { + "description": "An error response received from the Azure Data Factory service.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials/{credentialName}": { + "put": { + "tags": [ + "credentials" + ], + "operationId": "CredentialOperations_CreateOrUpdate", + "x-ms-examples": { + "Credentials_Create": { + "$ref": "./examples/Credentials_Create.json" + } + }, + "description": "Creates or updates a credential.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/credentialName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "ETag of the credential entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update." + }, + { + "name": "credential", + "description": "Credential resource definition.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedIdentityCredentialResource" + } + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/ManagedIdentityCredentialResource" + } + }, + "default": { + "description": "An error response received from PUT credential operation.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "get": { + "tags": [ + "credentials" + ], + "operationId": "CredentialOperations_Get", + "x-ms-examples": { + "Credentials_Get": { + "$ref": "./examples/Credentials_Get.json" + } + }, + "description": "Gets a credential.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/credentialName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "ETag of the credential entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned." + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/ManagedIdentityCredentialResource" + } + }, + "304": { + "description": "Not modified." + }, + "default": { + "description": "An error response received from GET credential operation.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "credentials" + ], + "operationId": "CredentialOperations_Delete", + "x-ms-examples": { + "Credentials_Delete": { + "$ref": "./examples/Credentials_Delete.json" + } + }, + "description": "Deletes a credential.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/credentialName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK." + }, + "204": { + "description": "No Content." + }, + "default": { + "description": "An error response received from DELETE credential operation.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}": { "put": { "tags": [ @@ -7052,6 +7254,26 @@ } } }, + "CredentialListResponse": { + "description": "A list of credential resources.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of credentials.", + "items": { + "$ref": "#/definitions/ManagedIdentityCredentialResource" + } + }, + "nextLink": { + "description": "The link to the next page of results, if any remaining results exist.", + "type": "string" + } + } + }, "ManagedPrivateEndpointResource": { "description": "Managed private endpoint resource type.", "allOf": [ @@ -7069,6 +7291,24 @@ "properties" ] }, + "ManagedIdentityCredentialResource": { + "description": "Credential resource type.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ], + "properties": { + "properties": { + "$ref": "./entityTypes/Credential.json#/definitions/ManagedIdentityCredential", + "description": "Managed Identity Credential properties." + } + }, + "required": [ + "properties" + ] + }, "ManagedVirtualNetworkListResponse": { "description": "A list of managed Virtual Network resources.", "type": "object", @@ -7486,6 +7726,17 @@ "maxLength": 127, "x-ms-parameter-location": "method" }, + "credentialName": { + "name": "credentialName", + "description": "Credential name", + "in": "path", + "required": true, + "type": "string", + "pattern": "^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$", + "minLength": 1, + "maxLength": 127, + "x-ms-parameter-location": "method" + }, "managedPrivateEndpointName": { "name": "managedPrivateEndpointName", "description": "Managed private endpoint name", 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 aa195fbdbcc4..56a886a60ec0 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 @@ -8014,4 +8014,4 @@ ] } } -} +} \ No newline at end of file diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Create.json new file mode 100644 index 000000000000..ad330a9197d2 --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Create.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "credentialName": "exampleCredential", + "ifMatch": null, + "credential": { + "properties": { + "type": "ManagedIdentity", + "typeProperties": { + "resourceId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourcegroups/exampleResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleUami" + } + } + }, + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Sat, 16 Jun 2018 00:37:34 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "b3b336b3-b203-4654-9cb6-a3a8d3a4b5de", + "x-ms-correlation-request-id": "b3b336b3-b203-4654-9cb6-a3a8d3a4b5de" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/credentials/exampleCredential", + "name": "exampleCredential", + "type": "Microsoft.DataFactory/factories/credentials", + "properties": { + "type": "ManagedIdentity", + "typeProperties": { + "resourceId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourcegroups/exampleResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleUami" + } + }, + "etag": "0a0062d4-0000-0000-0000-5b245bcf0000" + } + } + } +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Delete.json new file mode 100644 index 000000000000..541ad628a34a --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "credentialName": "exampleCredential", + "api-version": "2018-06-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json new file mode 100644 index 000000000000..84e2e7dea5c0 --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "credentialName": "exampleCredential", + "ifNoneMatch": "1500474f-0000-0200-0000-5cbe090d0000", + "api-version": "2018-06-01" + }, + "responses": { + "304": {}, + "200": { + "headers": { + "Date": "Mon, 22 Apr 2019 18:33:48 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "99e5d0d9-55e6-45a0-8bd2-cf39210f317c", + "x-ms-correlation-request-id": "99e5d0d9-55e6-45a0-8bd2-cf39210f317c" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/credentials/exampleCredential", + "name": "exampleLinkedService", + "type": "Microsoft.DataFactory/factories/credentials", + "properties": { + "type": "ManagedIdentity", + "typeProperties": { + "resourceId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourcegroups/exampleResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleUami" + }, + "description": "Example description" + }, + "etag": "1500474f-0000-0200-0000-5cbe090d0000" + } + } + } +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_ListByFactory.json new file mode 100644 index 000000000000..74ca580ca3e8 --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_ListByFactory.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Sat, 16 Jun 2018 00:37:36 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14994", + "x-ms-request-id": "558d0fd8-dc1f-44b6-9ca9-59fcca8af9a5", + "x-ms-correlation-request-id": "558d0fd8-dc1f-44b6-9ca9-59fcca8af9a5" + }, + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/credentials/exampleCredential", + "name": "exampleLinkedService", + "type": "Microsoft.DataFactory/factories/credentials", + "properties": { + "type": "ManagedIdentity", + "typeProperties": { + "resourceId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourcegroups/exampleResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleUami" + }, + "description": "Example description" + }, + "etag": "0a0064d4-0000-0000-0000-5b245bd00000" + } + ] + } + } + } +} From 0f91ab3539fd9588df8548db54b34af146616553 Mon Sep 17 00:00:00 2001 From: swagger-automation Date: Wed, 9 Nov 2022 03:30:28 +0000 Subject: [PATCH 6/6] [AutoSync] b3c6f34cf8 add black line at the end of the file --- .../stable/2018-06-01/entityTypes/Pipeline.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 56a886a60ec0..aa195fbdbcc4 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 @@ -8014,4 +8014,4 @@ ] } } -} \ No newline at end of file +}