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

tencentcloud.getWedataTaskInstance

Start a Neo task
Explain and create a tencentcloud.getWedataTaskInstance resource
tencentcloud logo
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack

    Use this data source to query detailed information of wedata task instance

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const wedataTaskInstance = tencentcloud.getWedataTaskInstance({
        projectId: "1859317240494305280",
        instanceKey: "20250324192240178_2025-10-13 11:50:00",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    wedata_task_instance = tencentcloud.get_wedata_task_instance(project_id="1859317240494305280",
        instance_key="20250324192240178_2025-10-13 11:50:00")
    
    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.GetWedataTaskInstance(ctx, &tencentcloud.GetWedataTaskInstanceArgs{
    			ProjectId:   "1859317240494305280",
    			InstanceKey: "20250324192240178_2025-10-13 11:50:00",
    		}, 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 wedataTaskInstance = Tencentcloud.GetWedataTaskInstance.Invoke(new()
        {
            ProjectId = "1859317240494305280",
            InstanceKey = "20250324192240178_2025-10-13 11:50:00",
        });
    
    });
    
    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.GetWedataTaskInstanceArgs;
    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 wedataTaskInstance = TencentcloudFunctions.getWedataTaskInstance(GetWedataTaskInstanceArgs.builder()
                .projectId("1859317240494305280")
                .instanceKey("20250324192240178_2025-10-13 11:50:00")
                .build());
    
        }
    }
    
    variables:
      wedataTaskInstance:
        fn::invoke:
          function: tencentcloud:getWedataTaskInstance
          arguments:
            projectId: '1859317240494305280'
            instanceKey: 20250324192240178_2025-10-13 11:50:00
    

    Using getWedataTaskInstance

    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 getWedataTaskInstance(args: GetWedataTaskInstanceArgs, opts?: InvokeOptions): Promise<GetWedataTaskInstanceResult>
    function getWedataTaskInstanceOutput(args: GetWedataTaskInstanceOutputArgs, opts?: InvokeOptions): Output<GetWedataTaskInstanceResult>
    def get_wedata_task_instance(id: Optional[str] = None,
                                 instance_key: Optional[str] = None,
                                 project_id: Optional[str] = None,
                                 result_output_file: Optional[str] = None,
                                 time_zone: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetWedataTaskInstanceResult
    def get_wedata_task_instance_output(id: Optional[pulumi.Input[str]] = None,
                                 instance_key: Optional[pulumi.Input[str]] = None,
                                 project_id: Optional[pulumi.Input[str]] = None,
                                 result_output_file: Optional[pulumi.Input[str]] = None,
                                 time_zone: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetWedataTaskInstanceResult]
    func GetWedataTaskInstance(ctx *Context, args *GetWedataTaskInstanceArgs, opts ...InvokeOption) (*GetWedataTaskInstanceResult, error)
    func GetWedataTaskInstanceOutput(ctx *Context, args *GetWedataTaskInstanceOutputArgs, opts ...InvokeOption) GetWedataTaskInstanceResultOutput

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

    public static class GetWedataTaskInstance 
    {
        public static Task<GetWedataTaskInstanceResult> InvokeAsync(GetWedataTaskInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetWedataTaskInstanceResult> Invoke(GetWedataTaskInstanceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWedataTaskInstanceResult> getWedataTaskInstance(GetWedataTaskInstanceArgs args, InvokeOptions options)
    public static Output<GetWedataTaskInstanceResult> getWedataTaskInstance(GetWedataTaskInstanceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getWedataTaskInstance:getWedataTaskInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceKey string
    Unique instance identifier, can be obtained via ListInstances.
    ProjectId string
    Project ID.
    Id string
    ResultOutputFile string
    Used to save results.
    TimeZone string
    Time zone, the time zone of the input time string, default UTC+8.
    InstanceKey string
    Unique instance identifier, can be obtained via ListInstances.
    ProjectId string
    Project ID.
    Id string
    ResultOutputFile string
    Used to save results.
    TimeZone string
    Time zone, the time zone of the input time string, default UTC+8.
    instanceKey String
    Unique instance identifier, can be obtained via ListInstances.
    projectId String
    Project ID.
    id String
    resultOutputFile String
    Used to save results.
    timeZone String
    Time zone, the time zone of the input time string, default UTC+8.
    instanceKey string
    Unique instance identifier, can be obtained via ListInstances.
    projectId string
    Project ID.
    id string
    resultOutputFile string
    Used to save results.
    timeZone string
    Time zone, the time zone of the input time string, default UTC+8.
    instance_key str
    Unique instance identifier, can be obtained via ListInstances.
    project_id str
    Project ID.
    id str
    result_output_file str
    Used to save results.
    time_zone str
    Time zone, the time zone of the input time string, default UTC+8.
    instanceKey String
    Unique instance identifier, can be obtained via ListInstances.
    projectId String
    Project ID.
    id String
    resultOutputFile String
    Used to save results.
    timeZone String
    Time zone, the time zone of the input time string, default UTC+8.

    getWedataTaskInstance Result

    The following output properties are available:

    Datas []GetWedataTaskInstanceData
    Instance details.
    Id string
    InstanceKey string
    ProjectId string
    ResultOutputFile string
    TimeZone string
    datas GetWedataTaskInstanceData[]
    Instance details.
    id string
    instanceKey string
    projectId string
    resultOutputFile string
    timeZone string
    datas List<Property Map>
    Instance details.
    id String
    instanceKey String
    projectId String
    resultOutputFile String
    timeZone String

    Supporting Types

    GetWedataTaskInstanceData

    CostTime double
    CurRunDate string
    CycleType string
    EndTime string
    ExecutorGroupId string
    ExecutorGroupName string
    FolderId string
    FolderName string
    InstanceKey string
    Unique instance identifier, can be obtained via ListInstances.
    InstanceState string
    InstanceType double
    JobErrorMsg string
    LastUpdateTime string
    OwnerUinLists List<string>
    ProjectId string
    Project ID.
    SchedulerTime string
    StartTime string
    TaskId string
    TaskName string
    TaskType string
    TaskTypeId double
    TotalRunNum double
    Tries double
    TryLimit double
    WorkflowId string
    WorkflowName string
    CostTime float64
    CurRunDate string
    CycleType string
    EndTime string
    ExecutorGroupId string
    ExecutorGroupName string
    FolderId string
    FolderName string
    InstanceKey string
    Unique instance identifier, can be obtained via ListInstances.
    InstanceState string
    InstanceType float64
    JobErrorMsg string
    LastUpdateTime string
    OwnerUinLists []string
    ProjectId string
    Project ID.
    SchedulerTime string
    StartTime string
    TaskId string
    TaskName string
    TaskType string
    TaskTypeId float64
    TotalRunNum float64
    Tries float64
    TryLimit float64
    WorkflowId string
    WorkflowName string
    costTime Double
    curRunDate String
    cycleType String
    endTime String
    executorGroupId String
    executorGroupName String
    folderId String
    folderName String
    instanceKey String
    Unique instance identifier, can be obtained via ListInstances.
    instanceState String
    instanceType Double
    jobErrorMsg String
    lastUpdateTime String
    ownerUinLists List<String>
    projectId String
    Project ID.
    schedulerTime String
    startTime String
    taskId String
    taskName String
    taskType String
    taskTypeId Double
    totalRunNum Double
    tries Double
    tryLimit Double
    workflowId String
    workflowName String
    costTime number
    curRunDate string
    cycleType string
    endTime string
    executorGroupId string
    executorGroupName string
    folderId string
    folderName string
    instanceKey string
    Unique instance identifier, can be obtained via ListInstances.
    instanceState string
    instanceType number
    jobErrorMsg string
    lastUpdateTime string
    ownerUinLists string[]
    projectId string
    Project ID.
    schedulerTime string
    startTime string
    taskId string
    taskName string
    taskType string
    taskTypeId number
    totalRunNum number
    tries number
    tryLimit number
    workflowId string
    workflowName string
    costTime Number
    curRunDate String
    cycleType String
    endTime String
    executorGroupId String
    executorGroupName String
    folderId String
    folderName String
    instanceKey String
    Unique instance identifier, can be obtained via ListInstances.
    instanceState String
    instanceType Number
    jobErrorMsg String
    lastUpdateTime String
    ownerUinLists List<String>
    projectId String
    Project ID.
    schedulerTime String
    startTime String
    taskId String
    taskName String
    taskType String
    taskTypeId Number
    totalRunNum Number
    tries Number
    tryLimit Number
    workflowId String
    workflowName String

    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