azure-kusto-ingest
Version:
Azure Data Explorer Ingestion SDK
20 lines • 1.1 kB
TypeScript
import { KustoConnectionStringBuilder } from "azure-kusto-data";
import { StreamDescriptor } from "./descriptors.js";
import { FileDescriptor } from "./fileDescriptor.js";
import { IngestionPropertiesInput } from "./ingestionProperties.js";
import { KustoIngestClientBase } from "./ingestClientBase.js";
import { Readable } from "stream";
import { IngestionResult } from "./ingestionResult.js";
export declare class KustoIngestClient extends KustoIngestClientBase {
constructor(kcsb: string | KustoConnectionStringBuilder, defaultProps?: IngestionPropertiesInput, autoCorrectEndpoint?: boolean);
/**
* Use string in Node.JS and Blob in browser
*/
ingestFromFile(file: FileDescriptor | string | Blob, ingestionProperties?: IngestionPropertiesInput): Promise<IngestionResult>;
/**
* Use Readable in Node.JS and ArrayBuffer in browser
*/
ingestFromStream(stream: StreamDescriptor | Readable | ArrayBuffer, ingestionProperties?: IngestionPropertiesInput): Promise<IngestionResult>;
}
export default KustoIngestClient;
//# sourceMappingURL=ingestClient.d.ts.map