1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. WedataOpsTask
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack

tencentcloud.WedataOpsTask

Start a Neo task
Explain and create a tencentcloud.WedataOpsTask resource
tencentcloud logo
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.
    ProjectId string
    Project Id.
    TaskId string
    Task id.
    EnableDataBackfill bool
    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.
    KillInstance bool
    Whether required to terminate the generated instance.
    WedataOpsTaskId string
    ID of the resource.
    Action string
    Action. Valid values: START, PAUSE.
    ProjectId string
    Project Id.
    TaskId string
    Task id.
    EnableDataBackfill bool
    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.
    KillInstance bool
    Whether required to terminate the generated instance.
    WedataOpsTaskId string
    ID of the resource.
    action String
    Action. Valid values: START, PAUSE.
    projectId String
    Project Id.
    taskId String
    Task id.
    enableDataBackfill Boolean
    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.
    killInstance Boolean
    Whether required to terminate the generated instance.
    wedataOpsTaskId String
    ID of the resource.
    action string
    Action. Valid values: START, PAUSE.
    projectId string
    Project Id.
    taskId string
    Task id.
    enableDataBackfill boolean
    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.
    killInstance boolean
    Whether required to terminate the generated instance.
    wedataOpsTaskId string
    ID of the resource.
    action str
    Action. Valid values: START, PAUSE.
    project_id str
    Project Id.
    task_id str
    Task id.
    enable_data_backfill bool
    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_task_id str
    ID of the resource.
    action String
    Action. Valid values: START, PAUSE.
    projectId String
    Project Id.
    taskId String
    Task id.
    enableDataBackfill Boolean
    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.
    killInstance Boolean
    Whether required to terminate the generated instance.
    wedataOpsTaskId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WedataOpsTask resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Task status.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Task status.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Task status.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Task status.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Task status.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Task status.

    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) -> WedataOpsTask
    func 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.
    The following state arguments are supported:
    Action string
    Action. Valid values: START, PAUSE.
    EnableDataBackfill bool
    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.
    KillInstance bool
    Whether required to terminate the generated instance.
    ProjectId string
    Project Id.
    Status string
    Task status.
    TaskId string
    Task id.
    WedataOpsTaskId string
    ID of the resource.
    Action string
    Action. Valid values: START, PAUSE.
    EnableDataBackfill bool
    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.
    KillInstance bool
    Whether required to terminate the generated instance.
    ProjectId string
    Project Id.
    Status string
    Task status.
    TaskId string
    Task id.
    WedataOpsTaskId string
    ID of the resource.
    action String
    Action. Valid values: START, PAUSE.
    enableDataBackfill Boolean
    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.
    killInstance Boolean
    Whether required to terminate the generated instance.
    projectId String
    Project Id.
    status String
    Task status.
    taskId String
    Task id.
    wedataOpsTaskId String
    ID of the resource.
    action string
    Action. Valid values: START, PAUSE.
    enableDataBackfill boolean
    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.
    killInstance boolean
    Whether required to terminate the generated instance.
    projectId string
    Project Id.
    status string
    Task status.
    taskId string
    Task id.
    wedataOpsTaskId string
    ID of the resource.
    action str
    Action. Valid values: START, PAUSE.
    enable_data_backfill bool
    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_task_id str
    ID of the resource.
    action String
    Action. Valid values: START, PAUSE.
    enableDataBackfill Boolean
    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.
    killInstance Boolean
    Whether required to terminate the generated instance.
    projectId String
    Project Id.
    status String
    Task status.
    taskId String
    Task id.
    wedataOpsTaskId String
    ID of the resource.

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