azure-kusto-ingest
Version:
Azure Data Explorer Ingestion SDK
18 lines • 1.14 kB
TypeScript
import { IngestionProperties, IngestionPropertiesInput } from "./ingestionProperties.js";
import { StreamDescriptor, FileDescriptorBase, BlobDescriptor } from "./descriptors.js";
export declare abstract class AbstractKustoClient {
defaultProps: IngestionProperties;
defaultDatabase?: string;
protected _isClosed: boolean;
protected constructor(defaultProps: IngestionPropertiesInput);
_getMergedProps(newProperties?: IngestionPropertiesInput): IngestionProperties;
abstract ingestFromStream(stream: StreamDescriptor, ingestionProperties: IngestionPropertiesInput): Promise<any>;
abstract ingestFromFile(file: FileDescriptorBase | string | Blob, ingestionProperties: IngestionPropertiesInput): Promise<any>;
abstract ingestFromBlob(blob: string | BlobDescriptor, ingestionProperties?: IngestionPropertiesInput): Promise<any>;
close(): void;
protected ensureOpen(): void;
getIngestionEndpoint(clusterUrl?: string): string | undefined;
getQueryEndpoint(clusterUrl?: string): string | undefined;
isReservedHostname(clusterUrl: string): boolean;
}
//# sourceMappingURL=abstractKustoClient.d.ts.map