Package version:

Interface ValidationActivity

This activity verifies that an external resource exists.

interface ValidationActivity {
    childItems?: any;
    dataset: DatasetReference;
    dependsOn?: ActivityDependency[];
    description?: string;
    minimumSize?: any;
    name: string;
    onInactiveMarkAs?: string;
    sleep?: any;
    state?: string;
    timeout?: any;
    type: "Validation";
    userProperties?: UserProperty[];
}

Hierarchy (view full)

Properties

childItems?: any

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

Validation activity dataset reference.

dependsOn?: ActivityDependency[]

Activity depends on condition.

description?: string

Activity description.

minimumSize?: any

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: string

Activity name.

onInactiveMarkAs?: string

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.

sleep?: any

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?: string

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

timeout?: any

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

type

Polymorphic discriminator, which specifies the different types this object can be

userProperties?: UserProperty[]

Activity user properties.