tencentcloud.WedataOpsTaskOwner
Provides a resource to create a wedata ops task owner
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const wedataOpsTaskOwner = new tencentcloud.WedataOpsTaskOwner("wedata_ops_task_owner", {
ownerUin: "100029411056;100042282926",
projectId: "2430455587205529600",
taskId: "20251009144419600",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
wedata_ops_task_owner = tencentcloud.WedataOpsTaskOwner("wedata_ops_task_owner",
owner_uin="100029411056;100042282926",
project_id="2430455587205529600",
task_id="20251009144419600")
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.NewWedataOpsTaskOwner(ctx, "wedata_ops_task_owner", &tencentcloud.WedataOpsTaskOwnerArgs{
OwnerUin: pulumi.String("100029411056;100042282926"),
ProjectId: pulumi.String("2430455587205529600"),
TaskId: pulumi.String("20251009144419600"),
})
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 wedataOpsTaskOwner = new Tencentcloud.WedataOpsTaskOwner("wedata_ops_task_owner", new()
{
OwnerUin = "100029411056;100042282926",
ProjectId = "2430455587205529600",
TaskId = "20251009144419600",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.WedataOpsTaskOwner;
import com.pulumi.tencentcloud.WedataOpsTaskOwnerArgs;
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 wedataOpsTaskOwner = new WedataOpsTaskOwner("wedataOpsTaskOwner", WedataOpsTaskOwnerArgs.builder()
.ownerUin("100029411056;100042282926")
.projectId("2430455587205529600")
.taskId("20251009144419600")
.build());
}
}
resources:
wedataOpsTaskOwner:
type: tencentcloud:WedataOpsTaskOwner
name: wedata_ops_task_owner
properties:
ownerUin: 100029411056;100042282926
projectId: '2430455587205529600'
taskId: '20251009144419600'
Create WedataOpsTaskOwner Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WedataOpsTaskOwner(name: string, args: WedataOpsTaskOwnerArgs, opts?: CustomResourceOptions);@overload
def WedataOpsTaskOwner(resource_name: str,
args: WedataOpsTaskOwnerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WedataOpsTaskOwner(resource_name: str,
opts: Optional[ResourceOptions] = None,
owner_uin: Optional[str] = None,
project_id: Optional[str] = None,
task_id: Optional[str] = None,
wedata_ops_task_owner_id: Optional[str] = None)func NewWedataOpsTaskOwner(ctx *Context, name string, args WedataOpsTaskOwnerArgs, opts ...ResourceOption) (*WedataOpsTaskOwner, error)public WedataOpsTaskOwner(string name, WedataOpsTaskOwnerArgs args, CustomResourceOptions? opts = null)
public WedataOpsTaskOwner(String name, WedataOpsTaskOwnerArgs args)
public WedataOpsTaskOwner(String name, WedataOpsTaskOwnerArgs args, CustomResourceOptions options)
type: tencentcloud:WedataOpsTaskOwner
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 WedataOpsTaskOwnerArgs
- 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 WedataOpsTaskOwnerArgs
- 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 WedataOpsTaskOwnerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WedataOpsTaskOwnerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WedataOpsTaskOwnerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WedataOpsTaskOwner 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 WedataOpsTaskOwner resource accepts the following input properties:
- Owner
Uin string - Task Owner ID. For multiple owners, separate them with
;, for example:100029411056;100042282926. - Project
Id string - Project id.
- Task
Id string - Task id.
- Wedata
Ops stringTask Owner Id - ID of the resource.
- Owner
Uin string - Task Owner ID. For multiple owners, separate them with
;, for example:100029411056;100042282926. - Project
Id string - Project id.
- Task
Id string - Task id.
- Wedata
Ops stringTask Owner Id - ID of the resource.
- owner
Uin String - Task Owner ID. For multiple owners, separate them with
;, for example:100029411056;100042282926. - project
Id String - Project id.
- task
Id String - Task id.
- wedata
Ops StringTask Owner Id - ID of the resource.
- owner
Uin string - Task Owner ID. For multiple owners, separate them with
;, for example:100029411056;100042282926. - project
Id string - Project id.
- task
Id string - Task id.
- wedata
Ops stringTask Owner Id - ID of the resource.
- owner_
uin str - Task Owner ID. For multiple owners, separate them with
;, for example:100029411056;100042282926. - project_
id str - Project id.
- task_
id str - Task id.
- wedata_
ops_ strtask_ owner_ id - ID of the resource.
- owner
Uin String - Task Owner ID. For multiple owners, separate them with
;, for example:100029411056;100042282926. - project
Id String - Project id.
- task
Id String - Task id.
- wedata
Ops StringTask Owner Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WedataOpsTaskOwner 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 WedataOpsTaskOwner Resource
Get an existing WedataOpsTaskOwner 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?: WedataOpsTaskOwnerState, opts?: CustomResourceOptions): WedataOpsTaskOwner@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
owner_uin: Optional[str] = None,
project_id: Optional[str] = None,
task_id: Optional[str] = None,
wedata_ops_task_owner_id: Optional[str] = None) -> WedataOpsTaskOwnerfunc GetWedataOpsTaskOwner(ctx *Context, name string, id IDInput, state *WedataOpsTaskOwnerState, opts ...ResourceOption) (*WedataOpsTaskOwner, error)public static WedataOpsTaskOwner Get(string name, Input<string> id, WedataOpsTaskOwnerState? state, CustomResourceOptions? opts = null)public static WedataOpsTaskOwner get(String name, Output<String> id, WedataOpsTaskOwnerState state, CustomResourceOptions options)resources: _: type: tencentcloud:WedataOpsTaskOwner 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.
- Owner
Uin string - Task Owner ID. For multiple owners, separate them with
;, for example:100029411056;100042282926. - Project
Id string - Project id.
- Task
Id string - Task id.
- Wedata
Ops stringTask Owner Id - ID of the resource.
- Owner
Uin string - Task Owner ID. For multiple owners, separate them with
;, for example:100029411056;100042282926. - Project
Id string - Project id.
- Task
Id string - Task id.
- Wedata
Ops stringTask Owner Id - ID of the resource.
- owner
Uin String - Task Owner ID. For multiple owners, separate them with
;, for example:100029411056;100042282926. - project
Id String - Project id.
- task
Id String - Task id.
- wedata
Ops StringTask Owner Id - ID of the resource.
- owner
Uin string - Task Owner ID. For multiple owners, separate them with
;, for example:100029411056;100042282926. - project
Id string - Project id.
- task
Id string - Task id.
- wedata
Ops stringTask Owner Id - ID of the resource.
- owner_
uin str - Task Owner ID. For multiple owners, separate them with
;, for example:100029411056;100042282926. - project_
id str - Project id.
- task_
id str - Task id.
- wedata_
ops_ strtask_ owner_ id - ID of the resource.
- owner
Uin String - Task Owner ID. For multiple owners, separate them with
;, for example:100029411056;100042282926. - project
Id String - Project id.
- task
Id String - Task id.
- wedata
Ops StringTask Owner Id - ID of the resource.
Import
wedata ops task owner can be imported using the id, e.g.
$ pulumi import tencentcloud:index/wedataOpsTaskOwner:WedataOpsTaskOwner wedata_ops_task_owner projectId#askId
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
