Package version:

Interface RestResourceDataset

A Rest service dataset.

interface RestResourceDataset {
    additionalHeaders?: {
        [propertyName: string]: any;
    };
    annotations?: any[];
    description?: string;
    folder?: DatasetFolder;
    linkedServiceName: LinkedServiceReference;
    paginationRules?: {
        [propertyName: string]: any;
    };
    parameters?: {
        [propertyName: string]: ParameterSpecification;
    };
    relativeUrl?: any;
    requestBody?: any;
    requestMethod?: any;
    schema?: any;
    structure?: any;
    type: "RestResource";
}

Hierarchy (view full)

Properties

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

The additional HTTP headers in the request to the RESTful API.

annotations?: any[]

List of tags that can be used for describing the Dataset.

description?: string

Dataset description.

folder?: DatasetFolder

The folder that this Dataset is in. If not specified, Dataset will appear at the root level.

linkedServiceName: LinkedServiceReference

Linked service reference.

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

The pagination rules to compose next page requests.

parameters?: {
    [propertyName: string]: ParameterSpecification;
}

Parameters for dataset.

relativeUrl?: any

The relative URL to the resource that the RESTful API provides. Type: string (or Expression with resultType string).

requestBody?: any

The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string).

requestMethod?: any

The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string).

schema?: any

Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.

structure?: any

Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.

type

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