Skip to content

Commit c00793a

Browse files
[Hub Generated] Review request for Microsoft.DataFactory to add version stable/2018-06-01 (#17189)
* Add FailActivity in swagger Pipeline.json for Azure Data Factory * Update description of FailActivity * Adding 'type:object' to FailActivity and FailActivityTypeProperties
1 parent 46a7b5a commit c00793a

File tree

1 file changed

+38
-0
lines changed
  • specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes

1 file changed

+38
-0
lines changed

specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6726,6 +6726,44 @@
67266726
"waitTimeInSeconds"
67276727
]
67286728
},
6729+
"FailActivity": {
6730+
"x-ms-discriminator-value": "Fail",
6731+
"type": "object",
6732+
"description": "This activity will fail within its own scope and output a custom error message and error code. The error message and code can provided either as a string literal or as an expression that can be evaluated to a string at runtime. The activity scope can be the whole pipeline or a control activity (e.g. foreach, switch, until), if the fail activity is contained in it.",
6733+
"allOf": [
6734+
{
6735+
"$ref": "#/definitions/ControlActivity"
6736+
}
6737+
],
6738+
"properties": {
6739+
"typeProperties": {
6740+
"description": "Fail activity properties.",
6741+
"x-ms-client-flatten": true,
6742+
"$ref": "#/definitions/FailActivityTypeProperties"
6743+
}
6744+
},
6745+
"required": [
6746+
"typeProperties"
6747+
]
6748+
},
6749+
"FailActivityTypeProperties": {
6750+
"description": "Fail activity properties.",
6751+
"type": "object",
6752+
"properties": {
6753+
"message": {
6754+
"description": "The error message that surfaced in the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string).",
6755+
"type": "object"
6756+
},
6757+
"errorCode": {
6758+
"description": "The error code that categorizes the error type of the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string).",
6759+
"type": "object"
6760+
}
6761+
},
6762+
"required": [
6763+
"message",
6764+
"errorCode"
6765+
]
6766+
},
67296767
"UntilActivity": {
67306768
"x-ms-discriminator-value": "Until",
67316769
"description": "This activity executes inner activities until the specified boolean expression results to true or timeout is reached, whichever is earlier.",

0 commit comments

Comments
 (0)