1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getWedataOpsTaskCode
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack

tencentcloud.getWedataOpsTaskCode

Start a Neo task
Explain and create a tencentcloud.getWedataOpsTaskCode resource
tencentcloud logo
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack

    Use this data source to query detailed information of wedata ops task code

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const wedataOpsTaskCode = tencentcloud.getWedataOpsTaskCode({
        projectId: "1859317240494305280",
        taskId: "20230901114849281",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    wedata_ops_task_code = tencentcloud.get_wedata_ops_task_code(project_id="1859317240494305280",
        task_id="20230901114849281")
    
    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.GetWedataOpsTaskCode(ctx, &tencentcloud.GetWedataOpsTaskCodeArgs{
    			ProjectId: "1859317240494305280",
    			TaskId:    "20230901114849281",
    		}, 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 wedataOpsTaskCode = Tencentcloud.GetWedataOpsTaskCode.Invoke(new()
        {
            ProjectId = "1859317240494305280",
            TaskId = "20230901114849281",
        });
    
    });
    
    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.GetWedataOpsTaskCodeArgs;
    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 wedataOpsTaskCode = TencentcloudFunctions.getWedataOpsTaskCode(GetWedataOpsTaskCodeArgs.builder()
                .projectId("1859317240494305280")
                .taskId("20230901114849281")
                .build());
    
        }
    }
    
    variables:
      wedataOpsTaskCode:
        fn::invoke:
          function: tencentcloud:getWedataOpsTaskCode
          arguments:
            projectId: '1859317240494305280'
            taskId: '20230901114849281'
    

    Using getWedataOpsTaskCode

    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 getWedataOpsTaskCode(args: GetWedataOpsTaskCodeArgs, opts?: InvokeOptions): Promise<GetWedataOpsTaskCodeResult>
    function getWedataOpsTaskCodeOutput(args: GetWedataOpsTaskCodeOutputArgs, opts?: InvokeOptions): Output<GetWedataOpsTaskCodeResult>
    def get_wedata_ops_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) -> GetWedataOpsTaskCodeResult
    def get_wedata_ops_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[GetWedataOpsTaskCodeResult]
    func GetWedataOpsTaskCode(ctx *Context, args *GetWedataOpsTaskCodeArgs, opts ...InvokeOption) (*GetWedataOpsTaskCodeResult, error)
    func GetWedataOpsTaskCodeOutput(ctx *Context, args *GetWedataOpsTaskCodeOutputArgs, opts ...InvokeOption) GetWedataOpsTaskCodeResultOutput

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

    public static class GetWedataOpsTaskCode 
    {
        public static Task<GetWedataOpsTaskCodeResult> InvokeAsync(GetWedataOpsTaskCodeArgs args, InvokeOptions? opts = null)
        public static Output<GetWedataOpsTaskCodeResult> Invoke(GetWedataOpsTaskCodeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWedataOpsTaskCodeResult> getWedataOpsTaskCode(GetWedataOpsTaskCodeArgs args, InvokeOptions options)
    public static Output<GetWedataOpsTaskCodeResult> getWedataOpsTaskCode(GetWedataOpsTaskCodeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getWedataOpsTaskCode:getWedataOpsTaskCode
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getWedataOpsTaskCode Result

    The following output properties are available:

    Datas List<GetWedataOpsTaskCodeData>
    Retrieves the task code result.
    Id string
    ProjectId string
    TaskId string
    ResultOutputFile string
    Datas []GetWedataOpsTaskCodeData
    Retrieves the task code result.
    Id string
    ProjectId string
    TaskId string
    ResultOutputFile string
    datas List<GetWedataOpsTaskCodeData>
    Retrieves the task code result.
    id String
    projectId String
    taskId String
    resultOutputFile String
    datas GetWedataOpsTaskCodeData[]
    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

    GetWedataOpsTaskCodeData

    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.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate