UNPKG

azure-kusto-ingest

Version:
19 lines 1.13 kB
import { IngestionPropertiesInput } from "./ingestionProperties.js"; import { KustoConnectionStringBuilder, KustoResponseDataSet } from "azure-kusto-data"; import { Readable } from "stream"; import { StreamDescriptor } from "./descriptors.js"; import { FileDescriptor } from "./fileDescriptor.js"; import { KustoStreamingIngestClientBase } from "./streamingIngestClientBase.js"; declare class KustoStreamingIngestClient extends KustoStreamingIngestClientBase { constructor(kcsb: string | KustoConnectionStringBuilder, defaultProps?: IngestionPropertiesInput, autoCorrectEndpoint?: boolean); /** * Use Readable for Node.js and ArrayBuffer in browser */ ingestFromStream(stream: StreamDescriptor | Readable | ArrayBuffer, ingestionProperties?: IngestionPropertiesInput, clientRequestId?: string): Promise<any>; /** * Use string for Node.js and Blob in browser */ ingestFromFile(file: FileDescriptor | string | Blob, ingestionProperties?: IngestionPropertiesInput): Promise<KustoResponseDataSet>; } export default KustoStreamingIngestClient; //# sourceMappingURL=streamingIngestClient.d.ts.map