interface DataSourceBinding {
    callbackContextTemplate?: string;
    callBackRequiredTemplate?: string;
    dataSourceName?: string;
    endpointId?: string;
    endpointUrl?: string;
    initialContextTemplate?: string;
    parameters?: { [key: string]: string };
    requestContent?: string;
    requestVerb?: string;
    resultSelector?: string;
    resultTemplate?: string;
    target?: string;
}

Properties

callbackContextTemplate?: string

Pagination format supported by this data source(ContinuationToken/SkipTop).

callBackRequiredTemplate?: string

Subsequent calls needed?

dataSourceName?: string

Name of the datasource.

endpointId?: string

Endpoint ID of the datasource.

endpointUrl?: string

Endpoint URL of the datasource.

initialContextTemplate?: string

Defines the initial value of the query params

parameters?: { [key: string]: string }

Parameters of the datasource.

requestContent?: string

Gets or sets http request body

requestVerb?: string

Gets or sets http request verb

resultSelector?: string

Result selector applied on output of datasource result, for example jsonpath:$.value[?(@.properties.isEnabled == true)].

resultTemplate?: string

Format of the return results, for example. { "Value" : "{{{id}}}", "DisplayValue" : "{{{name}}}" }.

target?: string

Target of the datasource.