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

tencentcloud.getWedataTaskCode

Start a Neo task
Explain and create a tencentcloud.getWedataTaskCode 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 wedata_task_code

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const wedataTaskCode = tencentcloud.getWedataTaskCode({
        projectId: "2905622749543821312",
        taskId: "20251015164958429",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    wedata_task_code = tencentcloud.get_wedata_task_code(project_id="2905622749543821312",
        task_id="20251015164958429")
    
    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.GetWedataTaskCode(ctx, &tencentcloud.GetWedataTaskCodeArgs{
    			ProjectId: "2905622749543821312",
    			TaskId:    "20251015164958429",
    		}, 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 wedataTaskCode = Tencentcloud.GetWedataTaskCode.Invoke(new()
        {
            ProjectId = "2905622749543821312",
            TaskId = "20251015164958429",
        });
    
    });
    
    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.GetWedataTaskCodeArgs;
    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 wedataTaskCode = TencentcloudFunctions.getWedataTaskCode(GetWedataTaskCodeArgs.builder()
                .projectId("2905622749543821312")
                .taskId("20251015164958429")
                .build());
    
        }
    }
    
    variables:
      wedataTaskCode:
        fn::invoke:
          function: tencentcloud:getWedataTaskCode
          arguments:
            projectId: '2905622749543821312'
            taskId: '20251015164958429'
    

    Using getWedataTaskCode

    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 getWedataTaskCode(args: GetWedataTaskCodeArgs, opts?: InvokeOptions): Promise<GetWedataTaskCodeResult>
    function getWedataTaskCodeOutput(args: GetWedataTaskCodeOutputArgs, opts?: InvokeOptions): Output<GetWedataTaskCodeResult>
    def get_wedata_task_code(id: Optional[str] = None,
                             project_id: Optional[str] = None,
                             result_output_file: Optional[str] = None,
                             task_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetWedataTaskCodeResult
    def get_wedata_task_code_output(id: Optional[pulumi.Input[str]] = None,
                             project_id: Optional[pulumi.Input[str]] = None,
                             result_output_file: Optional[pulumi.Input[str]] = None,
                             task_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetWedataTaskCodeResult]
    func GetWedataTaskCode(ctx *Context, args *GetWedataTaskCodeArgs, opts ...InvokeOption) (*GetWedataTaskCodeResult, error)
    func GetWedataTaskCodeOutput(ctx *Context, args *GetWedataTaskCodeOutputArgs, opts ...InvokeOption) GetWedataTaskCodeResultOutput

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

    public static class GetWedataTaskCode 
    {
        public static Task<GetWedataTaskCodeResult> InvokeAsync(GetWedataTaskCodeArgs args, InvokeOptions? opts = null)
        public static Output<GetWedataTaskCodeResult> Invoke(GetWedataTaskCodeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWedataTaskCodeResult> getWedataTaskCode(GetWedataTaskCodeArgs args, InvokeOptions options)
    public static Output<GetWedataTaskCodeResult> getWedataTaskCode(GetWedataTaskCodeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getWedataTaskCode:getWedataTaskCode
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProjectId string
    The project id.
    TaskId string
    Task ID.
    Id string
    ResultOutputFile string
    Used to save results.
    ProjectId string
    The project id.
    TaskId string
    Task ID.
    Id string
    ResultOutputFile string
    Used to save results.
    projectId String
    The project id.
    taskId String
    Task ID.
    id String
    resultOutputFile String
    Used to save results.
    projectId string
    The project id.
    taskId string
    Task ID.
    id string
    resultOutputFile string
    Used to save results.
    project_id str
    The project id.
    task_id str
    Task ID.
    id str
    result_output_file str
    Used to save results.
    projectId String
    The project id.
    taskId String
    Task ID.
    id String
    resultOutputFile String
    Used to save results.

    getWedataTaskCode Result

    The following output properties are available:

    Datas List<GetWedataTaskCodeData>
    Retrieves the task code result.
    Id string
    ProjectId string
    TaskId string
    ResultOutputFile string
    Datas []GetWedataTaskCodeData
    Retrieves the task code result.
    Id string
    ProjectId string
    TaskId string
    ResultOutputFile string
    datas List<GetWedataTaskCodeData>
    Retrieves the task code result.
    id String
    projectId String
    taskId String
    resultOutputFile String
    datas GetWedataTaskCodeData[]
    Retrieves the task code result.
    id string
    projectId string
    taskId string
    resultOutputFile string
    datas List<Property Map>
    Retrieves the task code result.
    id String
    projectId String
    taskId String
    resultOutputFile String

    Supporting Types

    GetWedataTaskCodeData

    CodeFileSize string
    CodeInfo string
    CodeFileSize string
    CodeInfo string
    codeFileSize String
    codeInfo String
    codeFileSize string
    codeInfo string
    codeFileSize String
    codeInfo 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