Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
Data Source schema for Byteplus::TLS::ScheduleSqlTask
Using getScheduleSqlTask
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 getScheduleSqlTask(args: GetScheduleSqlTaskArgs, opts?: InvokeOptions): Promise<GetScheduleSqlTaskResult>
function getScheduleSqlTaskOutput(args: GetScheduleSqlTaskOutputArgs, opts?: InvokeOptions): Output<GetScheduleSqlTaskResult>def get_schedule_sql_task(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScheduleSqlTaskResult
def get_schedule_sql_task_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScheduleSqlTaskResult]func LookupScheduleSqlTask(ctx *Context, args *LookupScheduleSqlTaskArgs, opts ...InvokeOption) (*LookupScheduleSqlTaskResult, error)
func LookupScheduleSqlTaskOutput(ctx *Context, args *LookupScheduleSqlTaskOutputArgs, opts ...InvokeOption) LookupScheduleSqlTaskResultOutput> Note: This function is named LookupScheduleSqlTask in the Go SDK.
public static class GetScheduleSqlTask
{
public static Task<GetScheduleSqlTaskResult> InvokeAsync(GetScheduleSqlTaskArgs args, InvokeOptions? opts = null)
public static Output<GetScheduleSqlTaskResult> Invoke(GetScheduleSqlTaskInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetScheduleSqlTaskResult> getScheduleSqlTask(GetScheduleSqlTaskArgs args, InvokeOptions options)
public static Output<GetScheduleSqlTaskResult> getScheduleSqlTask(GetScheduleSqlTaskArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:tls/getScheduleSqlTask:getScheduleSqlTask
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getScheduleSqlTask Result
The following output properties are available:
- Created
Time int - Creation time (seconds-level Unix timestamp).
- Description string
- Brief description of the scheduled SQL analysis task. Characters <>, ', , and \ are not supported. Length: 0–64 characters.
- Dest
Project stringId - Target log project ID.
- Dest
Region string - Region of the target log topic. The default is the current region.
- Dest
Topic stringId - Target log topic ID for storing scheduled SQL analysis result data.
- Dest
Topic stringName - Target log topic name.
- Id string
- Uniquely identifies the resource.
- Process
End intTime - 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.
- Process
Sql intDelay - Delay time for each schedule. Range: 0–120 seconds. If not configured, defaults to 0, meaning no delay.
- Process
Start intTime - Start time for scheduling the scheduled SQL analysis task, which is the time the first instance is created. Format: seconds-level timestamp.
- Process
Time stringWindow - 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.
- Query string
- The scheduled SQL analysis task periodically executes retrieval and analysis statements, which must comply with the log service's retrieval and analysis syntax.
- Request
Cycle Byteplus.Get Schedule Sql Task Request Cycle - 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.
- Source
Project stringId - Source log project ID.
- Source
Project stringName - Source log project name.
- Source
Topic stringId - ID of the log topic containing the original logs for scheduled SQL analysis. Only log topics in the current region are supported.
- Source
Topic stringName - Source log topic name.
- Status int
- Whether to start the scheduled SQL analysis task immediately after completing task configuration. Options: 0 Off; 1 Start immediately.
- Task
Id string - Task ID.
- Task
Name string - Name of the scheduled SQL analysis task. Refer to the resource naming rules for naming conventions.
- Task
Type int - Task type: 0 means log to log; 1 means log to metric.
- Updated
Time int - Modification time (seconds-level Unix timestamp).
- Created
Time int - Creation time (seconds-level Unix timestamp).
- Description string
- Brief description of the scheduled SQL analysis task. Characters <>, ', , and \ are not supported. Length: 0–64 characters.
- Dest
Project stringId - Target log project ID.
- Dest
Region string - Region of the target log topic. The default is the current region.
- Dest
Topic stringId - Target log topic ID for storing scheduled SQL analysis result data.
- Dest
Topic stringName - Target log topic name.
- Id string
- Uniquely identifies the resource.
- Process
End intTime - 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.
- Process
Sql intDelay - Delay time for each schedule. Range: 0–120 seconds. If not configured, defaults to 0, meaning no delay.
- Process
Start intTime - Start time for scheduling the scheduled SQL analysis task, which is the time the first instance is created. Format: seconds-level timestamp.
- Process
Time stringWindow - 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.
- Query string
- The scheduled SQL analysis task periodically executes retrieval and analysis statements, which must comply with the log service's retrieval and analysis syntax.
- Request
Cycle GetSchedule Sql Task Request Cycle - 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.
- Source
Project stringId - Source log project ID.
- Source
Project stringName - Source log project name.
- Source
Topic stringId - ID of the log topic containing the original logs for scheduled SQL analysis. Only log topics in the current region are supported.
- Source
Topic stringName - Source log topic name.
- Status int
- Whether to start the scheduled SQL analysis task immediately after completing task configuration. Options: 0 Off; 1 Start immediately.
- Task
Id string - Task ID.
- Task
Name string - Name of the scheduled SQL analysis task. Refer to the resource naming rules for naming conventions.
- Task
Type int - Task type: 0 means log to log; 1 means log to metric.
- Updated
Time int - Modification time (seconds-level Unix timestamp).
- created
Time Integer - Creation time (seconds-level Unix timestamp).
- description String
- Brief description of the scheduled SQL analysis task. Characters <>, ', , and \ are not supported. Length: 0–64 characters.
- dest
Project StringId - Target log project ID.
- dest
Region String - Region of the target log topic. The default is the current region.
- dest
Topic StringId - Target log topic ID for storing scheduled SQL analysis result data.
- dest
Topic StringName - Target log topic name.
- id String
- Uniquely identifies the resource.
- process
End IntegerTime - 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.
- process
Sql IntegerDelay - Delay time for each schedule. Range: 0–120 seconds. If not configured, defaults to 0, meaning no delay.
- process
Start IntegerTime - Start time for scheduling the scheduled SQL analysis task, which is the time the first instance is created. Format: seconds-level timestamp.
- process
Time StringWindow - 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.
- query String
- The scheduled SQL analysis task periodically executes retrieval and analysis statements, which must comply with the log service's retrieval and analysis syntax.
- request
Cycle GetSchedule Sql Task Request Cycle - 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.
- source
Project StringId - Source log project ID.
- source
Project StringName - Source log project name.
- source
Topic StringId - ID of the log topic containing the original logs for scheduled SQL analysis. Only log topics in the current region are supported.
- source
Topic StringName - Source log topic name.
- status Integer
- Whether to start the scheduled SQL analysis task immediately after completing task configuration. Options: 0 Off; 1 Start immediately.
- task
Id String - Task ID.
- task
Name String - Name of the scheduled SQL analysis task. Refer to the resource naming rules for naming conventions.
- task
Type Integer - Task type: 0 means log to log; 1 means log to metric.
- updated
Time Integer - Modification time (seconds-level Unix timestamp).
- created
Time number - Creation time (seconds-level Unix timestamp).
- description string
- Brief description of the scheduled SQL analysis task. Characters <>, ', , and \ are not supported. Length: 0–64 characters.
- dest
Project stringId - Target log project ID.
- dest
Region string - Region of the target log topic. The default is the current region.
- dest
Topic stringId - Target log topic ID for storing scheduled SQL analysis result data.
- dest
Topic stringName - Target log topic name.
- id string
- Uniquely identifies the resource.
- process
End numberTime - 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.
- process
Sql numberDelay - Delay time for each schedule. Range: 0–120 seconds. If not configured, defaults to 0, meaning no delay.
- process
Start numberTime - Start time for scheduling the scheduled SQL analysis task, which is the time the first instance is created. Format: seconds-level timestamp.
- process
Time stringWindow - 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.
- query string
- The scheduled SQL analysis task periodically executes retrieval and analysis statements, which must comply with the log service's retrieval and analysis syntax.
- request
Cycle GetSchedule Sql Task Request Cycle - 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.
- source
Project stringId - Source log project ID.
- source
Project stringName - Source log project name.
- source
Topic stringId - ID of the log topic containing the original logs for scheduled SQL analysis. Only log topics in the current region are supported.
- source
Topic stringName - Source log topic name.
- status number
- Whether to start the scheduled SQL analysis task immediately after completing task configuration. Options: 0 Off; 1 Start immediately.
- task
Id string - Task ID.
- task
Name string - Name of the scheduled SQL analysis task. Refer to the resource naming rules for naming conventions.
- task
Type number - Task type: 0 means log to log; 1 means log to metric.
- updated
Time number - Modification time (seconds-level Unix timestamp).
- created_
time int - Creation time (seconds-level Unix timestamp).
- description str
- Brief description of the scheduled SQL analysis task. Characters <>, ', , and \ are not supported. Length: 0–64 characters.
- dest_
project_ strid - Target log project ID.
- dest_
region str - Region of the target log topic. The default is the current region.
- dest_
topic_ strid - Target log topic ID for storing scheduled SQL analysis result data.
- dest_
topic_ strname - Target log topic name.
- id str
- Uniquely identifies the resource.
- process_
end_ inttime - 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.
- process_
sql_ intdelay - Delay time for each schedule. Range: 0–120 seconds. If not configured, defaults to 0, meaning no delay.
- process_
start_ inttime - Start time for scheduling the scheduled SQL analysis task, which is the time the first instance is created. Format: seconds-level timestamp.
- process_
time_ strwindow - 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.
- query str
- The scheduled SQL analysis task periodically executes retrieval and analysis statements, which must comply with the log service's retrieval and analysis syntax.
- request_
cycle GetSchedule Sql Task Request Cycle - 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.
- source_
project_ strid - Source log project ID.
- source_
project_ strname - Source log project name.
- source_
topic_ strid - ID of the log topic containing the original logs for scheduled SQL analysis. Only log topics in the current region are supported.
- source_
topic_ strname - Source log topic name.
- status int
- Whether to start the scheduled SQL analysis task immediately after completing task configuration. Options: 0 Off; 1 Start immediately.
- task_
id str - Task ID.
- task_
name str - Name of the scheduled SQL analysis task. Refer to the resource naming rules for naming conventions.
- task_
type int - Task type: 0 means log to log; 1 means log to metric.
- updated_
time int - Modification time (seconds-level Unix timestamp).
- created
Time Number - Creation time (seconds-level Unix timestamp).
- description String
- Brief description of the scheduled SQL analysis task. Characters <>, ', , and \ are not supported. Length: 0–64 characters.
- dest
Project StringId - Target log project ID.
- dest
Region String - Region of the target log topic. The default is the current region.
- dest
Topic StringId - Target log topic ID for storing scheduled SQL analysis result data.
- dest
Topic StringName - Target log topic name.
- id String
- Uniquely identifies the resource.
- process
End NumberTime - 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.
- process
Sql NumberDelay - Delay time for each schedule. Range: 0–120 seconds. If not configured, defaults to 0, meaning no delay.
- process
Start NumberTime - Start time for scheduling the scheduled SQL analysis task, which is the time the first instance is created. Format: seconds-level timestamp.
- process
Time StringWindow - 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.
- query String
- The scheduled SQL analysis task periodically executes retrieval and analysis statements, which must comply with the log service's retrieval and analysis syntax.
- request
Cycle Property Map - 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.
- source
Project StringId - Source log project ID.
- source
Project StringName - Source log project name.
- source
Topic StringId - ID of the log topic containing the original logs for scheduled SQL analysis. Only log topics in the current region are supported.
- source
Topic StringName - Source log topic name.
- status Number
- Whether to start the scheduled SQL analysis task immediately after completing task configuration. Options: 0 Off; 1 Start immediately.
- task
Id String - Task ID.
- task
Name String - Name of the scheduled SQL analysis task. Refer to the resource naming rules for naming conventions.
- task
Type Number - Task type: 0 means log to log; 1 means log to metric.
- updated
Time Number - Modification time (seconds-level Unix timestamp).
Supporting Types
GetScheduleSqlTaskRequestCycle
- Cron
Tab string - Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
- Cron
Time stringZone - If Type is set to Cron, you must also set the time zone.
- Time int
- Scheduling period or the time point for periodic execution (minutes from 00:00). Range: 1–1440 minutes.
- Type string
- Scheduling period type. Options: Period, Fixed, Cron.
- Cron
Tab string - Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
- Cron
Time stringZone - If Type is set to Cron, you must also set the time zone.
- Time int
- Scheduling period or the time point for periodic execution (minutes from 00:00). Range: 1–1440 minutes.
- Type string
- Scheduling period type. Options: Period, Fixed, Cron.
- cron
Tab String - Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
- cron
Time StringZone - If Type is set to Cron, you must also set the time zone.
- time Integer
- Scheduling period or the time point for periodic execution (minutes from 00:00). Range: 1–1440 minutes.
- type String
- Scheduling period type. Options: Period, Fixed, Cron.
- cron
Tab string - Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
- cron
Time stringZone - If Type is set to Cron, you must also set the time zone.
- time number
- Scheduling period or the time point for periodic execution (minutes from 00:00). Range: 1–1440 minutes.
- type string
- Scheduling period type. Options: Period, Fixed, Cron.
- cron_
tab str - Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
- cron_
time_ strzone - If Type is set to Cron, you must also set the time zone.
- time int
- Scheduling period or the time point for periodic execution (minutes from 00:00). Range: 1–1440 minutes.
- type str
- Scheduling period type. Options: Period, Fixed, Cron.
- cron
Tab String - Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
- cron
Time StringZone - If Type is set to Cron, you must also set the time zone.
- time Number
- Scheduling period or the time point for periodic execution (minutes from 00:00). Range: 1–1440 minutes.
- type String
- Scheduling period type. Options: Period, Fixed, Cron.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
