tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getWedataSqlScriptRuns
Start a Neo task
Explain and create a tencentcloud.getWedataSqlScriptRuns resource
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 dictionaryThe following arguments are supported:
- Project
Id string - Project ID.
- Script
Id string - Script ID.
- End
Time string - End time.
- Execute
User stringUin - Execute user UIN.
- Id string
- Job
Id string - Job ID.
- Result
Output stringFile - Used to save results.
- Search
Word string - Search keyword.
- Start
Time string - Start time.
- Project
Id string - Project ID.
- Script
Id string - Script ID.
- End
Time string - End time.
- Execute
User stringUin - Execute user UIN.
- Id string
- Job
Id string - Job ID.
- Result
Output stringFile - Used to save results.
- Search
Word string - Search keyword.
- Start
Time string - Start time.
- project
Id String - Project ID.
- script
Id String - Script ID.
- end
Time String - End time.
- execute
User StringUin - Execute user UIN.
- id String
- job
Id String - Job ID.
- result
Output StringFile - Used to save results.
- search
Word String - Search keyword.
- start
Time String - Start time.
- project
Id string - Project ID.
- script
Id string - Script ID.
- end
Time string - End time.
- execute
User stringUin - Execute user UIN.
- id string
- job
Id string - Job ID.
- result
Output stringFile - Used to save results.
- search
Word string - Search keyword.
- start
Time string - Start time.
- project_
id str - Project ID.
- script_
id str - Script ID.
- end_
time str - End time.
- execute_
user_ struin - Execute user UIN.
- id str
- job_
id str - Job ID.
- result_
output_ strfile - Used to save results.
- search_
word str - Search keyword.
- start_
time str - Start time.
- project
Id String - Project ID.
- script
Id String - Script ID.
- end
Time String - End time.
- execute
User StringUin - Execute user UIN.
- id String
- job
Id String - Job ID.
- result
Output StringFile - Used to save results.
- search
Word String - Search keyword.
- start
Time String - Start time.
getWedataSqlScriptRuns Result
The following output properties are available:
- Datas
List<Get
Wedata Sql Script Runs Data> - Data exploration tasks.
- Id string
- Project
Id string - Script
Id string - Script ID.
- End
Time string - End time.
- Execute
User stringUin - Job
Id string - Data exploration task ID.
- Result
Output stringFile - Search
Word string - Start
Time string
- Datas
[]Get
Wedata Sql Script Runs Data - Data exploration tasks.
- Id string
- Project
Id string - Script
Id string - Script ID.
- End
Time string - End time.
- Execute
User stringUin - Job
Id string - Data exploration task ID.
- Result
Output stringFile - Search
Word string - Start
Time string
- datas
List<Get
Wedata Sql Script Runs Data> - Data exploration tasks.
- id String
- project
Id String - script
Id String - Script ID.
- end
Time String - End time.
- execute
User StringUin - job
Id String - Data exploration task ID.
- result
Output StringFile - search
Word String - start
Time String
- datas
Get
Wedata Sql Script Runs Data[] - Data exploration tasks.
- id string
- project
Id string - script
Id string - Script ID.
- end
Time string - End time.
- execute
User stringUin - job
Id string - Data exploration task ID.
- result
Output stringFile - search
Word string - start
Time string
- datas
Sequence[Get
Wedata Sql Script Runs Data] - Data exploration tasks.
- id str
- project_
id str - script_
id str - Script ID.
- end_
time str - End time.
- execute_
user_ struin - job_
id str - Data exploration task ID.
- result_
output_ strfile - search_
word str - start_
time str
- datas List<Property Map>
- Data exploration tasks.
- id String
- project
Id String - script
Id String - Script ID.
- end
Time String - End time.
- execute
User StringUin - job
Id String - Data exploration task ID.
- result
Output StringFile - search
Word String - start
Time String
Supporting Types
GetWedataSqlScriptRunsData
- Create
Time string - Create time.
- End
Time string - End time.
- Job
Execution List<GetLists Wedata Sql Script Runs Data Job Execution List> - Subtask list.
- Job
Id string - Job ID.
- Job
Name string - Data exploration task name.
- Job
Type string - Job type.
- Owner
Uin string - Cloud owner account UIN.
- Script
Content string - Script content.
- Script
Content boolTruncate - Whether the script content is truncated.
- Script
Id string - Script ID.
- Status string
- Task status.
- Time
Cost double - Time consumed.
- Update
Time string - Update time.
- User
Uin string - Account UIN.
- Create
Time string - Create time.
- End
Time string - End time.
- Job
Execution []GetLists Wedata Sql Script Runs Data Job Execution List - Subtask list.
- Job
Id string - Job ID.
- Job
Name string - Data exploration task name.
- Job
Type string - Job type.
- Owner
Uin string - Cloud owner account UIN.
- Script
Content string - Script content.
- Script
Content boolTruncate - Whether the script content is truncated.
- Script
Id string - Script ID.
- Status string
- Task status.
- Time
Cost float64 - Time consumed.
- Update
Time string - Update time.
- User
Uin string - Account UIN.
- create
Time String - Create time.
- end
Time String - End time.
- job
Execution List<GetLists Wedata Sql Script Runs Data Job Execution List> - Subtask list.
- job
Id String - Job ID.
- job
Name String - Data exploration task name.
- job
Type String - Job type.
- owner
Uin String - Cloud owner account UIN.
- script
Content String - Script content.
- script
Content BooleanTruncate - Whether the script content is truncated.
- script
Id String - Script ID.
- status String
- Task status.
- time
Cost Double - Time consumed.
- update
Time String - Update time.
- user
Uin String - Account UIN.
- create
Time string - Create time.
- end
Time string - End time.
- job
Execution GetLists Wedata Sql Script Runs Data Job Execution List[] - Subtask list.
- job
Id string - Job ID.
- job
Name string - Data exploration task name.
- job
Type string - Job type.
- owner
Uin string - Cloud owner account UIN.
- script
Content string - Script content.
- script
Content booleanTruncate - Whether the script content is truncated.
- script
Id string - Script ID.
- status string
- Task status.
- time
Cost number - Time consumed.
- update
Time string - Update time.
- user
Uin string - Account UIN.
- create_
time str - Create time.
- end_
time str - End time.
- job_
execution_ Sequence[Getlists Wedata Sql Script Runs Data Job Execution List] - 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_ booltruncate - 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.
- create
Time String - Create time.
- end
Time String - End time.
- job
Execution List<Property Map>Lists - Subtask list.
- job
Id String - Job ID.
- job
Name String - Data exploration task name.
- job
Type String - Job type.
- owner
Uin String - Cloud owner account UIN.
- script
Content String - Script content.
- script
Content BooleanTruncate - Whether the script content is truncated.
- script
Id String - Script ID.
- status String
- Task status.
- time
Cost Number - Time consumed.
- update
Time String - Update time.
- user
Uin String - Account UIN.
GetWedataSqlScriptRunsDataJobExecutionList
- Collecting
Total boolResult - Whether collecting full results: default false, true means collecting full results, used for frontend polling.
- Context
Script List<string>Contents - Context SQL content.
- Create
Time string - Create time.
- End
Time string - End time.
- Execute
Stage stringInfo - Execution phase.
- Job
Execution stringId - Subquery task ID.
- Job
Execution stringName - Subquery name.
- Job
Id string - Job ID.
- Log
File stringPath - Log file path.
- Result
Effect doubleCount - Number of rows affected by the task execution result.
- Result
File stringPath - Result file path.
- Result
Preview doubleCount - Number of rows for previewing the task execution results.
- Result
Preview stringFile Path - Preview result file path.
- Result
Total doubleCount - Total number of rows in the task execution result.
- Script
Content string - Script content.
- Script
Content boolTruncate - Whether the script content is truncated.
- Status string
- Task status.
- Time
Cost double - Time consumed.
- Update
Time string - Update time.
- Collecting
Total boolResult - Whether collecting full results: default false, true means collecting full results, used for frontend polling.
- Context
Script []stringContents - Context SQL content.
- Create
Time string - Create time.
- End
Time string - End time.
- Execute
Stage stringInfo - Execution phase.
- Job
Execution stringId - Subquery task ID.
- Job
Execution stringName - Subquery name.
- Job
Id string - Job ID.
- Log
File stringPath - Log file path.
- Result
Effect float64Count - Number of rows affected by the task execution result.
- Result
File stringPath - Result file path.
- Result
Preview float64Count - Number of rows for previewing the task execution results.
- Result
Preview stringFile Path - Preview result file path.
- Result
Total float64Count - Total number of rows in the task execution result.
- Script
Content string - Script content.
- Script
Content boolTruncate - Whether the script content is truncated.
- Status string
- Task status.
- Time
Cost float64 - Time consumed.
- Update
Time string - Update time.
- collecting
Total BooleanResult - Whether collecting full results: default false, true means collecting full results, used for frontend polling.
- context
Script List<String>Contents - Context SQL content.
- create
Time String - Create time.
- end
Time String - End time.
- execute
Stage StringInfo - Execution phase.
- job
Execution StringId - Subquery task ID.
- job
Execution StringName - Subquery name.
- job
Id String - Job ID.
- log
File StringPath - Log file path.
- result
Effect DoubleCount - Number of rows affected by the task execution result.
- result
File StringPath - Result file path.
- result
Preview DoubleCount - Number of rows for previewing the task execution results.
- result
Preview StringFile Path - Preview result file path.
- result
Total DoubleCount - Total number of rows in the task execution result.
- script
Content String - Script content.
- script
Content BooleanTruncate - Whether the script content is truncated.
- status String
- Task status.
- time
Cost Double - Time consumed.
- update
Time String - Update time.
- collecting
Total booleanResult - Whether collecting full results: default false, true means collecting full results, used for frontend polling.
- context
Script string[]Contents - Context SQL content.
- create
Time string - Create time.
- end
Time string - End time.
- execute
Stage stringInfo - Execution phase.
- job
Execution stringId - Subquery task ID.
- job
Execution stringName - Subquery name.
- job
Id string - Job ID.
- log
File stringPath - Log file path.
- result
Effect numberCount - Number of rows affected by the task execution result.
- result
File stringPath - Result file path.
- result
Preview numberCount - Number of rows for previewing the task execution results.
- result
Preview stringFile Path - Preview result file path.
- result
Total numberCount - Total number of rows in the task execution result.
- script
Content string - Script content.
- script
Content booleanTruncate - Whether the script content is truncated.
- status string
- Task status.
- time
Cost number - Time consumed.
- update
Time string - Update time.
- collecting_
total_ boolresult - Whether collecting full results: default false, true means collecting full results, used for frontend polling.
- context_
script_ Sequence[str]contents - Context SQL content.
- create_
time str - Create time.
- end_
time str - End time.
- execute_
stage_ strinfo - Execution phase.
- job_
execution_ strid - Subquery task ID.
- job_
execution_ strname - Subquery name.
- job_
id str - Job ID.
- log_
file_ strpath - Log file path.
- result_
effect_ floatcount - Number of rows affected by the task execution result.
- result_
file_ strpath - Result file path.
- result_
preview_ floatcount - Number of rows for previewing the task execution results.
- result_
preview_ strfile_ path - Preview result file path.
- result_
total_ floatcount - Total number of rows in the task execution result.
- script_
content str - Script content.
- script_
content_ booltruncate - Whether the script content is truncated.
- status str
- Task status.
- time_
cost float - Time consumed.
- update_
time str - Update time.
- collecting
Total BooleanResult - Whether collecting full results: default false, true means collecting full results, used for frontend polling.
- context
Script List<String>Contents - Context SQL content.
- create
Time String - Create time.
- end
Time String - End time.
- execute
Stage StringInfo - Execution phase.
- job
Execution StringId - Subquery task ID.
- job
Execution StringName - Subquery name.
- job
Id String - Job ID.
- log
File StringPath - Log file path.
- result
Effect NumberCount - Number of rows affected by the task execution result.
- result
File StringPath - Result file path.
- result
Preview NumberCount - Number of rows for previewing the task execution results.
- result
Preview StringFile Path - Preview result file path.
- result
Total NumberCount - Total number of rows in the task execution result.
- script
Content String - Script content.
- script
Content BooleanTruncate - Whether the script content is truncated.
- status String
- Task status.
- time
Cost Number - Time consumed.
- update
Time String - Update time.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
