1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getWedataSqlScriptRuns
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack

tencentcloud.getWedataSqlScriptRuns

Get Started
tencentcloud logo
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack

    Use this data source to query detailed information of WeData sql script runs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getWedataSqlScriptRuns({
        projectId: "1460947878944567296",
        scriptId: "971c1520-836f-41be-b13f-7a6c637317c8",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_wedata_sql_script_runs(project_id="1460947878944567296",
        script_id="971c1520-836f-41be-b13f-7a6c637317c8")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetWedataSqlScriptRuns(ctx, &tencentcloud.GetWedataSqlScriptRunsArgs{
    			ProjectId: "1460947878944567296",
    			ScriptId:  "971c1520-836f-41be-b13f-7a6c637317c8",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetWedataSqlScriptRuns.Invoke(new()
        {
            ProjectId = "1460947878944567296",
            ScriptId = "971c1520-836f-41be-b13f-7a6c637317c8",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetWedataSqlScriptRunsArgs;
    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 example = TencentcloudFunctions.getWedataSqlScriptRuns(GetWedataSqlScriptRunsArgs.builder()
                .projectId("1460947878944567296")
                .scriptId("971c1520-836f-41be-b13f-7a6c637317c8")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getWedataSqlScriptRuns
          arguments:
            projectId: '1460947878944567296'
            scriptId: 971c1520-836f-41be-b13f-7a6c637317c8
    

    Using getWedataSqlScriptRuns

    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 getWedataSqlScriptRuns(args: GetWedataSqlScriptRunsArgs, opts?: InvokeOptions): Promise<GetWedataSqlScriptRunsResult>
    function getWedataSqlScriptRunsOutput(args: GetWedataSqlScriptRunsOutputArgs, opts?: InvokeOptions): Output<GetWedataSqlScriptRunsResult>
    def get_wedata_sql_script_runs(end_time: Optional[str] = None,
                                   execute_user_uin: Optional[str] = None,
                                   id: Optional[str] = None,
                                   job_id: Optional[str] = None,
                                   project_id: Optional[str] = None,
                                   result_output_file: Optional[str] = None,
                                   script_id: Optional[str] = None,
                                   search_word: Optional[str] = None,
                                   start_time: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetWedataSqlScriptRunsResult
    def get_wedata_sql_script_runs_output(end_time: Optional[pulumi.Input[str]] = None,
                                   execute_user_uin: Optional[pulumi.Input[str]] = None,
                                   id: Optional[pulumi.Input[str]] = None,
                                   job_id: Optional[pulumi.Input[str]] = None,
                                   project_id: Optional[pulumi.Input[str]] = None,
                                   result_output_file: Optional[pulumi.Input[str]] = None,
                                   script_id: Optional[pulumi.Input[str]] = None,
                                   search_word: Optional[pulumi.Input[str]] = None,
                                   start_time: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetWedataSqlScriptRunsResult]
    func GetWedataSqlScriptRuns(ctx *Context, args *GetWedataSqlScriptRunsArgs, opts ...InvokeOption) (*GetWedataSqlScriptRunsResult, error)
    func GetWedataSqlScriptRunsOutput(ctx *Context, args *GetWedataSqlScriptRunsOutputArgs, opts ...InvokeOption) GetWedataSqlScriptRunsResultOutput

    > Note: This function is named GetWedataSqlScriptRuns in the Go SDK.

    public static class GetWedataSqlScriptRuns 
    {
        public static Task<GetWedataSqlScriptRunsResult> InvokeAsync(GetWedataSqlScriptRunsArgs args, InvokeOptions? opts = null)
        public static Output<GetWedataSqlScriptRunsResult> Invoke(GetWedataSqlScriptRunsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWedataSqlScriptRunsResult> getWedataSqlScriptRuns(GetWedataSqlScriptRunsArgs args, InvokeOptions options)
    public static Output<GetWedataSqlScriptRunsResult> getWedataSqlScriptRuns(GetWedataSqlScriptRunsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getWedataSqlScriptRuns:getWedataSqlScriptRuns
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProjectId string
    Project ID.
    ScriptId string
    Script ID.
    EndTime string
    End time.
    ExecuteUserUin string
    Execute user UIN.
    Id string
    JobId string
    Job ID.
    ResultOutputFile string
    Used to save results.
    SearchWord string
    Search keyword.
    StartTime string
    Start time.
    ProjectId string
    Project ID.
    ScriptId string
    Script ID.
    EndTime string
    End time.
    ExecuteUserUin string
    Execute user UIN.
    Id string
    JobId string
    Job ID.
    ResultOutputFile string
    Used to save results.
    SearchWord string
    Search keyword.
    StartTime string
    Start time.
    projectId String
    Project ID.
    scriptId String
    Script ID.
    endTime String
    End time.
    executeUserUin String
    Execute user UIN.
    id String
    jobId String
    Job ID.
    resultOutputFile String
    Used to save results.
    searchWord String
    Search keyword.
    startTime String
    Start time.
    projectId string
    Project ID.
    scriptId string
    Script ID.
    endTime string
    End time.
    executeUserUin string
    Execute user UIN.
    id string
    jobId string
    Job ID.
    resultOutputFile string
    Used to save results.
    searchWord string
    Search keyword.
    startTime string
    Start time.
    project_id str
    Project ID.
    script_id str
    Script ID.
    end_time str
    End time.
    execute_user_uin str
    Execute user UIN.
    id str
    job_id str
    Job ID.
    result_output_file str
    Used to save results.
    search_word str
    Search keyword.
    start_time str
    Start time.
    projectId String
    Project ID.
    scriptId String
    Script ID.
    endTime String
    End time.
    executeUserUin String
    Execute user UIN.
    id String
    jobId String
    Job ID.
    resultOutputFile String
    Used to save results.
    searchWord String
    Search keyword.
    startTime String
    Start time.

    getWedataSqlScriptRuns Result

    The following output properties are available:

    Datas List<GetWedataSqlScriptRunsData>
    Data exploration tasks.
    Id string
    ProjectId string
    ScriptId string
    Script ID.
    EndTime string
    End time.
    ExecuteUserUin string
    JobId string
    Data exploration task ID.
    ResultOutputFile string
    SearchWord string
    StartTime string
    Datas []GetWedataSqlScriptRunsData
    Data exploration tasks.
    Id string
    ProjectId string
    ScriptId string
    Script ID.
    EndTime string
    End time.
    ExecuteUserUin string
    JobId string
    Data exploration task ID.
    ResultOutputFile string
    SearchWord string
    StartTime string
    datas List<GetWedataSqlScriptRunsData>
    Data exploration tasks.
    id String
    projectId String
    scriptId String
    Script ID.
    endTime String
    End time.
    executeUserUin String
    jobId String
    Data exploration task ID.
    resultOutputFile String
    searchWord String
    startTime String
    datas GetWedataSqlScriptRunsData[]
    Data exploration tasks.
    id string
    projectId string
    scriptId string
    Script ID.
    endTime string
    End time.
    executeUserUin string
    jobId string
    Data exploration task ID.
    resultOutputFile string
    searchWord string
    startTime string
    datas Sequence[GetWedataSqlScriptRunsData]
    Data exploration tasks.
    id str
    project_id str
    script_id str
    Script ID.
    end_time str
    End time.
    execute_user_uin str
    job_id str
    Data exploration task ID.
    result_output_file str
    search_word str
    start_time str
    datas List<Property Map>
    Data exploration tasks.
    id String
    projectId String
    scriptId String
    Script ID.
    endTime String
    End time.
    executeUserUin String
    jobId String
    Data exploration task ID.
    resultOutputFile String
    searchWord String
    startTime String

    Supporting Types

    GetWedataSqlScriptRunsData

    CreateTime string
    Create time.
    EndTime string
    End time.
    JobExecutionLists List<GetWedataSqlScriptRunsDataJobExecutionList>
    Subtask list.
    JobId string
    Job ID.
    JobName string
    Data exploration task name.
    JobType string
    Job type.
    OwnerUin string
    Cloud owner account UIN.
    ScriptContent string
    Script content.
    ScriptContentTruncate bool
    Whether the script content is truncated.
    ScriptId string
    Script ID.
    Status string
    Task status.
    TimeCost double
    Time consumed.
    UpdateTime string
    Update time.
    UserUin string
    Account UIN.
    CreateTime string
    Create time.
    EndTime string
    End time.
    JobExecutionLists []GetWedataSqlScriptRunsDataJobExecutionList
    Subtask list.
    JobId string
    Job ID.
    JobName string
    Data exploration task name.
    JobType string
    Job type.
    OwnerUin string
    Cloud owner account UIN.
    ScriptContent string
    Script content.
    ScriptContentTruncate bool
    Whether the script content is truncated.
    ScriptId string
    Script ID.
    Status string
    Task status.
    TimeCost float64
    Time consumed.
    UpdateTime string
    Update time.
    UserUin string
    Account UIN.
    createTime String
    Create time.
    endTime String
    End time.
    jobExecutionLists List<GetWedataSqlScriptRunsDataJobExecutionList>
    Subtask list.
    jobId String
    Job ID.
    jobName String
    Data exploration task name.
    jobType String
    Job type.
    ownerUin String
    Cloud owner account UIN.
    scriptContent String
    Script content.
    scriptContentTruncate Boolean
    Whether the script content is truncated.
    scriptId String
    Script ID.
    status String
    Task status.
    timeCost Double
    Time consumed.
    updateTime String
    Update time.
    userUin String
    Account UIN.
    createTime string
    Create time.
    endTime string
    End time.
    jobExecutionLists GetWedataSqlScriptRunsDataJobExecutionList[]
    Subtask list.
    jobId string
    Job ID.
    jobName string
    Data exploration task name.
    jobType string
    Job type.
    ownerUin string
    Cloud owner account UIN.
    scriptContent string
    Script content.
    scriptContentTruncate boolean
    Whether the script content is truncated.
    scriptId string
    Script ID.
    status string
    Task status.
    timeCost number
    Time consumed.
    updateTime string
    Update time.
    userUin string
    Account UIN.
    create_time str
    Create time.
    end_time str
    End time.
    job_execution_lists Sequence[GetWedataSqlScriptRunsDataJobExecutionList]
    Subtask list.
    job_id str
    Job ID.
    job_name str
    Data exploration task name.
    job_type str
    Job type.
    owner_uin str
    Cloud owner account UIN.
    script_content str
    Script content.
    script_content_truncate bool
    Whether the script content is truncated.
    script_id str
    Script ID.
    status str
    Task status.
    time_cost float
    Time consumed.
    update_time str
    Update time.
    user_uin str
    Account UIN.
    createTime String
    Create time.
    endTime String
    End time.
    jobExecutionLists List<Property Map>
    Subtask list.
    jobId String
    Job ID.
    jobName String
    Data exploration task name.
    jobType String
    Job type.
    ownerUin String
    Cloud owner account UIN.
    scriptContent String
    Script content.
    scriptContentTruncate Boolean
    Whether the script content is truncated.
    scriptId String
    Script ID.
    status String
    Task status.
    timeCost Number
    Time consumed.
    updateTime String
    Update time.
    userUin String
    Account UIN.

    GetWedataSqlScriptRunsDataJobExecutionList

    CollectingTotalResult bool
    Whether collecting full results: default false, true means collecting full results, used for frontend polling.
    ContextScriptContents List<string>
    Context SQL content.
    CreateTime string
    Create time.
    EndTime string
    End time.
    ExecuteStageInfo string
    Execution phase.
    JobExecutionId string
    Subquery task ID.
    JobExecutionName string
    Subquery name.
    JobId string
    Job ID.
    LogFilePath string
    Log file path.
    ResultEffectCount double
    Number of rows affected by the task execution result.
    ResultFilePath string
    Result file path.
    ResultPreviewCount double
    Number of rows for previewing the task execution results.
    ResultPreviewFilePath string
    Preview result file path.
    ResultTotalCount double
    Total number of rows in the task execution result.
    ScriptContent string
    Script content.
    ScriptContentTruncate bool
    Whether the script content is truncated.
    Status string
    Task status.
    TimeCost double
    Time consumed.
    UpdateTime string
    Update time.
    CollectingTotalResult bool
    Whether collecting full results: default false, true means collecting full results, used for frontend polling.
    ContextScriptContents []string
    Context SQL content.
    CreateTime string
    Create time.
    EndTime string
    End time.
    ExecuteStageInfo string
    Execution phase.
    JobExecutionId string
    Subquery task ID.
    JobExecutionName string
    Subquery name.
    JobId string
    Job ID.
    LogFilePath string
    Log file path.
    ResultEffectCount float64
    Number of rows affected by the task execution result.
    ResultFilePath string
    Result file path.
    ResultPreviewCount float64
    Number of rows for previewing the task execution results.
    ResultPreviewFilePath string
    Preview result file path.
    ResultTotalCount float64
    Total number of rows in the task execution result.
    ScriptContent string
    Script content.
    ScriptContentTruncate bool
    Whether the script content is truncated.
    Status string
    Task status.
    TimeCost float64
    Time consumed.
    UpdateTime string
    Update time.
    collectingTotalResult Boolean
    Whether collecting full results: default false, true means collecting full results, used for frontend polling.
    contextScriptContents List<String>
    Context SQL content.
    createTime String
    Create time.
    endTime String
    End time.
    executeStageInfo String
    Execution phase.
    jobExecutionId String
    Subquery task ID.
    jobExecutionName String
    Subquery name.
    jobId String
    Job ID.
    logFilePath String
    Log file path.
    resultEffectCount Double
    Number of rows affected by the task execution result.
    resultFilePath String
    Result file path.
    resultPreviewCount Double
    Number of rows for previewing the task execution results.
    resultPreviewFilePath String
    Preview result file path.
    resultTotalCount Double
    Total number of rows in the task execution result.
    scriptContent String
    Script content.
    scriptContentTruncate Boolean
    Whether the script content is truncated.
    status String
    Task status.
    timeCost Double
    Time consumed.
    updateTime String
    Update time.
    collectingTotalResult boolean
    Whether collecting full results: default false, true means collecting full results, used for frontend polling.
    contextScriptContents string[]
    Context SQL content.
    createTime string
    Create time.
    endTime string
    End time.
    executeStageInfo string
    Execution phase.
    jobExecutionId string
    Subquery task ID.
    jobExecutionName string
    Subquery name.
    jobId string
    Job ID.
    logFilePath string
    Log file path.
    resultEffectCount number
    Number of rows affected by the task execution result.
    resultFilePath string
    Result file path.
    resultPreviewCount number
    Number of rows for previewing the task execution results.
    resultPreviewFilePath string
    Preview result file path.
    resultTotalCount number
    Total number of rows in the task execution result.
    scriptContent string
    Script content.
    scriptContentTruncate boolean
    Whether the script content is truncated.
    status string
    Task status.
    timeCost number
    Time consumed.
    updateTime string
    Update time.
    collecting_total_result bool
    Whether collecting full results: default false, true means collecting full results, used for frontend polling.
    context_script_contents Sequence[str]
    Context SQL content.
    create_time str
    Create time.
    end_time str
    End time.
    execute_stage_info str
    Execution phase.
    job_execution_id str
    Subquery task ID.
    job_execution_name str
    Subquery name.
    job_id str
    Job ID.
    log_file_path str
    Log file path.
    result_effect_count float
    Number of rows affected by the task execution result.
    result_file_path str
    Result file path.
    result_preview_count float
    Number of rows for previewing the task execution results.
    result_preview_file_path str
    Preview result file path.
    result_total_count float
    Total number of rows in the task execution result.
    script_content str
    Script content.
    script_content_truncate bool
    Whether the script content is truncated.
    status str
    Task status.
    time_cost float
    Time consumed.
    update_time str
    Update time.
    collectingTotalResult Boolean
    Whether collecting full results: default false, true means collecting full results, used for frontend polling.
    contextScriptContents List<String>
    Context SQL content.
    createTime String
    Create time.
    endTime String
    End time.
    executeStageInfo String
    Execution phase.
    jobExecutionId String
    Subquery task ID.
    jobExecutionName String
    Subquery name.
    jobId String
    Job ID.
    logFilePath String
    Log file path.
    resultEffectCount Number
    Number of rows affected by the task execution result.
    resultFilePath String
    Result file path.
    resultPreviewCount Number
    Number of rows for previewing the task execution results.
    resultPreviewFilePath String
    Preview result file path.
    resultTotalCount Number
    Total number of rows in the task execution result.
    scriptContent String
    Script content.
    scriptContentTruncate Boolean
    Whether the script content is truncated.
    status String
    Task status.
    timeCost Number
    Time consumed.
    updateTime String
    Update time.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate