/* * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { ServiceClientOptions } from "@azure/ms-rest-js"; import * as msRest from "@azure/ms-rest-js"; /** * Blob dataset metadata */ export interface BlobDataSetsMetadata { /** * Blob dataset display name */ displayName?: string; /** * Blob dataset source */ source?: string; /** * Blob dataset url encoding */ urlEncoding?: string; } /** * static schema for pass-through native query execution */ export interface PassThroughNativeQuery { /** * Query language */ language?: string; } /** * Dataset */ export interface DataSet { /** * Dataset display name */ displayName?: string; /** * Dataset name */ name?: string; /** * Pass-through Native Queries * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly query?: PassThroughNativeQuery[]; } /** * List of datasets */ export interface DataSetsList { /** * List of datasets */ value?: DataSet[]; } /** * Tabular dataset metadata */ export interface TabularDataSetsMetadata { /** * Dataset display name */ displayName?: string; /** * Dataset source */ source?: string; /** * Table display name */ tableDisplayName?: string; /** * Table plural display name */ tablePluralName?: string; /** * Dataset url encoding */ urlEncoding?: string; } /** * Dataset metadata */ export interface DataSetsMetadata { blob?: BlobDataSetsMetadata; tabular?: TabularDataSetsMetadata; } /** * Table item entity */ export interface Item { dynamicProperties?: { [propertyName: string]: any }; /** * Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; } /** * List of Items */ export interface ItemsList { /** * List of Items */ value?: Item[]; } /** * Procedure */ export interface Procedure { /** * Procedure display name */ displayName?: string; /** * Procedure name */ name?: string; } /** * Represents a table. */ export interface Table { /** * The display name of the table. */ displayName?: string; /** * The name of the table. The name is used at runtime. */ name?: string; } /** * Metadata for a table (filter restrictions) */ export interface TableFilterRestrictionsMetadata { /** * Indicates whether this table has filterable columns */ filterable?: boolean; /** * List of non filterable properties */ nonFilterableProperties?: string[]; /** * List of required properties */ requiredProperties?: string[]; } /** * Metadata for a table (select restrictions) */ export interface TableSelectRestrictionsMetadata { /** * Indicates whether this table has selectable columns */ selectable?: boolean; } /** * Metadata for a table (sort restrictions) */ export interface TableSortRestrictionsMetadata { /** * List of properties which support ascending order only */ ascendingOnlyProperties?: string[]; /** * Indicates whether this table has sortable columns */ sortable?: boolean; /** * List of unsortable properties */ unsortableProperties?: string[]; } /** * Metadata for a table (capabilities) */ export interface TableCapabilitiesMetadata { /** * List of supported filter capabilities */ filterFunctionSupport?: string[]; filterRestrictions?: TableFilterRestrictionsMetadata; /** * Server paging restrictions */ isOnlyServerPagable?: boolean; selectRestrictions?: TableSelectRestrictionsMetadata; sortRestrictions?: TableSortRestrictionsMetadata; } /** * Table metadata */ export interface TableMetadata { /** * Table name */ name?: string; referencedEntities?: any; schema?: any; /** * Table title */ title?: string; /** * Url link */ webUrl?: string; xMsCapabilities?: TableCapabilitiesMetadata; /** * Table permission */ xMsPermission?: string; } /** * Represents a list of tables. */ export interface TablesList { /** * List of Tables */ value?: Table[]; } /** * An interface representing TeradataConnectorOptions. */ export interface TeradataConnectorOptions extends ServiceClientOptions { baseUri?: string; } /** * Optional Parameters. */ export interface TeradataTableDataGetItemsOptionalParams extends msRest.RequestOptionsBase { /** * An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR * numberColumn lt 123). */ filter?: string; /** * An ODATA orderBy query for specifying the order of entries. */ orderby?: string; /** * Total number of entries to retrieve (default = all). */ top?: number; /** * The number of entries to skip (default = 0). */ skip?: number; /** * Specific fields to retrieve from entries (default = all). */ select?: string; } /** * Contains response data for the getTables operation. */ export type TeradataTableGetTablesResponse = TablesList & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** * The response body as text (string format) */ bodyAsText: string; /** * The response body as parsed JSON or XML */ parsedBody: TablesList; }; }; /** * Contains response data for the getItems operation. */ export type TeradataTableDataGetItemsResponse = ItemsList & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** * The response body as text (string format) */ bodyAsText: string; /** * The response body as parsed JSON or XML */ parsedBody: ItemsList; }; }; /** * Contains response data for the postItem operation. */ export type TeradataTableDataPostItemResponse = { /** * The response body properties. */ [propertyName: string]: Item; } & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** * The response body as text (string format) */ bodyAsText: string; /** * The response body as parsed JSON or XML */ parsedBody: { [propertyName: string]: Item }; }; }; /** * Contains response data for the getItem operation. */ export type TeradataTableDataGetItemResponse = { /** * The response body properties. */ [propertyName: string]: Item; } & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** * The response body as text (string format) */ bodyAsText: string; /** * The response body as parsed JSON or XML */ parsedBody: { [propertyName: string]: Item }; }; }; /** * Contains response data for the patchItem operation. */ export type TeradataTableDataPatchItemResponse = { /** * The response body properties. */ [propertyName: string]: Item; } & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** * The response body as text (string format) */ bodyAsText: string; /** * The response body as parsed JSON or XML */ parsedBody: { [propertyName: string]: Item }; }; };