import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::TLS::ScheduleSqlTask */ export declare function getScheduleSqlTask(args: GetScheduleSqlTaskArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getScheduleSqlTask. */ export interface GetScheduleSqlTaskArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getScheduleSqlTask. */ export interface GetScheduleSqlTaskResult { /** * Creation time (seconds-level Unix timestamp). */ readonly createdTime: number; /** * Brief description of the scheduled SQL analysis task. Characters <>, ', \, and \ are not supported. Length: 0–64 characters. */ readonly description: string; /** * Target log project ID. */ readonly destProjectId: string; /** * Region of the target log topic. The default is the current region. */ readonly destRegion: string; /** * Target log topic ID for storing scheduled SQL analysis result data. */ readonly destTopicId: string; /** * Target log topic name. */ readonly destTopicName: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * End time for scheduling the scheduled SQL analysis task, in seconds-level timestamp format. If not configured, the scheduled SQL analysis task runs continuously. After the end time is reached, the log service will no longer create instances or execute scheduled SQL analysis, but the task status remains running until manually paused. */ readonly processEndTime: number; /** * Delay time for each schedule. Range: 0–120 seconds. If not configured, defaults to 0, meaning no delay. */ readonly processSqlDelay: number; /** * Start time for scheduling the scheduled SQL analysis task, which is the time the first instance is created. Format: seconds-level timestamp. */ readonly processStartTime: number; /** * SQL time window, which is the time range for log retrieval and analysis when scheduled SQL analysis tasks run, in left-closed, right-open format. Maximum is 24 hours, minimum is 1 minute. */ readonly processTimeWindow: string; /** * The scheduled SQL analysis task periodically executes retrieval and analysis statements, which must comply with the log service's retrieval and analysis syntax. */ readonly query: string; /** * Scheduling period for the scheduled SQL analysis task. The scheduling period determines the scheduling time for each instance. It is recommended that the scheduling period is not less than the SQL time window. */ readonly requestCycle: outputs.tls.GetScheduleSqlTaskRequestCycle; /** * Source log project ID. */ readonly sourceProjectId: string; /** * Source log project name. */ readonly sourceProjectName: string; /** * ID of the log topic containing the original logs for scheduled SQL analysis. Only log topics in the current region are supported. */ readonly sourceTopicId: string; /** * Source log topic name. */ readonly sourceTopicName: string; /** * Whether to start the scheduled SQL analysis task immediately after completing task configuration. Options: 0 Off; 1 Start immediately. */ readonly status: number; /** * Task ID. */ readonly taskId: string; /** * Name of the scheduled SQL analysis task. Refer to the resource naming rules for naming conventions. */ readonly taskName: string; /** * Task type: 0 means log to log; 1 means log to metric. */ readonly taskType: number; /** * Modification time (seconds-level Unix timestamp). */ readonly updatedTime: number; } /** * Data Source schema for Volcengine::TLS::ScheduleSqlTask */ export declare function getScheduleSqlTaskOutput(args: GetScheduleSqlTaskOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getScheduleSqlTask. */ export interface GetScheduleSqlTaskOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }