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

tencentcloud.WedataTaskKillInstanceAsync

Get Started
tencentcloud logo
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack

    Provides a resource to create a wedata task kill instance

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const wedataTaskKillInstanceAsync = new tencentcloud.WedataTaskKillInstanceAsync("wedata_task_kill_instance_async", {
        projectId: "1859317240494305280",
        instanceKeyLists: ["20250324192240178_2025-10-13 17:00:00"],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    wedata_task_kill_instance_async = tencentcloud.WedataTaskKillInstanceAsync("wedata_task_kill_instance_async",
        project_id="1859317240494305280",
        instance_key_lists=["20250324192240178_2025-10-13 17:00:00"])
    
    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.NewWedataTaskKillInstanceAsync(ctx, "wedata_task_kill_instance_async", &tencentcloud.WedataTaskKillInstanceAsyncArgs{
    			ProjectId: pulumi.String("1859317240494305280"),
    			InstanceKeyLists: pulumi.StringArray{
    				pulumi.String("20250324192240178_2025-10-13 17:00:00"),
    			},
    		})
    		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 wedataTaskKillInstanceAsync = new Tencentcloud.WedataTaskKillInstanceAsync("wedata_task_kill_instance_async", new()
        {
            ProjectId = "1859317240494305280",
            InstanceKeyLists = new[]
            {
                "20250324192240178_2025-10-13 17:00:00",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.WedataTaskKillInstanceAsync;
    import com.pulumi.tencentcloud.WedataTaskKillInstanceAsyncArgs;
    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 wedataTaskKillInstanceAsync = new WedataTaskKillInstanceAsync("wedataTaskKillInstanceAsync", WedataTaskKillInstanceAsyncArgs.builder()
                .projectId("1859317240494305280")
                .instanceKeyLists("20250324192240178_2025-10-13 17:00:00")
                .build());
    
        }
    }
    
    resources:
      wedataTaskKillInstanceAsync:
        type: tencentcloud:WedataTaskKillInstanceAsync
        name: wedata_task_kill_instance_async
        properties:
          projectId: '1859317240494305280'
          instanceKeyLists:
            - 20250324192240178_2025-10-13 17:00:00
    

    Create WedataTaskKillInstanceAsync Resource

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

    Constructor syntax

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

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

    InstanceKeyLists List<string>
    Instance id list, which can be obtained from ListInstances.
    ProjectId string
    Project Id.
    WedataTaskKillInstanceAsyncId string
    ID of the resource.
    InstanceKeyLists []string
    Instance id list, which can be obtained from ListInstances.
    ProjectId string
    Project Id.
    WedataTaskKillInstanceAsyncId string
    ID of the resource.
    instanceKeyLists List<String>
    Instance id list, which can be obtained from ListInstances.
    projectId String
    Project Id.
    wedataTaskKillInstanceAsyncId String
    ID of the resource.
    instanceKeyLists string[]
    Instance id list, which can be obtained from ListInstances.
    projectId string
    Project Id.
    wedataTaskKillInstanceAsyncId string
    ID of the resource.
    instance_key_lists Sequence[str]
    Instance id list, which can be obtained from ListInstances.
    project_id str
    Project Id.
    wedata_task_kill_instance_async_id str
    ID of the resource.
    instanceKeyLists List<String>
    Instance id list, which can be obtained from ListInstances.
    projectId String
    Project Id.
    wedataTaskKillInstanceAsyncId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WedataTaskKillInstanceAsync 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 WedataTaskKillInstanceAsync Resource

    Get an existing WedataTaskKillInstanceAsync 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?: WedataTaskKillInstanceAsyncState, opts?: CustomResourceOptions): WedataTaskKillInstanceAsync
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            instance_key_lists: Optional[Sequence[str]] = None,
            project_id: Optional[str] = None,
            wedata_task_kill_instance_async_id: Optional[str] = None) -> WedataTaskKillInstanceAsync
    func GetWedataTaskKillInstanceAsync(ctx *Context, name string, id IDInput, state *WedataTaskKillInstanceAsyncState, opts ...ResourceOption) (*WedataTaskKillInstanceAsync, error)
    public static WedataTaskKillInstanceAsync Get(string name, Input<string> id, WedataTaskKillInstanceAsyncState? state, CustomResourceOptions? opts = null)
    public static WedataTaskKillInstanceAsync get(String name, Output<String> id, WedataTaskKillInstanceAsyncState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:WedataTaskKillInstanceAsync    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:
    InstanceKeyLists List<string>
    Instance id list, which can be obtained from ListInstances.
    ProjectId string
    Project Id.
    WedataTaskKillInstanceAsyncId string
    ID of the resource.
    InstanceKeyLists []string
    Instance id list, which can be obtained from ListInstances.
    ProjectId string
    Project Id.
    WedataTaskKillInstanceAsyncId string
    ID of the resource.
    instanceKeyLists List<String>
    Instance id list, which can be obtained from ListInstances.
    projectId String
    Project Id.
    wedataTaskKillInstanceAsyncId String
    ID of the resource.
    instanceKeyLists string[]
    Instance id list, which can be obtained from ListInstances.
    projectId string
    Project Id.
    wedataTaskKillInstanceAsyncId string
    ID of the resource.
    instance_key_lists Sequence[str]
    Instance id list, which can be obtained from ListInstances.
    project_id str
    Project Id.
    wedata_task_kill_instance_async_id str
    ID of the resource.
    instanceKeyLists List<String>
    Instance id list, which can be obtained from ListInstances.
    projectId String
    Project Id.
    wedataTaskKillInstanceAsyncId 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