Package version:

Interface AzureFunctionActivity

Azure Function activity.

interface AzureFunctionActivity {
    body?: any;
    dependsOn?: ActivityDependency[];
    description?: string;
    functionName: any;
    headers?: {
        [propertyName: string]: any;
    };
    linkedServiceName?: LinkedServiceReference;
    method: string;
    name: string;
    onInactiveMarkAs?: string;
    policy?: ActivityPolicy;
    state?: string;
    type: "AzureFunctionActivity";
    userProperties?: UserProperty[];
}

Hierarchy (view full)

Properties

body?: any

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

dependsOn?: ActivityDependency[]

Activity depends on condition.

description?: string

Activity description.

functionName: any

Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string)

headers?: {
    [propertyName: string]: any;
}

Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string).

linkedServiceName?: LinkedServiceReference

Linked service reference.

method: string

Rest API method for target endpoint.

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.

Activity policy.

state?: string

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

type

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

userProperties?: UserProperty[]

Activity user properties.