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

tencentcloud.WedataOpsStopTaskAsync

Start a Neo task
Explain and create a tencentcloud.WedataOpsStopTaskAsync resource
tencentcloud logo
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack

    Provides a resource to create a wedata ops stop task async

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const wedataOpsStopTaskAsync = new tencentcloud.WedataOpsStopTaskAsync("wedata_ops_stop_task_async", {
        projectId: "1859317240494305280",
        taskIds: ["20251013154418424"],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    wedata_ops_stop_task_async = tencentcloud.WedataOpsStopTaskAsync("wedata_ops_stop_task_async",
        project_id="1859317240494305280",
        task_ids=["20251013154418424"])
    
    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.NewWedataOpsStopTaskAsync(ctx, "wedata_ops_stop_task_async", &tencentcloud.WedataOpsStopTaskAsyncArgs{
    			ProjectId: pulumi.String("1859317240494305280"),
    			TaskIds: pulumi.StringArray{
    				pulumi.String("20251013154418424"),
    			},
    		})
    		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 wedataOpsStopTaskAsync = new Tencentcloud.WedataOpsStopTaskAsync("wedata_ops_stop_task_async", new()
        {
            ProjectId = "1859317240494305280",
            TaskIds = new[]
            {
                "20251013154418424",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.WedataOpsStopTaskAsync;
    import com.pulumi.tencentcloud.WedataOpsStopTaskAsyncArgs;
    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 wedataOpsStopTaskAsync = new WedataOpsStopTaskAsync("wedataOpsStopTaskAsync", WedataOpsStopTaskAsyncArgs.builder()
                .projectId("1859317240494305280")
                .taskIds("20251013154418424")
                .build());
    
        }
    }
    
    resources:
      wedataOpsStopTaskAsync:
        type: tencentcloud:WedataOpsStopTaskAsync
        name: wedata_ops_stop_task_async
        properties:
          projectId: '1859317240494305280'
          taskIds:
            - '20251013154418424'
    

    Create WedataOpsStopTaskAsync Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WedataOpsStopTaskAsync(name: string, args: WedataOpsStopTaskAsyncArgs, opts?: CustomResourceOptions);
    @overload
    def WedataOpsStopTaskAsync(resource_name: str,
                               args: WedataOpsStopTaskAsyncArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def WedataOpsStopTaskAsync(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               project_id: Optional[str] = None,
                               task_ids: Optional[Sequence[str]] = None,
                               kill_instance: Optional[bool] = None,
                               wedata_ops_stop_task_async_id: Optional[str] = None)
    func NewWedataOpsStopTaskAsync(ctx *Context, name string, args WedataOpsStopTaskAsyncArgs, opts ...ResourceOption) (*WedataOpsStopTaskAsync, error)
    public WedataOpsStopTaskAsync(string name, WedataOpsStopTaskAsyncArgs args, CustomResourceOptions? opts = null)
    public WedataOpsStopTaskAsync(String name, WedataOpsStopTaskAsyncArgs args)
    public WedataOpsStopTaskAsync(String name, WedataOpsStopTaskAsyncArgs args, CustomResourceOptions options)
    
    type: tencentcloud:WedataOpsStopTaskAsync
    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 WedataOpsStopTaskAsyncArgs
    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 WedataOpsStopTaskAsyncArgs
    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 WedataOpsStopTaskAsyncArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WedataOpsStopTaskAsyncArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WedataOpsStopTaskAsyncArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    WedataOpsStopTaskAsync 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 WedataOpsStopTaskAsync resource accepts the following input properties:

    ProjectId string
    Project id.
    TaskIds List<string>
    Task id list.
    KillInstance bool
    Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
    WedataOpsStopTaskAsyncId string
    ID of the resource.
    ProjectId string
    Project id.
    TaskIds []string
    Task id list.
    KillInstance bool
    Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
    WedataOpsStopTaskAsyncId string
    ID of the resource.
    projectId String
    Project id.
    taskIds List<String>
    Task id list.
    killInstance Boolean
    Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
    wedataOpsStopTaskAsyncId String
    ID of the resource.
    projectId string
    Project id.
    taskIds string[]
    Task id list.
    killInstance boolean
    Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
    wedataOpsStopTaskAsyncId string
    ID of the resource.
    project_id str
    Project id.
    task_ids Sequence[str]
    Task id list.
    kill_instance bool
    Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
    wedata_ops_stop_task_async_id str
    ID of the resource.
    projectId String
    Project id.
    taskIds List<String>
    Task id list.
    killInstance Boolean
    Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
    wedataOpsStopTaskAsyncId String
    ID of the resource.

    Outputs

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

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

    Look up Existing WedataOpsStopTaskAsync Resource

    Get an existing WedataOpsStopTaskAsync 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?: WedataOpsStopTaskAsyncState, opts?: CustomResourceOptions): WedataOpsStopTaskAsync
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            kill_instance: Optional[bool] = None,
            project_id: Optional[str] = None,
            task_ids: Optional[Sequence[str]] = None,
            wedata_ops_stop_task_async_id: Optional[str] = None) -> WedataOpsStopTaskAsync
    func GetWedataOpsStopTaskAsync(ctx *Context, name string, id IDInput, state *WedataOpsStopTaskAsyncState, opts ...ResourceOption) (*WedataOpsStopTaskAsync, error)
    public static WedataOpsStopTaskAsync Get(string name, Input<string> id, WedataOpsStopTaskAsyncState? state, CustomResourceOptions? opts = null)
    public static WedataOpsStopTaskAsync get(String name, Output<String> id, WedataOpsStopTaskAsyncState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:WedataOpsStopTaskAsync    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:
    KillInstance bool
    Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
    ProjectId string
    Project id.
    TaskIds List<string>
    Task id list.
    WedataOpsStopTaskAsyncId string
    ID of the resource.
    KillInstance bool
    Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
    ProjectId string
    Project id.
    TaskIds []string
    Task id list.
    WedataOpsStopTaskAsyncId string
    ID of the resource.
    killInstance Boolean
    Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
    projectId String
    Project id.
    taskIds List<String>
    Task id list.
    wedataOpsStopTaskAsyncId String
    ID of the resource.
    killInstance boolean
    Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
    projectId string
    Project id.
    taskIds string[]
    Task id list.
    wedataOpsStopTaskAsyncId string
    ID of the resource.
    kill_instance bool
    Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
    project_id str
    Project id.
    task_ids Sequence[str]
    Task id list.
    wedata_ops_stop_task_async_id str
    ID of the resource.
    killInstance Boolean
    Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
    projectId String
    Project id.
    taskIds List<String>
    Task id list.
    wedataOpsStopTaskAsyncId 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