tencentcloud.WedataProject
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
Wedata
Project Project - Project basic information.
- Dlc
Info WedataProject Dlc Info - DLC binding cluster information.
- Resource
Ids List<string> - List of bound resource group IDs.
- Status double
- Item status: 0: disabled, 1: enabled.
- Wedata
Project stringId - ID of the resource.
- Project
Wedata
Project Project Args - Project basic information.
- Dlc
Info WedataProject Dlc Info Args - DLC binding cluster information.
- Resource
Ids []string - List of bound resource group IDs.
- Status float64
- Item status: 0: disabled, 1: enabled.
- Wedata
Project stringId - ID of the resource.
- project
Wedata
Project Project - Project basic information.
- dlc
Info WedataProject Dlc Info - DLC binding cluster information.
- resource
Ids List<String> - List of bound resource group IDs.
- status Double
- Item status: 0: disabled, 1: enabled.
- wedata
Project StringId - ID of the resource.
- project
Wedata
Project Project - Project basic information.
- dlc
Info WedataProject Dlc Info - DLC binding cluster information.
- resource
Ids string[] - List of bound resource group IDs.
- status number
- Item status: 0: disabled, 1: enabled.
- wedata
Project stringId - ID of the resource.
- project
Wedata
Project Project Args - Project basic information.
- dlc_
info WedataProject Dlc Info Args - DLC binding cluster information.
- resource_
ids Sequence[str] - List of bound resource group IDs.
- status float
- Item status: 0: disabled, 1: enabled.
- wedata_
project_ strid - ID of the resource.
- project Property Map
- Project basic information.
- dlc
Info Property Map - DLC binding cluster information.
- resource
Ids List<String> - List of bound resource group IDs.
- status Number
- Item status: 0: disabled, 1: enabled.
- wedata
Project StringId - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WedataProject resource produces the following output properties:
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - 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) -> WedataProjectfunc 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.
- Dlc
Info WedataProject Dlc Info - DLC binding cluster information.
- Project
Wedata
Project Project - Project basic information.
- Project
Id string - Project ID.
- Resource
Ids List<string> - List of bound resource group IDs.
- Status double
- Item status: 0: disabled, 1: enabled.
- Wedata
Project stringId - ID of the resource.
- Dlc
Info WedataProject Dlc Info Args - DLC binding cluster information.
- Project
Wedata
Project Project Args - Project basic information.
- Project
Id string - Project ID.
- Resource
Ids []string - List of bound resource group IDs.
- Status float64
- Item status: 0: disabled, 1: enabled.
- Wedata
Project stringId - ID of the resource.
- dlc
Info WedataProject Dlc Info - DLC binding cluster information.
- project
Wedata
Project Project - Project basic information.
- project
Id String - Project ID.
- resource
Ids List<String> - List of bound resource group IDs.
- status Double
- Item status: 0: disabled, 1: enabled.
- wedata
Project StringId - ID of the resource.
- dlc
Info WedataProject Dlc Info - DLC binding cluster information.
- project
Wedata
Project Project - Project basic information.
- project
Id string - Project ID.
- resource
Ids string[] - List of bound resource group IDs.
- status number
- Item status: 0: disabled, 1: enabled.
- wedata
Project stringId - ID of the resource.
- dlc_
info WedataProject Dlc Info Args - DLC binding cluster information.
- project
Wedata
Project Project Args - 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_ strid - ID of the resource.
- dlc
Info Property Map - DLC binding cluster information.
- project Property Map
- Project basic information.
- project
Id String - Project ID.
- resource
Ids List<String> - List of bound resource group IDs.
- status Number
- Item status: 0: disabled, 1: enabled.
- wedata
Project StringId - ID of the resource.
Supporting Types
WedataProjectDlcInfo, WedataProjectDlcInfoArgs
- Compute
Resources List<string> - DLC resource name (need to add role Uin to DLC, otherwise may not be able to obtain resources).
- Default
Database string - Specify the default database for DLC cluster.
- Region string
- DLC region.
- Access
Account 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).
- Standard
Mode stringEnv Tag - Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:
- Prod (Production environment)
- Dev (Development environment).
- Sub
Account stringUin - 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 []string - DLC resource name (need to add role Uin to DLC, otherwise may not be able to obtain resources).
- Default
Database string - Specify the default database for DLC cluster.
- Region string
- DLC region.
- Access
Account 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).
- Standard
Mode stringEnv Tag - Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:
- Prod (Production environment)
- Dev (Development environment).
- Sub
Account stringUin - 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 List<String> - DLC resource name (need to add role Uin to DLC, otherwise may not be able to obtain resources).
- default
Database String - Specify the default database for DLC cluster.
- region String
- DLC region.
- access
Account 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).
- standard
Mode StringEnv Tag - Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:
- Prod (Production environment)
- Dev (Development environment).
- sub
Account StringUin - 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 string[] - DLC resource name (need to add role Uin to DLC, otherwise may not be able to obtain resources).
- default
Database string - Specify the default database for DLC cluster.
- region string
- DLC region.
- access
Account 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).
- standard
Mode stringEnv Tag - Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:
- Prod (Production environment)
- Dev (Development environment).
- sub
Account stringUin - 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_ strenv_ tag - Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:
- Prod (Production environment)
- Dev (Development environment).
- sub_
account_ struin - 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 List<String> - DLC resource name (need to add role Uin to DLC, otherwise may not be able to obtain resources).
- default
Database String - Specify the default database for DLC cluster.
- region String
- DLC region.
- access
Account 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).
- standard
Mode StringEnv Tag - Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:
- Prod (Production environment)
- Dev (Development environment).
- sub
Account StringUin - 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
- Display
Name string - Project display name, can be Chinese name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
- Project
Name string - Project identifier, English name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
- Project
Model string - Project mode, SIMPLE (default): Simple mode STANDARD: Standard mode.
- Display
Name string - Project display name, can be Chinese name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
- Project
Name string - Project identifier, English name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
- Project
Model string - Project mode, SIMPLE (default): Simple mode STANDARD: Standard mode.
- display
Name String - Project display name, can be Chinese name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
- project
Name String - Project identifier, English name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
- project
Model String - Project mode, SIMPLE (default): Simple mode STANDARD: Standard mode.
- display
Name string - Project display name, can be Chinese name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
- project
Name string - Project identifier, English name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
- project
Model 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.
- display
Name String - Project display name, can be Chinese name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
- project
Name String - Project identifier, English name starting with a letter, can contain letters, numbers, and underscores, cannot exceed 32 characters.
- project
Model 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
tencentcloudTerraform Provider.
