import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Log Service supports data import, allowing you to structure data stored in sources such as TOS and Kafka and save it in Log Service * * ## Import * * ```sh * $ pulumi import volcenginecc:tls/importTask:ImportTask example "task_id" * ``` */ export declare class ImportTask extends pulumi.CustomResource { /** * Get an existing ImportTask resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ImportTaskState, opts?: pulumi.CustomResourceOptions): ImportTask; /** * Returns true if the given object is an instance of ImportTask. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ImportTask; /** * Creation time. */ readonly createTime: pulumi.Output; /** * Task description. */ readonly description: pulumi.Output; /** * Import data source information */ readonly importSourceInfo: pulumi.Output; /** * Log project ID for storing data. */ readonly projectId: pulumi.Output; /** * Log project name. */ readonly projectName: pulumi.Output; /** * Data source type. Options: tos, kafka. */ readonly sourceType: pulumi.Output; /** * Status of the data import task. 0: Importing. 1: Import completed. 2: Import error. 3: Stopping. 4: Stopped. 5: Restarting */ readonly status: pulumi.Output; /** * Output information for the data import task. */ readonly targetInfo: pulumi.Output; /** * Import task ID. */ readonly taskId: pulumi.Output; /** * Import task name */ readonly taskName: pulumi.Output; /** * Progress of the data import task. */ readonly taskStatistics: pulumi.Output; /** * Log topic ID used to store data */ readonly topicId: pulumi.Output; /** * Log topic name. */ readonly topicName: pulumi.Output; /** * Create a ImportTask resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ImportTaskArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ImportTask resources. */ export interface ImportTaskState { /** * Creation time. */ createTime?: pulumi.Input; /** * Task description. */ description?: pulumi.Input; /** * Import data source information */ importSourceInfo?: pulumi.Input; /** * Log project ID for storing data. */ projectId?: pulumi.Input; /** * Log project name. */ projectName?: pulumi.Input; /** * Data source type. Options: tos, kafka. */ sourceType?: pulumi.Input; /** * Status of the data import task. 0: Importing. 1: Import completed. 2: Import error. 3: Stopping. 4: Stopped. 5: Restarting */ status?: pulumi.Input; /** * Output information for the data import task. */ targetInfo?: pulumi.Input; /** * Import task ID. */ taskId?: pulumi.Input; /** * Import task name */ taskName?: pulumi.Input; /** * Progress of the data import task. */ taskStatistics?: pulumi.Input; /** * Log topic ID used to store data */ topicId?: pulumi.Input; /** * Log topic name. */ topicName?: pulumi.Input; } /** * The set of arguments for constructing a ImportTask resource. */ export interface ImportTaskArgs { /** * Task description. */ description?: pulumi.Input; /** * Import data source information */ importSourceInfo: pulumi.Input; /** * Log project ID for storing data. */ projectId?: pulumi.Input; /** * Data source type. Options: tos, kafka. */ sourceType: pulumi.Input; /** * Status of the data import task. 0: Importing. 1: Import completed. 2: Import error. 3: Stopping. 4: Stopped. 5: Restarting */ status?: pulumi.Input; /** * Output information for the data import task. */ targetInfo: pulumi.Input; /** * Import task name */ taskName: pulumi.Input; /** * Log topic ID used to store data */ topicId: pulumi.Input; }