tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.WedataOpsTask
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Provides a resource to create a wedata ops task
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const wedataOpsTask = new tencentcloud.WedataOpsTask("wedata_ops_task", {
projectId: "1859317240494305280",
taskId: "20251013154418424",
action: "START",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
wedata_ops_task = tencentcloud.WedataOpsTask("wedata_ops_task",
project_id="1859317240494305280",
task_id="20251013154418424",
action="START")
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.NewWedataOpsTask(ctx, "wedata_ops_task", &tencentcloud.WedataOpsTaskArgs{
ProjectId: pulumi.String("1859317240494305280"),
TaskId: pulumi.String("20251013154418424"),
Action: pulumi.String("START"),
})
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 wedataOpsTask = new Tencentcloud.WedataOpsTask("wedata_ops_task", new()
{
ProjectId = "1859317240494305280",
TaskId = "20251013154418424",
Action = "START",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.WedataOpsTask;
import com.pulumi.tencentcloud.WedataOpsTaskArgs;
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) {
var wedataOpsTask = new WedataOpsTask("wedataOpsTask", WedataOpsTaskArgs.builder()
.projectId("1859317240494305280")
.taskId("20251013154418424")
.action("START")
.build());
}
}
resources:
wedataOpsTask:
type: tencentcloud:WedataOpsTask
name: wedata_ops_task
properties:
projectId: '1859317240494305280'
taskId: '20251013154418424'
action: START
Create WedataOpsTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WedataOpsTask(name: string, args: WedataOpsTaskArgs, opts?: CustomResourceOptions);@overload
def WedataOpsTask(resource_name: str,
args: WedataOpsTaskArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WedataOpsTask(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
project_id: Optional[str] = None,
task_id: Optional[str] = None,
enable_data_backfill: Optional[bool] = None,
kill_instance: Optional[bool] = None,
wedata_ops_task_id: Optional[str] = None)func NewWedataOpsTask(ctx *Context, name string, args WedataOpsTaskArgs, opts ...ResourceOption) (*WedataOpsTask, error)public WedataOpsTask(string name, WedataOpsTaskArgs args, CustomResourceOptions? opts = null)
public WedataOpsTask(String name, WedataOpsTaskArgs args)
public WedataOpsTask(String name, WedataOpsTaskArgs args, CustomResourceOptions options)
type: tencentcloud:WedataOpsTask
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WedataOpsTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WedataOpsTaskArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WedataOpsTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WedataOpsTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WedataOpsTaskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WedataOpsTask Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WedataOpsTask resource accepts the following input properties:
- Action string
- Action. Valid values:
START,PAUSE. - Project
Id string - Project Id.
- Task
Id string - Task id.
- Enable
Data boolBackfill - Whether to re-record the intermediate instance from the last pause to the current one when starting. The default value is false, which means no re-recording.
- Kill
Instance bool - Whether required to terminate the generated instance.
- Wedata
Ops stringTask Id - ID of the resource.
- Action string
- Action. Valid values:
START,PAUSE. - Project
Id string - Project Id.
- Task
Id string - Task id.
- Enable
Data boolBackfill - Whether to re-record the intermediate instance from the last pause to the current one when starting. The default value is false, which means no re-recording.
- Kill
Instance bool - Whether required to terminate the generated instance.
- Wedata
Ops stringTask Id - ID of the resource.
- action String
- Action. Valid values:
START,PAUSE. - project
Id String - Project Id.
- task
Id String - Task id.
- enable
Data BooleanBackfill - Whether to re-record the intermediate instance from the last pause to the current one when starting. The default value is false, which means no re-recording.
- kill
Instance Boolean - Whether required to terminate the generated instance.
- wedata
Ops StringTask Id - ID of the resource.
- action string
- Action. Valid values:
START,PAUSE. - project
Id string - Project Id.
- task
Id string - Task id.
- enable
Data booleanBackfill - Whether to re-record the intermediate instance from the last pause to the current one when starting. The default value is false, which means no re-recording.
- kill
Instance boolean - Whether required to terminate the generated instance.
- wedata
Ops stringTask Id - ID of the resource.
- action str
- Action. Valid values:
START,PAUSE. - project_
id str - Project Id.
- task_
id str - Task id.
- enable_
data_ boolbackfill - Whether to re-record the intermediate instance from the last pause to the current one when starting. The default value is false, which means no re-recording.
- kill_
instance bool - Whether required to terminate the generated instance.
- wedata_
ops_ strtask_ id - ID of the resource.
- action String
- Action. Valid values:
START,PAUSE. - project
Id String - Project Id.
- task
Id String - Task id.
- enable
Data BooleanBackfill - Whether to re-record the intermediate instance from the last pause to the current one when starting. The default value is false, which means no re-recording.
- kill
Instance Boolean - Whether required to terminate the generated instance.
- wedata
Ops StringTask Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WedataOpsTask resource produces the following output properties:
Look up Existing WedataOpsTask Resource
Get an existing WedataOpsTask resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WedataOpsTaskState, opts?: CustomResourceOptions): WedataOpsTask@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
enable_data_backfill: Optional[bool] = None,
kill_instance: Optional[bool] = None,
project_id: Optional[str] = None,
status: Optional[str] = None,
task_id: Optional[str] = None,
wedata_ops_task_id: Optional[str] = None) -> WedataOpsTaskfunc GetWedataOpsTask(ctx *Context, name string, id IDInput, state *WedataOpsTaskState, opts ...ResourceOption) (*WedataOpsTask, error)public static WedataOpsTask Get(string name, Input<string> id, WedataOpsTaskState? state, CustomResourceOptions? opts = null)public static WedataOpsTask get(String name, Output<String> id, WedataOpsTaskState state, CustomResourceOptions options)resources: _: type: tencentcloud:WedataOpsTask get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Action string
- Action. Valid values:
START,PAUSE. - Enable
Data boolBackfill - Whether to re-record the intermediate instance from the last pause to the current one when starting. The default value is false, which means no re-recording.
- Kill
Instance bool - Whether required to terminate the generated instance.
- Project
Id string - Project Id.
- Status string
- Task status.
- Task
Id string - Task id.
- Wedata
Ops stringTask Id - ID of the resource.
- Action string
- Action. Valid values:
START,PAUSE. - Enable
Data boolBackfill - Whether to re-record the intermediate instance from the last pause to the current one when starting. The default value is false, which means no re-recording.
- Kill
Instance bool - Whether required to terminate the generated instance.
- Project
Id string - Project Id.
- Status string
- Task status.
- Task
Id string - Task id.
- Wedata
Ops stringTask Id - ID of the resource.
- action String
- Action. Valid values:
START,PAUSE. - enable
Data BooleanBackfill - Whether to re-record the intermediate instance from the last pause to the current one when starting. The default value is false, which means no re-recording.
- kill
Instance Boolean - Whether required to terminate the generated instance.
- project
Id String - Project Id.
- status String
- Task status.
- task
Id String - Task id.
- wedata
Ops StringTask Id - ID of the resource.
- action string
- Action. Valid values:
START,PAUSE. - enable
Data booleanBackfill - Whether to re-record the intermediate instance from the last pause to the current one when starting. The default value is false, which means no re-recording.
- kill
Instance boolean - Whether required to terminate the generated instance.
- project
Id string - Project Id.
- status string
- Task status.
- task
Id string - Task id.
- wedata
Ops stringTask Id - ID of the resource.
- action str
- Action. Valid values:
START,PAUSE. - enable_
data_ boolbackfill - Whether to re-record the intermediate instance from the last pause to the current one when starting. The default value is false, which means no re-recording.
- kill_
instance bool - Whether required to terminate the generated instance.
- project_
id str - Project Id.
- status str
- Task status.
- task_
id str - Task id.
- wedata_
ops_ strtask_ id - ID of the resource.
- action String
- Action. Valid values:
START,PAUSE. - enable
Data BooleanBackfill - Whether to re-record the intermediate instance from the last pause to the current one when starting. The default value is false, which means no re-recording.
- kill
Instance Boolean - Whether required to terminate the generated instance.
- project
Id String - Project Id.
- status String
- Task status.
- task
Id String - Task id.
- wedata
Ops StringTask Id - ID of the resource.
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
