Skip to content

Commit

Permalink
[DataFactory] validation activity (#5473)
Browse files Browse the repository at this point in the history
* validation activity

* adding type descriptions
  • Loading branch information
Cesar Hernandez authored and sarangan12 committed Mar 29, 2019
1 parent e54dca0 commit c1ae2be
Showing 1 changed file with 47 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3219,6 +3219,53 @@
"activities"
]
},
"ValidationActivity": {
"x-ms-discriminator-value": "Validation",
"description": "This activity verifies that an external resource exists.",
"allOf": [
{
"$ref": "#/definitions/ControlActivity"
}
],
"properties": {
"typeProperties": {
"description": "Validation activity properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/ValidationActivityTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"ValidationActivityTypeProperties": {
"description": "Validation activity properties.",
"properties": {
"timeout": {
"type": "object",
"description": "Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))."
},
"sleep": {
"type": "object",
"description": "A delay in seconds between validation attempts. If no value is specified, 10 seconds will be used as the default. Type: integer (or Expression with resultType integer)."
},
"minimumSize": {
"type": "object",
"description": "Can be used if dataset points to a file. The file must be greater than or equal in size to the value specified. Type: integer (or Expression with resultType integer)."
},
"childItems": {
"type": "object",
"description": "Can be used if dataset points to a folder. If set to true, the folder must have at least one file. If set to false, the folder must be empty. Type: boolean (or Expression with resultType boolean)."
},
"dataset": {
"description": "Validation activity dataset reference.",
"$ref": "../datafactory.json#/definitions/DatasetReference"
}
},
"required": [
"dataset"
]
},
"FilterActivity": {
"x-ms-discriminator-value": "Filter",
"description": "Filter and return results from input array based on the conditions.",
Expand Down

0 comments on commit c1ae2be

Please sign in to comment.