Share via


ValidationActivity Class

Definition

This activity verifies that an external resource exists.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.ValidationActivity+ValidationActivityConverter))]
public class ValidationActivity : Azure.Analytics.Synapse.Artifacts.Models.ControlActivity
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.ValidationActivity+ValidationActivityConverter))>]
type ValidationActivity = class
    inherit ControlActivity
Public Class ValidationActivity
Inherits ControlActivity
Inheritance
ValidationActivity
Attributes

Constructors

ValidationActivity(String, DatasetReference)

Initializes a new instance of ValidationActivity.

Properties

AdditionalProperties

Additional Properties.

(Inherited from Activity)
ChildItems

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

Validation activity dataset reference.

DependsOn

Activity depends on condition.

(Inherited from Activity)
Description

Activity description.

(Inherited from Activity)
MinimumSize

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).

Name

Activity name.

(Inherited from Activity)
OnInactiveMarkAs

Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.

(Inherited from Activity)
Sleep

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).

State

Activity state. This is an optional property and if not provided, the state will be Active by default.

(Inherited from Activity)
Timeout

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])).

UserProperties

Activity user properties.

(Inherited from Activity)

Applies to