Volcengine v0.0.33 published on Monday, Jun 30, 2025 by Volcengine
volcengine.tls.ScheduleSqlTasks
Explore with Pulumi AI
Deprecated: volcengine.tls.ScheduleSqlTasks has been deprecated in favor of volcengine.tls.getScheduleSqlTasks
Use this data source to query detailed information of tls schedule sql tasks
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.tls.getScheduleSqlTasks({});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tls.get_schedule_sql_tasks()
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tls.GetScheduleSqlTasks(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Tls.GetScheduleSqlTasks.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.tls.TlsFunctions;
import com.pulumi.volcengine.tls.inputs.GetScheduleSqlTasksArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = TlsFunctions.getScheduleSqlTasks();
}
}
variables:
default:
fn::invoke:
Function: volcengine:tls:getScheduleSqlTasks
Arguments: {}
Using ScheduleSqlTasks
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function scheduleSqlTasks(args: ScheduleSqlTasksArgs, opts?: InvokeOptions): Promise<ScheduleSqlTasksResult>
function scheduleSqlTasksOutput(args: ScheduleSqlTasksOutputArgs, opts?: InvokeOptions): Output<ScheduleSqlTasksResult>
def schedule_sql_tasks(iam_project_name: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
project_id: Optional[str] = None,
project_name: Optional[str] = None,
source_topic_name: Optional[str] = None,
status: Optional[str] = None,
task_id: Optional[str] = None,
task_name: Optional[str] = None,
topic_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ScheduleSqlTasksResult
def schedule_sql_tasks_output(iam_project_name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
source_topic_name: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
task_id: Optional[pulumi.Input[str]] = None,
task_name: Optional[pulumi.Input[str]] = None,
topic_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ScheduleSqlTasksResult]
func ScheduleSqlTasks(ctx *Context, args *ScheduleSqlTasksArgs, opts ...InvokeOption) (*ScheduleSqlTasksResult, error)
func ScheduleSqlTasksOutput(ctx *Context, args *ScheduleSqlTasksOutputArgs, opts ...InvokeOption) ScheduleSqlTasksResultOutput
public static class ScheduleSqlTasks
{
public static Task<ScheduleSqlTasksResult> InvokeAsync(ScheduleSqlTasksArgs args, InvokeOptions? opts = null)
public static Output<ScheduleSqlTasksResult> Invoke(ScheduleSqlTasksInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ScheduleSqlTasksResult> scheduleSqlTasks(ScheduleSqlTasksArgs args, InvokeOptions options)
public static Output<ScheduleSqlTasksResult> scheduleSqlTasks(ScheduleSqlTasksArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls:ScheduleSqlTasks
arguments:
# arguments dictionary
The following arguments are supported:
- Iam
Project stringName - IAM log project name.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Id string - The log project ID to which the source log topic belongs.
- Project
Name string - The name of the log item to which the source log topic belongs.
- Source
Topic stringName - Source log topic name.
- Status string
- Timed SQL analysis task status.
- Task
Id string - Timed SQL analysis task ID.
- Task
Name string - Timed SQL analysis task name.
- Topic
Id string - Source log topic ID.
- Iam
Project stringName - IAM log project name.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Id string - The log project ID to which the source log topic belongs.
- Project
Name string - The name of the log item to which the source log topic belongs.
- Source
Topic stringName - Source log topic name.
- Status string
- Timed SQL analysis task status.
- Task
Id string - Timed SQL analysis task ID.
- Task
Name string - Timed SQL analysis task name.
- Topic
Id string - Source log topic ID.
- iam
Project StringName - IAM log project name.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Id String - The log project ID to which the source log topic belongs.
- project
Name String - The name of the log item to which the source log topic belongs.
- source
Topic StringName - Source log topic name.
- status String
- Timed SQL analysis task status.
- task
Id String - Timed SQL analysis task ID.
- task
Name String - Timed SQL analysis task name.
- topic
Id String - Source log topic ID.
- iam
Project stringName - IAM log project name.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- project
Id string - The log project ID to which the source log topic belongs.
- project
Name string - The name of the log item to which the source log topic belongs.
- source
Topic stringName - Source log topic name.
- status string
- Timed SQL analysis task status.
- task
Id string - Timed SQL analysis task ID.
- task
Name string - Timed SQL analysis task name.
- topic
Id string - Source log topic ID.
- iam_
project_ strname - IAM log project name.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- project_
id str - The log project ID to which the source log topic belongs.
- project_
name str - The name of the log item to which the source log topic belongs.
- source_
topic_ strname - Source log topic name.
- status str
- Timed SQL analysis task status.
- task_
id str - Timed SQL analysis task ID.
- task_
name str - Timed SQL analysis task name.
- topic_
id str - Source log topic ID.
- iam
Project StringName - IAM log project name.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Id String - The log project ID to which the source log topic belongs.
- project
Name String - The name of the log item to which the source log topic belongs.
- source
Topic StringName - Source log topic name.
- status String
- Timed SQL analysis task status.
- task
Id String - Timed SQL analysis task ID.
- task
Name String - Timed SQL analysis task name.
- topic
Id String - Source log topic ID.
ScheduleSqlTasks Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Tasks
List<Schedule
Sql Tasks Task> - The List of timed SQL analysis tasks.
- Total
Count int - The total count of query.
- Iam
Project stringName - Name
Regex string - Output
File string - Project
Id string - Project
Name string - Source
Topic stringName - The name of the source log topic where the original log for timed SQL analysis is located.
- Status string
- Whether to start the scheduled SQL analysis task immediately after completing the task configuration.
- Task
Id string - Timed SQL analysis task ID.
- Task
Name string - Timed SQL analysis task name.
- Topic
Id string
- Id string
- The provider-assigned unique ID for this managed resource.
- Tasks
[]Schedule
Sql Tasks Task - The List of timed SQL analysis tasks.
- Total
Count int - The total count of query.
- Iam
Project stringName - Name
Regex string - Output
File string - Project
Id string - Project
Name string - Source
Topic stringName - The name of the source log topic where the original log for timed SQL analysis is located.
- Status string
- Whether to start the scheduled SQL analysis task immediately after completing the task configuration.
- Task
Id string - Timed SQL analysis task ID.
- Task
Name string - Timed SQL analysis task name.
- Topic
Id string
- id String
- The provider-assigned unique ID for this managed resource.
- tasks
List<Schedule
Sql Tasks Task> - The List of timed SQL analysis tasks.
- total
Count Integer - The total count of query.
- iam
Project StringName - name
Regex String - output
File String - project
Id String - project
Name String - source
Topic StringName - The name of the source log topic where the original log for timed SQL analysis is located.
- status String
- Whether to start the scheduled SQL analysis task immediately after completing the task configuration.
- task
Id String - Timed SQL analysis task ID.
- task
Name String - Timed SQL analysis task name.
- topic
Id String
- id string
- The provider-assigned unique ID for this managed resource.
- tasks
Schedule
Sql Tasks Task[] - The List of timed SQL analysis tasks.
- total
Count number - The total count of query.
- iam
Project stringName - name
Regex string - output
File string - project
Id string - project
Name string - source
Topic stringName - The name of the source log topic where the original log for timed SQL analysis is located.
- status string
- Whether to start the scheduled SQL analysis task immediately after completing the task configuration.
- task
Id string - Timed SQL analysis task ID.
- task
Name string - Timed SQL analysis task name.
- topic
Id string
- id str
- The provider-assigned unique ID for this managed resource.
- tasks
Sequence[Schedule
Sql Tasks Task] - The List of timed SQL analysis tasks.
- total_
count int - The total count of query.
- iam_
project_ strname - name_
regex str - output_
file str - project_
id str - project_
name str - source_
topic_ strname - The name of the source log topic where the original log for timed SQL analysis is located.
- status str
- Whether to start the scheduled SQL analysis task immediately after completing the task configuration.
- task_
id str - Timed SQL analysis task ID.
- task_
name str - Timed SQL analysis task name.
- topic_
id str
- id String
- The provider-assigned unique ID for this managed resource.
- tasks List<Property Map>
- The List of timed SQL analysis tasks.
- total
Count Number - The total count of query.
- iam
Project StringName - name
Regex String - output
File String - project
Id String - project
Name String - source
Topic StringName - The name of the source log topic where the original log for timed SQL analysis is located.
- status String
- Whether to start the scheduled SQL analysis task immediately after completing the task configuration.
- task
Id String - Timed SQL analysis task ID.
- task
Name String - Timed SQL analysis task name.
- topic
Id String
Supporting Types
ScheduleSqlTasksTask
- Create
Time intStamp - Set the creation time of timed SQL analysis tasks.
- Description string
- A simple description of the timed SQL analysis task.
- Dest
Project stringId - The log project ID to which the target log topic belongs.
- Dest
Region string - The region to which the target log project belongs.
- Dest
Topic stringId - The target log topic ID used for storing the result data of timed SQL analysis.
- Dest
Topic stringName - The name of the target log topic used for storing the data of the timed SQL analysis results.
- Modify
Time intStamp - The most recent modification time of the scheduled SQL analysis task.
- Process
End intTime - Schedule the end time of the timed SQL analysis task in the format of a second-level timestamp.
- Process
Sql intDelay - The delay time of each scheduling. The value range is from 0 to 120, and the unit is seconds.
- Process
Start intTime - The start time of the scheduled SQL task, that is, the start time when the first instance is scheduled. The format is a timestamp at the second level.
- Process
Time stringWindow - SQL time window, which refers to the time range for log retrieval and analysis when a timed SQL analysis task is running, is in a left-closed and right-open format.
- Query string
- Timed SQL analysis tasks are retrieval and analysis statements that are executed regularly.
- Request
Cycle ScheduleSql Tasks Task Request Cycle - The scheduling cycle of timed SQL analysis tasks.
- Source
Project stringId - The log project ID to which the source log topic belongs.
- Source
Project stringName - The name of the log item to which the source log topic belongs.
- Source
Topic stringId - The source log topic ID where the original log for timed SQL analysis is located.
- Source
Topic stringName - Source log topic name.
- Status int
- Timed SQL analysis task status.
- Task
Id string - Timed SQL analysis task ID.
- Task
Name string - Timed SQL analysis task name.
- Create
Time intStamp - Set the creation time of timed SQL analysis tasks.
- Description string
- A simple description of the timed SQL analysis task.
- Dest
Project stringId - The log project ID to which the target log topic belongs.
- Dest
Region string - The region to which the target log project belongs.
- Dest
Topic stringId - The target log topic ID used for storing the result data of timed SQL analysis.
- Dest
Topic stringName - The name of the target log topic used for storing the data of the timed SQL analysis results.
- Modify
Time intStamp - The most recent modification time of the scheduled SQL analysis task.
- Process
End intTime - Schedule the end time of the timed SQL analysis task in the format of a second-level timestamp.
- Process
Sql intDelay - The delay time of each scheduling. The value range is from 0 to 120, and the unit is seconds.
- Process
Start intTime - The start time of the scheduled SQL task, that is, the start time when the first instance is scheduled. The format is a timestamp at the second level.
- Process
Time stringWindow - SQL time window, which refers to the time range for log retrieval and analysis when a timed SQL analysis task is running, is in a left-closed and right-open format.
- Query string
- Timed SQL analysis tasks are retrieval and analysis statements that are executed regularly.
- Request
Cycle ScheduleSql Tasks Task Request Cycle - The scheduling cycle of timed SQL analysis tasks.
- Source
Project stringId - The log project ID to which the source log topic belongs.
- Source
Project stringName - The name of the log item to which the source log topic belongs.
- Source
Topic stringId - The source log topic ID where the original log for timed SQL analysis is located.
- Source
Topic stringName - Source log topic name.
- Status int
- Timed SQL analysis task status.
- Task
Id string - Timed SQL analysis task ID.
- Task
Name string - Timed SQL analysis task name.
- create
Time IntegerStamp - Set the creation time of timed SQL analysis tasks.
- description String
- A simple description of the timed SQL analysis task.
- dest
Project StringId - The log project ID to which the target log topic belongs.
- dest
Region String - The region to which the target log project belongs.
- dest
Topic StringId - The target log topic ID used for storing the result data of timed SQL analysis.
- dest
Topic StringName - The name of the target log topic used for storing the data of the timed SQL analysis results.
- modify
Time IntegerStamp - The most recent modification time of the scheduled SQL analysis task.
- process
End IntegerTime - Schedule the end time of the timed SQL analysis task in the format of a second-level timestamp.
- process
Sql IntegerDelay - The delay time of each scheduling. The value range is from 0 to 120, and the unit is seconds.
- process
Start IntegerTime - The start time of the scheduled SQL task, that is, the start time when the first instance is scheduled. The format is a timestamp at the second level.
- process
Time StringWindow - SQL time window, which refers to the time range for log retrieval and analysis when a timed SQL analysis task is running, is in a left-closed and right-open format.
- query String
- Timed SQL analysis tasks are retrieval and analysis statements that are executed regularly.
- request
Cycle ScheduleSql Tasks Task Request Cycle - The scheduling cycle of timed SQL analysis tasks.
- source
Project StringId - The log project ID to which the source log topic belongs.
- source
Project StringName - The name of the log item to which the source log topic belongs.
- source
Topic StringId - The source log topic ID where the original log for timed SQL analysis is located.
- source
Topic StringName - Source log topic name.
- status Integer
- Timed SQL analysis task status.
- task
Id String - Timed SQL analysis task ID.
- task
Name String - Timed SQL analysis task name.
- create
Time numberStamp - Set the creation time of timed SQL analysis tasks.
- description string
- A simple description of the timed SQL analysis task.
- dest
Project stringId - The log project ID to which the target log topic belongs.
- dest
Region string - The region to which the target log project belongs.
- dest
Topic stringId - The target log topic ID used for storing the result data of timed SQL analysis.
- dest
Topic stringName - The name of the target log topic used for storing the data of the timed SQL analysis results.
- modify
Time numberStamp - The most recent modification time of the scheduled SQL analysis task.
- process
End numberTime - Schedule the end time of the timed SQL analysis task in the format of a second-level timestamp.
- process
Sql numberDelay - The delay time of each scheduling. The value range is from 0 to 120, and the unit is seconds.
- process
Start numberTime - The start time of the scheduled SQL task, that is, the start time when the first instance is scheduled. The format is a timestamp at the second level.
- process
Time stringWindow - SQL time window, which refers to the time range for log retrieval and analysis when a timed SQL analysis task is running, is in a left-closed and right-open format.
- query string
- Timed SQL analysis tasks are retrieval and analysis statements that are executed regularly.
- request
Cycle ScheduleSql Tasks Task Request Cycle - The scheduling cycle of timed SQL analysis tasks.
- source
Project stringId - The log project ID to which the source log topic belongs.
- source
Project stringName - The name of the log item to which the source log topic belongs.
- source
Topic stringId - The source log topic ID where the original log for timed SQL analysis is located.
- source
Topic stringName - Source log topic name.
- status number
- Timed SQL analysis task status.
- task
Id string - Timed SQL analysis task ID.
- task
Name string - Timed SQL analysis task name.
- create_
time_ intstamp - Set the creation time of timed SQL analysis tasks.
- description str
- A simple description of the timed SQL analysis task.
- dest_
project_ strid - The log project ID to which the target log topic belongs.
- dest_
region str - The region to which the target log project belongs.
- dest_
topic_ strid - The target log topic ID used for storing the result data of timed SQL analysis.
- dest_
topic_ strname - The name of the target log topic used for storing the data of the timed SQL analysis results.
- modify_
time_ intstamp - The most recent modification time of the scheduled SQL analysis task.
- process_
end_ inttime - Schedule the end time of the timed SQL analysis task in the format of a second-level timestamp.
- process_
sql_ intdelay - The delay time of each scheduling. The value range is from 0 to 120, and the unit is seconds.
- process_
start_ inttime - The start time of the scheduled SQL task, that is, the start time when the first instance is scheduled. The format is a timestamp at the second level.
- process_
time_ strwindow - SQL time window, which refers to the time range for log retrieval and analysis when a timed SQL analysis task is running, is in a left-closed and right-open format.
- query str
- Timed SQL analysis tasks are retrieval and analysis statements that are executed regularly.
- request_
cycle ScheduleSql Tasks Task Request Cycle - The scheduling cycle of timed SQL analysis tasks.
- source_
project_ strid - The log project ID to which the source log topic belongs.
- source_
project_ strname - The name of the log item to which the source log topic belongs.
- source_
topic_ strid - The source log topic ID where the original log for timed SQL analysis is located.
- source_
topic_ strname - Source log topic name.
- status int
- Timed SQL analysis task status.
- task_
id str - Timed SQL analysis task ID.
- task_
name str - Timed SQL analysis task name.
- create
Time NumberStamp - Set the creation time of timed SQL analysis tasks.
- description String
- A simple description of the timed SQL analysis task.
- dest
Project StringId - The log project ID to which the target log topic belongs.
- dest
Region String - The region to which the target log project belongs.
- dest
Topic StringId - The target log topic ID used for storing the result data of timed SQL analysis.
- dest
Topic StringName - The name of the target log topic used for storing the data of the timed SQL analysis results.
- modify
Time NumberStamp - The most recent modification time of the scheduled SQL analysis task.
- process
End NumberTime - Schedule the end time of the timed SQL analysis task in the format of a second-level timestamp.
- process
Sql NumberDelay - The delay time of each scheduling. The value range is from 0 to 120, and the unit is seconds.
- process
Start NumberTime - The start time of the scheduled SQL task, that is, the start time when the first instance is scheduled. The format is a timestamp at the second level.
- process
Time StringWindow - SQL time window, which refers to the time range for log retrieval and analysis when a timed SQL analysis task is running, is in a left-closed and right-open format.
- query String
- Timed SQL analysis tasks are retrieval and analysis statements that are executed regularly.
- request
Cycle Property Map - The scheduling cycle of timed SQL analysis tasks.
- source
Project StringId - The log project ID to which the source log topic belongs.
- source
Project StringName - The name of the log item to which the source log topic belongs.
- source
Topic StringId - The source log topic ID where the original log for timed SQL analysis is located.
- source
Topic StringName - Source log topic name.
- status Number
- Timed SQL analysis task status.
- task
Id String - Timed SQL analysis task ID.
- task
Name String - Timed SQL analysis task name.
ScheduleSqlTasksTaskRequestCycle
- Cron
Tab string - Cron expression. The log service specifies the timed execution of alarm tasks through the Cron expression. The minimum granularity of Cron expressions is minutes, 24 hours. For example, 0 18 * * * indicates that an alarm task is executed exactly at 18:00 every day.
- Cron
Time stringZone - When setting the Type to Cron, the time zone also needs to be set.
- Time int
- The scheduling cycle or the time point of regular execution (the number of minutes away from 00:00), with a value range of 1 to 1440, and the unit is minutes.
- Type string
- The type of Scheduling cycle.
- Cron
Tab string - Cron expression. The log service specifies the timed execution of alarm tasks through the Cron expression. The minimum granularity of Cron expressions is minutes, 24 hours. For example, 0 18 * * * indicates that an alarm task is executed exactly at 18:00 every day.
- Cron
Time stringZone - When setting the Type to Cron, the time zone also needs to be set.
- Time int
- The scheduling cycle or the time point of regular execution (the number of minutes away from 00:00), with a value range of 1 to 1440, and the unit is minutes.
- Type string
- The type of Scheduling cycle.
- cron
Tab String - Cron expression. The log service specifies the timed execution of alarm tasks through the Cron expression. The minimum granularity of Cron expressions is minutes, 24 hours. For example, 0 18 * * * indicates that an alarm task is executed exactly at 18:00 every day.
- cron
Time StringZone - When setting the Type to Cron, the time zone also needs to be set.
- time Integer
- The scheduling cycle or the time point of regular execution (the number of minutes away from 00:00), with a value range of 1 to 1440, and the unit is minutes.
- type String
- The type of Scheduling cycle.
- cron
Tab string - Cron expression. The log service specifies the timed execution of alarm tasks through the Cron expression. The minimum granularity of Cron expressions is minutes, 24 hours. For example, 0 18 * * * indicates that an alarm task is executed exactly at 18:00 every day.
- cron
Time stringZone - When setting the Type to Cron, the time zone also needs to be set.
- time number
- The scheduling cycle or the time point of regular execution (the number of minutes away from 00:00), with a value range of 1 to 1440, and the unit is minutes.
- type string
- The type of Scheduling cycle.
- cron_
tab str - Cron expression. The log service specifies the timed execution of alarm tasks through the Cron expression. The minimum granularity of Cron expressions is minutes, 24 hours. For example, 0 18 * * * indicates that an alarm task is executed exactly at 18:00 every day.
- cron_
time_ strzone - When setting the Type to Cron, the time zone also needs to be set.
- time int
- The scheduling cycle or the time point of regular execution (the number of minutes away from 00:00), with a value range of 1 to 1440, and the unit is minutes.
- type str
- The type of Scheduling cycle.
- cron
Tab String - Cron expression. The log service specifies the timed execution of alarm tasks through the Cron expression. The minimum granularity of Cron expressions is minutes, 24 hours. For example, 0 18 * * * indicates that an alarm task is executed exactly at 18:00 every day.
- cron
Time StringZone - When setting the Type to Cron, the time zone also needs to be set.
- time Number
- The scheduling cycle or the time point of regular execution (the number of minutes away from 00:00), with a value range of 1 to 1440, and the unit is minutes.
- type String
- The type of Scheduling cycle.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.