tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getWedataTaskCode
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 dictionaryThe following arguments are supported:
- Project
Id string - The project id.
- Task
Id string - Task ID.
- Id string
- Result
Output stringFile - Used to save results.
- Project
Id string - The project id.
- Task
Id string - Task ID.
- Id string
- Result
Output stringFile - Used to save results.
- project
Id String - The project id.
- task
Id String - Task ID.
- id String
- result
Output StringFile - Used to save results.
- project
Id string - The project id.
- task
Id string - Task ID.
- id string
- result
Output stringFile - Used to save results.
- project_
id str - The project id.
- task_
id str - Task ID.
- id str
- result_
output_ strfile - Used to save results.
- project
Id String - The project id.
- task
Id String - Task ID.
- id String
- result
Output StringFile - Used to save results.
getWedataTaskCode Result
The following output properties are available:
- Datas
List<Get
Wedata Task Code Data> - Retrieves the task code result.
- Id string
- Project
Id string - Task
Id string - Result
Output stringFile
- Datas
[]Get
Wedata Task Code Data - Retrieves the task code result.
- Id string
- Project
Id string - Task
Id string - Result
Output stringFile
- datas
List<Get
Wedata Task Code Data> - Retrieves the task code result.
- id String
- project
Id String - task
Id String - result
Output StringFile
- datas
Get
Wedata Task Code Data[] - Retrieves the task code result.
- id string
- project
Id string - task
Id string - result
Output stringFile
- datas
Sequence[Get
Wedata Task Code Data] - Retrieves the task code result.
- id str
- project_
id str - task_
id str - result_
output_ strfile
- datas List<Property Map>
- Retrieves the task code result.
- id String
- project
Id String - task
Id String - result
Output StringFile
Supporting Types
GetWedataTaskCodeData
- Code
File stringSize - Code
Info string
- Code
File stringSize - Code
Info string
- code
File StringSize - code
Info String
- code
File stringSize - code
Info string
- code_
file_ strsize - code_
info str
- code
File StringSize - code
Info String
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
