import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::TLS::ImportTask */ export declare function getImportTask(args: GetImportTaskArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getImportTask. */ export interface GetImportTaskArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getImportTask. */ export interface GetImportTaskResult { /** * Creation time. */ readonly createTime: string; /** * Task description. */ readonly description: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Import data source information */ readonly importSourceInfo: outputs.tls.GetImportTaskImportSourceInfo; /** * Log project ID for storing data. */ readonly projectId: string; /** * Log project name. */ readonly projectName: string; /** * Data source type. Options: tos, kafka. */ readonly sourceType: string; /** * Status of the data import task. 0: Importing. 1: Import completed. 2: Import error. 3: Stopping. 4: Stopped. 5: Restarting */ readonly status: number; /** * Output information for the data import task. */ readonly targetInfo: outputs.tls.GetImportTaskTargetInfo; /** * Import task ID. */ readonly taskId: string; /** * Import task name */ readonly taskName: string; /** * Progress of the data import task. */ readonly taskStatistics: outputs.tls.GetImportTaskTaskStatistics; /** * Log topic ID used to store data */ readonly topicId: string; /** * Log topic name. */ readonly topicName: string; } /** * Data Source schema for Volcengine::TLS::ImportTask */ export declare function getImportTaskOutput(args: GetImportTaskOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getImportTask. */ export interface GetImportTaskOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }