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 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 dictionaryThe following arguments are supported:
- Project
Id string - Project id.
- Task
Id string - Task ID.
- Id string
- Result
Output stringFile - Used to save results.
- Project
Id string - Project id.
- Task
Id string - Task ID.
- Id string
- Result
Output stringFile - Used to save results.
- project
Id String - Project id.
- task
Id String - Task ID.
- id String
- result
Output StringFile - Used to save results.
- project
Id string - Project id.
- task
Id string - Task ID.
- id string
- result
Output stringFile - Used to save results.
- project_
id str - Project id.
- task_
id str - Task ID.
- id str
- result_
output_ strfile - Used to save results.
- project
Id String - Project id.
- task
Id String - Task ID.
- id String
- result
Output StringFile - Used to save results.
getWedataOpsTaskCode Result
The following output properties are available:
- Datas
List<Get
Wedata Ops Task Code Data> - Retrieves the task code result.
- Id string
- Project
Id string - Task
Id string - Result
Output stringFile
- Datas
[]Get
Wedata Ops Task Code Data - Retrieves the task code result.
- Id string
- Project
Id string - Task
Id string - Result
Output stringFile
- datas
List<Get
Wedata Ops Task Code Data> - Retrieves the task code result.
- id String
- project
Id String - task
Id String - result
Output StringFile
- datas
Get
Wedata Ops Task Code Data[] - Retrieves the task code result.
- id string
- project
Id string - task
Id string - result
Output stringFile
- datas
Sequence[Get
Wedata Ops 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
GetWedataOpsTaskCodeData
- Code
Content string - Code
File doubleSize
- Code
Content string - Code
File float64Size
- code
Content String - code
File DoubleSize
- code
Content string - code
File numberSize
- code_
content str - code_
file_ floatsize
- code
Content String - code
File NumberSize
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
