tencentcloud.WedataOpsStopTaskAsync
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:
- Project
Id string - Project id.
- Task
Ids List<string> - 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 stringStop Task Async Id - ID of the resource.
- Project
Id string - Project id.
- Task
Ids []string - 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 stringStop Task Async Id - ID of the resource.
- project
Id String - Project id.
- task
Ids List<String> - Task id list.
- kill
Instance Boolean - Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
- wedata
Ops StringStop Task Async Id - ID of the resource.
- project
Id string - Project id.
- task
Ids string[] - Task id list.
- kill
Instance boolean - Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
- wedata
Ops stringStop Task Async Id - 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_ strstop_ task_ async_ id - ID of the resource.
- project
Id String - Project id.
- task
Ids List<String> - Task id list.
- kill
Instance Boolean - Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
- wedata
Ops StringStop Task Async Id - 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) -> WedataOpsStopTaskAsyncfunc 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.
- 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 string - Project id.
- Task
Ids List<string> - Task id list.
- Wedata
Ops stringStop Task Async Id - 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 string - Project id.
- Task
Ids []string - Task id list.
- Wedata
Ops stringStop Task Async Id - ID of the resource.
- kill
Instance Boolean - Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
- project
Id String - Project id.
- task
Ids List<String> - Task id list.
- wedata
Ops StringStop Task Async Id - ID of the resource.
- kill
Instance boolean - Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
- project
Id string - Project id.
- task
Ids string[] - Task id list.
- wedata
Ops stringStop Task Async Id - 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_ strstop_ task_ async_ id - ID of the resource.
- kill
Instance Boolean - Whether to terminate the generated instance, the default is false; if true, it will wait for all forces to terminate.
- project
Id String - Project id.
- task
Ids List<String> - Task id list.
- wedata
Ops StringStop Task Async Id - ID of the resource.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
