1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getWedataTriggerTaskCode
tencentcloud 1.82.68 published on Friday, Feb 6, 2026 by tencentcloudstack
tencentcloud logo
tencentcloud 1.82.68 published on Friday, Feb 6, 2026 by tencentcloudstack

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const wedataTriggerTaskCode = tencentcloud.getWedataTriggerTaskCode({
        projectId: "3108707295180644352",
        taskId: "20250109174507653",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    wedata_trigger_task_code = tencentcloud.get_wedata_trigger_task_code(project_id="3108707295180644352",
        task_id="20250109174507653")
    
    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.GetWedataTriggerTaskCode(ctx, &tencentcloud.GetWedataTriggerTaskCodeArgs{
    			ProjectId: "3108707295180644352",
    			TaskId:    "20250109174507653",
    		}, 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 wedataTriggerTaskCode = Tencentcloud.GetWedataTriggerTaskCode.Invoke(new()
        {
            ProjectId = "3108707295180644352",
            TaskId = "20250109174507653",
        });
    
    });
    
    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.GetWedataTriggerTaskCodeArgs;
    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 wedataTriggerTaskCode = TencentcloudFunctions.getWedataTriggerTaskCode(GetWedataTriggerTaskCodeArgs.builder()
                .projectId("3108707295180644352")
                .taskId("20250109174507653")
                .build());
    
        }
    }
    
    variables:
      wedataTriggerTaskCode:
        fn::invoke:
          function: tencentcloud:getWedataTriggerTaskCode
          arguments:
            projectId: '3108707295180644352'
            taskId: '20250109174507653'
    

    Using getWedataTriggerTaskCode

    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 getWedataTriggerTaskCode(args: GetWedataTriggerTaskCodeArgs, opts?: InvokeOptions): Promise<GetWedataTriggerTaskCodeResult>
    function getWedataTriggerTaskCodeOutput(args: GetWedataTriggerTaskCodeOutputArgs, opts?: InvokeOptions): Output<GetWedataTriggerTaskCodeResult>
    def get_wedata_trigger_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) -> GetWedataTriggerTaskCodeResult
    def get_wedata_trigger_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[GetWedataTriggerTaskCodeResult]
    func GetWedataTriggerTaskCode(ctx *Context, args *GetWedataTriggerTaskCodeArgs, opts ...InvokeOption) (*GetWedataTriggerTaskCodeResult, error)
    func GetWedataTriggerTaskCodeOutput(ctx *Context, args *GetWedataTriggerTaskCodeOutputArgs, opts ...InvokeOption) GetWedataTriggerTaskCodeResultOutput

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

    public static class GetWedataTriggerTaskCode 
    {
        public static Task<GetWedataTriggerTaskCodeResult> InvokeAsync(GetWedataTriggerTaskCodeArgs args, InvokeOptions? opts = null)
        public static Output<GetWedataTriggerTaskCodeResult> Invoke(GetWedataTriggerTaskCodeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWedataTriggerTaskCodeResult> getWedataTriggerTaskCode(GetWedataTriggerTaskCodeArgs args, InvokeOptions options)
    public static Output<GetWedataTriggerTaskCodeResult> getWedataTriggerTaskCode(GetWedataTriggerTaskCodeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getWedataTriggerTaskCode:getWedataTriggerTaskCode
      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.

    getWedataTriggerTaskCode Result

    The following output properties are available:

    Datas List<GetWedataTriggerTaskCodeData>
    Get task code results.
    Id string
    ProjectId string
    TaskId string
    ResultOutputFile string
    Datas []GetWedataTriggerTaskCodeData
    Get task code results.
    Id string
    ProjectId string
    TaskId string
    ResultOutputFile string
    datas List<GetWedataTriggerTaskCodeData>
    Get task code results.
    id String
    projectId String
    taskId String
    resultOutputFile String
    datas GetWedataTriggerTaskCodeData[]
    Get task code results.
    id string
    projectId string
    taskId string
    resultOutputFile string
    datas List<Property Map>
    Get task code results.
    id String
    projectId String
    taskId String
    resultOutputFile String

    Supporting Types

    GetWedataTriggerTaskCodeData

    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.68 published on Friday, Feb 6, 2026 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate