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

tencentcloud.WedataProject

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.WedataProject("example", {
        project: {
            projectName: "tf_example",
            displayName: "display_name",
            projectModel: "SIMPLE",
        },
        dlcInfo: {
            computeResources: ["svmgao_stability"],
            region: "ap-guangzhou",
            defaultDatabase: "db_name",
            standardModeEnvTag: "Dev",
            accessAccount: "OWNER",
        },
        resourceIds: [
            "20250909193110713075",
            "20250820215449817917",
        ],
        status: 1,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.WedataProject("example",
        project={
            "project_name": "tf_example",
            "display_name": "display_name",
            "project_model": "SIMPLE",
        },
        dlc_info={
            "compute_resources": ["svmgao_stability"],
            "region": "ap-guangzhou",
            "default_database": "db_name",
            "standard_mode_env_tag": "Dev",
            "access_account": "OWNER",
        },
        resource_ids=[
            "20250909193110713075",
            "20250820215449817917",
        ],
        status=1)
    
    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.NewWedataProject(ctx, "example", &tencentcloud.WedataProjectArgs{
    			Project: &tencentcloud.WedataProjectProjectArgs{
    				ProjectName:  pulumi.String("tf_example"),
    				DisplayName:  pulumi.String("display_name"),
    				ProjectModel: pulumi.String("SIMPLE"),
    			},
    			DlcInfo: &tencentcloud.WedataProjectDlcInfoArgs{
    				ComputeResources: pulumi.StringArray{
    					pulumi.String("svmgao_stability"),
    				},
    				Region:             pulumi.String("ap-guangzhou"),
    				DefaultDatabase:    pulumi.String("db_name"),
    				StandardModeEnvTag: pulumi.String("Dev"),
    				AccessAccount:      pulumi.String("OWNER"),
    			},
    			ResourceIds: pulumi.StringArray{
    				pulumi.String("20250909193110713075"),
    				pulumi.String("20250820215449817917"),
    			},
    			Status: pulumi.Float64(1),
    		})
    		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 example = new Tencentcloud.WedataProject("example", new()
        {
            Project = new Tencentcloud.Inputs.WedataProjectProjectArgs
            {
                ProjectName = "tf_example",
                DisplayName = "display_name",
                ProjectModel = "SIMPLE",
            },
            DlcInfo = new Tencentcloud.Inputs.WedataProjectDlcInfoArgs
            {
                ComputeResources = new[]
                {
                    "svmgao_stability",
                },
                Region = "ap-guangzhou",
                DefaultDatabase = "db_name",
                StandardModeEnvTag = "Dev",
                AccessAccount = "OWNER",
            },
            ResourceIds = new[]
            {
                "20250909193110713075",
                "20250820215449817917",
            },
            Status = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.WedataProject;
    import com.pulumi.tencentcloud.WedataProjectArgs;
    import com.pulumi.tencentcloud.inputs.WedataProjectProjectArgs;
    import com.pulumi.tencentcloud.inputs.WedataProjectDlcInfoArgs;
    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 example = new WedataProject("example", WedataProjectArgs.builder()
                .project(WedataProjectProjectArgs.builder()
                    .projectName("tf_example")
                    .displayName("display_name")
                    .projectModel("SIMPLE")
                    .build())
                .dlcInfo(WedataProjectDlcInfoArgs.builder()
                    .computeResources("svmgao_stability")
                    .region("ap-guangzhou")
                    .defaultDatabase("db_name")
                    .standardModeEnvTag("Dev")
                    .accessAccount("OWNER")
                    .build())
                .resourceIds(            
                    "20250909193110713075",
                    "20250820215449817917")
                .status(1.0)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:WedataProject
        properties:
          project:
            projectName: tf_example
            displayName: display_name
            projectModel: SIMPLE
          dlcInfo:
            computeResources:
              - svmgao_stability
            region: ap-guangzhou
            defaultDatabase: db_name
            standardModeEnvTag: Dev
            accessAccount: OWNER
          resourceIds:
            - '20250909193110713075'
            - '20250820215449817917'
          status: 1
    

    Create WedataProject Resource

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

    Constructor syntax

    new WedataProject(name: string, args: WedataProjectArgs, opts?: CustomResourceOptions);
    @overload
    def WedataProject(resource_name: str,
                      args: WedataProjectArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def WedataProject(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      project: Optional[WedataProjectProjectArgs] = None,
                      dlc_info: Optional[WedataProjectDlcInfoArgs] = None,
                      resource_ids: Optional[Sequence[str]] = None,
                      status: Optional[float] = None,
                      wedata_project_id: Optional[str] = None)
    func NewWedataProject(ctx *Context, name string, args WedataProjectArgs, opts ...ResourceOption) (*WedataProject, error)
    public WedataProject(string name, WedataProjectArgs args, CustomResourceOptions? opts = null)
    public WedataProject(String name, WedataProjectArgs args)
    public WedataProject(String name, WedataProjectArgs args, CustomResourceOptions options)
    
    type: tencentcloud:WedataProject
    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 WedataProjectArgs
    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 WedataProjectArgs
    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 WedataProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WedataProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WedataProjectArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Project WedataProjectProject
    Project basic information.
    DlcInfo WedataProjectDlcInfo
    DLC binding cluster information.
    ResourceIds List<string>
    List of bound resource group IDs.
    Status double
    Item status: 0: disabled, 1: enabled.
    WedataProjectId string
    ID of the resource.
    Project WedataProjectProjectArgs
    Project basic information.
    DlcInfo WedataProjectDlcInfoArgs
    DLC binding cluster information.
    ResourceIds []string
    List of bound resource group IDs.
    Status float64
    Item status: 0: disabled, 1: enabled.
    WedataProjectId string
    ID of the resource.
    project WedataProjectProject
    Project basic information.
    dlcInfo WedataProjectDlcInfo
    DLC binding cluster information.
    resourceIds List<String>
    List of bound resource group IDs.
    status Double
    Item status: 0: disabled, 1: enabled.
    wedataProjectId String
    ID of the resource.
    project WedataProjectProject
    Project basic information.
    dlcInfo WedataProjectDlcInfo
    DLC binding cluster information.
    resourceIds string[]
    List of bound resource group IDs.
    status number
    Item status: 0: disabled, 1: enabled.
    wedataProjectId string
    ID of the resource.
    project WedataProjectProjectArgs
    Project basic information.
    dlc_info WedataProjectDlcInfoArgs
    DLC binding cluster information.
    resource_ids Sequence[str]
    List of bound resource group IDs.
    status float
    Item status: 0: disabled, 1: enabled.
    wedata_project_id str
    ID of the resource.
    project Property Map
    Project basic information.
    dlcInfo Property Map
    DLC binding cluster information.
    resourceIds List<String>
    List of bound resource group IDs.
    status Number
    Item status: 0: disabled, 1: enabled.
    wedataProjectId String
    ID of the resource.

    Outputs

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

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

    Look up Existing WedataProject Resource

    Get an existing WedataProject 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?: WedataProjectState, opts?: CustomResourceOptions): WedataProject
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dlc_info: Optional[WedataProjectDlcInfoArgs] = None,
            project: Optional[WedataProjectProjectArgs] = None,
            project_id: Optional[str] = None,
            resource_ids: Optional[Sequence[str]] = None,
            status: Optional[float] = None,
            wedata_project_id: Optional[str] = None) -> WedataProject
    func GetWedataProject(ctx *Context, name string, id IDInput, state *WedataProjectState, opts ...ResourceOption) (*WedataProject, error)
    public static WedataProject Get(string name, Input<string> id, WedataProjectState? state, CustomResourceOptions? opts = null)
    public static WedataProject get(String name, Output<String> id, WedataProjectState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:WedataProject    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:
    DlcInfo WedataProjectDlcInfo
    DLC binding cluster information.
    Project WedataProjectProject
    Project basic information.
    ProjectId string
    Project ID.
    ResourceIds List<string>
    List of bound resource group IDs.
    Status double
    Item status: 0: disabled, 1: enabled.
    WedataProjectId string
    ID of the resource.
    DlcInfo WedataProjectDlcInfoArgs
    DLC binding cluster information.
    Project WedataProjectProjectArgs
    Project basic information.
    ProjectId string
    Project ID.
    ResourceIds []string
    List of bound resource group IDs.
    Status float64
    Item status: 0: disabled, 1: enabled.
    WedataProjectId string
    ID of the resource.
    dlcInfo WedataProjectDlcInfo
    DLC binding cluster information.
    project WedataProjectProject
    Project basic information.
    projectId String
    Project ID.
    resourceIds List<String>
    List of bound resource group IDs.
    status Double
    Item status: 0: disabled, 1: enabled.
    wedataProjectId String
    ID of the resource.
    dlcInfo WedataProjectDlcInfo
    DLC binding cluster information.
    project WedataProjectProject
    Project basic information.
    projectId string
    Project ID.
    resourceIds string[]
    List of bound resource group IDs.
    status number
    Item status: 0: disabled, 1: enabled.
    wedataProjectId string
    ID of the resource.
    dlc_info WedataProjectDlcInfoArgs
    DLC binding cluster information.
    project WedataProjectProjectArgs
    Project basic information.
    project_id str
    Project ID.
    resource_ids Sequence[str]
    List of bound resource group IDs.
    status float
    Item status: 0: disabled, 1: enabled.
    wedata_project_id str
    ID of the resource.
    dlcInfo Property Map
    DLC binding cluster information.
    project Property Map
    Project basic information.
    projectId String
    Project ID.
    resourceIds List<String>
    List of bound resource group IDs.
    status Number
    Item status: 0: disabled, 1: enabled.
    wedataProjectId String
    ID of the resource.

    Supporting Types

    WedataProjectDlcInfo, WedataProjectDlcInfoArgs

    ComputeResources List<string>
    DLC resource name (need to add role Uin to DLC, otherwise may not be able to obtain resources).
    DefaultDatabase string
    Specify the default database for DLC cluster.
    Region string
    DLC region.
    AccessAccount string

    Access account (only effective for standard mode projects and required for standard mode), used to submit DLC tasks. It is recommended to use a specified sub-account and set corresponding database table permissions for the sub-account; task runner mode may cause task failure when the responsible person leaves; main account mode is not easy for permission control when multiple projects have different permissions.

    Enum values:

    • TASK_RUNNER (Task Runner)
    • OWNER (Main Account Mode)
    • SUB (Sub Account Mode).
    StandardModeEnvTag string
    Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:

    • Prod (Production environment)
    • Dev (Development environment).
    SubAccountUin string
    Sub-account ID (only effective for standard mode projects), when AccessAccount is in sub-account mode, the sub-account ID information needs to be specified, other modes do not need to be specified.
    ComputeResources []string
    DLC resource name (need to add role Uin to DLC, otherwise may not be able to obtain resources).
    DefaultDatabase string
    Specify the default database for DLC cluster.
    Region string
    DLC region.
    AccessAccount string

    Access account (only effective for standard mode projects and required for standard mode), used to submit DLC tasks. It is recommended to use a specified sub-account and set corresponding database table permissions for the sub-account; task runner mode may cause task failure when the responsible person leaves; main account mode is not easy for permission control when multiple projects have different permissions.

    Enum values:

    • TASK_RUNNER (Task Runner)
    • OWNER (Main Account Mode)
    • SUB (Sub Account Mode).
    StandardModeEnvTag string
    Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:

    • Prod (Production environment)
    • Dev (Development environment).
    SubAccountUin string
    Sub-account ID (only effective for standard mode projects), when AccessAccount is in sub-account mode, the sub-account ID information needs to be specified, other modes do not need to be specified.
    computeResources List<String>
    DLC resource name (need to add role Uin to DLC, otherwise may not be able to obtain resources).
    defaultDatabase String
    Specify the default database for DLC cluster.
    region String
    DLC region.
    accessAccount String

    Access account (only effective for standard mode projects and required for standard mode), used to submit DLC tasks. It is recommended to use a specified sub-account and set corresponding database table permissions for the sub-account; task runner mode may cause task failure when the responsible person leaves; main account mode is not easy for permission control when multiple projects have different permissions.

    Enum values:

    • TASK_RUNNER (Task Runner)
    • OWNER (Main Account Mode)
    • SUB (Sub Account Mode).
    standardModeEnvTag String
    Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:

    • Prod (Production environment)
    • Dev (Development environment).
    subAccountUin String
    Sub-account ID (only effective for standard mode projects), when AccessAccount is in sub-account mode, the sub-account ID information needs to be specified, other modes do not need to be specified.
    computeResources string[]
    DLC resource name (need to add role Uin to DLC, otherwise may not be able to obtain resources).
    defaultDatabase string
    Specify the default database for DLC cluster.
    region string
    DLC region.
    accessAccount string

    Access account (only effective for standard mode projects and required for standard mode), used to submit DLC tasks. It is recommended to use a specified sub-account and set corresponding database table permissions for the sub-account; task runner mode may cause task failure when the responsible person leaves; main account mode is not easy for permission control when multiple projects have different permissions.

    Enum values:

    • TASK_RUNNER (Task Runner)
    • OWNER (Main Account Mode)
    • SUB (Sub Account Mode).
    standardModeEnvTag string
    Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:

    • Prod (Production environment)
    • Dev (Development environment).
    subAccountUin string
    Sub-account ID (only effective for standard mode projects), when AccessAccount is in sub-account mode, the sub-account ID information needs to be specified, other modes do not need to be specified.
    compute_resources Sequence[str]
    DLC resource name (need to add role Uin to DLC, otherwise may not be able to obtain resources).
    default_database str
    Specify the default database for DLC cluster.
    region str
    DLC region.
    access_account str

    Access account (only effective for standard mode projects and required for standard mode), used to submit DLC tasks. It is recommended to use a specified sub-account and set corresponding database table permissions for the sub-account; task runner mode may cause task failure when the responsible person leaves; main account mode is not easy for permission control when multiple projects have different permissions.

    Enum values:

    • TASK_RUNNER (Task Runner)
    • OWNER (Main Account Mode)
    • SUB (Sub Account Mode).
    standard_mode_env_tag str
    Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:

    • Prod (Production environment)
    • Dev (Development environment).
    sub_account_uin str
    Sub-account ID (only effective for standard mode projects), when AccessAccount is in sub-account mode, the sub-account ID information needs to be specified, other modes do not need to be specified.
    computeResources List<String>
    DLC resource name (need to add role Uin to DLC, otherwise may not be able to obtain resources).
    defaultDatabase String
    Specify the default database for DLC cluster.
    region String
    DLC region.
    accessAccount String

    Access account (only effective for standard mode projects and required for standard mode), used to submit DLC tasks. It is recommended to use a specified sub-account and set corresponding database table permissions for the sub-account; task runner mode may cause task failure when the responsible person leaves; main account mode is not easy for permission control when multiple projects have different permissions.

    Enum values:

    • TASK_RUNNER (Task Runner)
    • OWNER (Main Account Mode)
    • SUB (Sub Account Mode).
    standardModeEnvTag String
    Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:

    • Prod (Production environment)
    • Dev (Development environment).
    subAccountUin String
    Sub-account ID (only effective for standard mode projects), when AccessAccount is in sub-account mode, the sub-account ID information needs to be specified, other modes do not need to be specified.

    WedataProjectProject, WedataProjectProjectArgs

    DisplayName string
    Project display name, can be Chinese name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
    ProjectName string
    Project identifier, English name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
    ProjectModel string
    Project mode, SIMPLE (default): Simple mode STANDARD: Standard mode.
    DisplayName string
    Project display name, can be Chinese name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
    ProjectName string
    Project identifier, English name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
    ProjectModel string
    Project mode, SIMPLE (default): Simple mode STANDARD: Standard mode.
    displayName String
    Project display name, can be Chinese name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
    projectName String
    Project identifier, English name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
    projectModel String
    Project mode, SIMPLE (default): Simple mode STANDARD: Standard mode.
    displayName string
    Project display name, can be Chinese name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
    projectName string
    Project identifier, English name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
    projectModel string
    Project mode, SIMPLE (default): Simple mode STANDARD: Standard mode.
    display_name str
    Project display name, can be Chinese name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
    project_name str
    Project identifier, English name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
    project_model str
    Project mode, SIMPLE (default): Simple mode STANDARD: Standard mode.
    displayName String
    Project display name, can be Chinese name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
    projectName String
    Project identifier, English name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
    projectModel String
    Project mode, SIMPLE (default): Simple mode STANDARD: Standard mode.

    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