Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 28fe809

Browse files
add
1 parent f818b2a commit 28fe809

28 files changed

+1544
-205
lines changed

‎go.mod‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ require (
4646
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.1107
4747
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.1033
4848
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.1148
49-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.40
49+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.42
5050
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.1206
5151
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp v1.0.762
5252
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb v1.0.1161
@@ -98,7 +98,7 @@ require (
9898
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vod v1.0.860
9999
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc v1.1.14
100100
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf v1.0.1170
101-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.40
101+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.42
102102
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss v1.0.199
103103
github.com/tencentyun/cos-go-sdk-v5 v0.7.66
104104
github.com/yangwenmai/ratelimit v0.0.0-20180104140304-44221c2292e1

‎go.sum‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -957,10 +957,12 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.35 h1:gcnqn
957957
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.35/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
958958
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.36 h1:9zBwuj7prOhpObcw8idPnTn78TbNeK2RfAYoUaB6O/o=
959959
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.36/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
960-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.40 h1:mNP6SgjUucirQfsAtChZ0bG6Cd2XcgJvHXW8IaChxtM=
961-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.40/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
962960
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.39 h1:D7qtbjv0+L8r+Wrenk+SAsAwLVPRUkePROGWUrZY5QE=
963961
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.39/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
962+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.40 h1:mNP6SgjUucirQfsAtChZ0bG6Cd2XcgJvHXW8IaChxtM=
963+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.40/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
964+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.42 h1:zOTQCji3vmxrZPkDPfqs2cklL0ZwZYABvWPdm1NQ9lk=
965+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.42/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
964966
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/controlcenter v1.0.993 h1:WlPgXldQCxt7qi5Xrc6j6zTrsXWzN5BcOGs7Irq7fwQ=
965967
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/controlcenter v1.0.993/go.mod h1:Z9U8zNtyuyKhjS0698wqsrG/kLx1TQ5CEixXBwVe7xY=
966968
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/csip v1.0.860 h1:F3esKBIT3HW9+7Gt8cVgf8X06VdGIczpgLBUECzSEzU=
@@ -1094,10 +1096,12 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.0.792 h1:NLgK
10941096
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.0.792/go.mod h1:Xz6vPV3gHlzPwtEcmWdWO1EUXJDgn2p7UMCXbJiVioQ=
10951097
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.31 h1:5mDWm86NA0etP4ictillWtZgyCHiK9hpCmj+qEYeowc=
10961098
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.31/go.mod h1:+DhuFrNBquvUs+QSbtVMe1tzJZq5donfipnzo3Luo9Y=
1097-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.40 h1:ZHESnPRiyV9+HYSArZKPmliSjy85/El899LKGSsyxSw=
1098-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.40/go.mod h1:ROVq1WJulfJonhjNE6olW+xEBHPxqgAoYhpMZ7gFHO8=
10991099
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.39 h1:24yWzFxh/KW9CvYv9MLVFyUOIR6xqzO4meXGsP5t8Jo=
11001100
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.39/go.mod h1:32C+QaoFmT1pvuIv1bkPi8Nc0f5btvMgzwX5AGwG74M=
1101+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.40 h1:ZHESnPRiyV9+HYSArZKPmliSjy85/El899LKGSsyxSw=
1102+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.40/go.mod h1:ROVq1WJulfJonhjNE6olW+xEBHPxqgAoYhpMZ7gFHO8=
1103+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.42 h1:UccqwoaGyksPVmFyCFOWLCpLJqpcLFvG/9KnZne2zR8=
1104+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.42/go.mod h1:w5V5Vo3d+7UVFIEq3crWPb7tElu2TaG23u+Fq/eo26w=
11011105
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss v1.0.199 h1:hMBLtiJPnZ9GvA677cTB6ELBR6B68wCR2QY1sNoGQc4=
11021106
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss v1.0.199/go.mod h1:nnY91/H3j/Gu7V/oCA6Zeg8T5D3q36EUdBh4EjmHwqY=
11031107
github.com/tencentyun/cos-go-sdk-v5 v0.7.66 h1:O4O6EsozBoDjxWbltr3iULgkI7WPj/BFNlYTXDuE64E=

‎tencentcloud/provider.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2249,6 +2249,11 @@ tencentcloud_wedata_downstream_task_instances
22492249
tencentcloud_wedata_task_instance_executions
22502250
tencentcloud_wedata_data_source_list
22512251
tencentcloud_wedata_sql_script_runs
2252+
tencentcloud_wedata_projects
2253+
tencentcloud_wedata_data_sources
2254+
tencentcloud_wedata_project_roles
2255+
tencentcloud_wedata_tenant_roles
2256+
tencentcloud_wedata_resource_group_metrics
22522257

22532258
Resource
22542259
tencentcloud_wedata_submit_task_operation
@@ -2278,6 +2283,11 @@ tencentcloud_wedata_code_folder
22782283
tencentcloud_wedata_code_file
22792284
tencentcloud_wedata_run_sql_script_operation
22802285
tencentcloud_wedata_stop_sql_script_run_operation
2286+
tencentcloud_wedata_project
2287+
tencentcloud_wedata_data_source
2288+
tencentcloud_wedata_project_member
2289+
tencentcloud_wedata_resource_group
2290+
tencentcloud_wedata_resource_group_to_project_attachment
22812291

22822292
Cloud Firewall(CFW)
22832293
Data Source

‎tencentcloud/services/wedata/data_source_tc_wedata_data_sources.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func DataSourceTencentCloudWedataDataSources() *schema.Resource {
3636
"type": {
3737
Type: schema.TypeSet,
3838
Optional: true,
39-
Description: "Data source type: enumeration values.\n\n- MYSQL\n- TENCENT_MYSQL\n- POSTGRE\n- ORACLE\n- SQLSERVER\n- FTP\n- HIVE\n- HUDI\n- HDFS\n- ICEBERG\n- KAFKA\n- HBASE\n- SPARK\n- VIRTUAL\n- TBASE\n- DB2\n- DM\n- GAUSSDB\n- GBASE\n- IMPALA\n- ES\n- TENCENT_ES\n- GREENPLUM\n- PHOENIX\n- SAP_HANA\n- SFTP\n- OCEANBASE\n- CLICKHOUSE\n- KUDU\n- VERTICA\n- REDIS\n- COS\n- DLC\n- DORIS\n- CKAFKA\n- S3\n- TDSQL\n- TDSQL_MYSQL\n- MONGODB\n- TENCENT_MONGODB\n- REST_API\n- SuperSQL\n- PRESTO\n- TiDB\n- StarRocks\n- Trino\n- Kyuubi\n- TCHOUSE_X\n- TCHOUSE_P\n- TCHOUSE_C\n- TCHOUSE_D\n- INFLUXDB\n- BIG_QUERY\n- SSH\n- BLOB",
39+
Description: "Data source type: enumeration values.\n\n- MYSQL\n- TENCENT_MYSQL\n- POSTGRE\n- ORACLE\n- SQLSERVER\n- FTP\n- HIVE\n- HUDI\n- HDFS\n- ICEBERG\n- KAFKA\n- HBASE\n- SPARK\n- VIRTUAL\n- TBASE\n- DB2\n- DM\n- GAUSSDB\n- GBASE\n- IMPALA\n- ES\n- TENCENT_ES\n- GREENPLUM\n- PHOENIX\n- SAP_HANA\n- SFTP\n- OCEANBASE\n- CLICKHOUSE\n- KUDU\n- VERTICA\n- REDIS\n- COS\n- DLC\n- DORIS\n- CKAFKA\n- S3\n- TDSQL\n- TDSQL_MYSQL\n- MONGODB\n- TENCENT_MONGODB\n- REST_API\n- SuperSQL\n- PRESTO\n- TiDB\n- StarRocks\n- Trino\n- Kyuubi\n- TCHOUSE_X\n- TCHOUSE_P\n- TCHOUSE_C\n- TCHOUSE_D\n- INFLUXDB\n- BIG_QUERY\n- SSH\n- BLOB.",
4040
Elem: &schema.Schema{
4141
Type: schema.TypeString,
4242
},
@@ -122,7 +122,7 @@ func DataSourceTencentCloudWedataDataSources() *schema.Resource {
122122
"category": {
123123
Type: schema.TypeString,
124124
Computed: true,
125-
Description: "Data source category:\n\n- DB - custom source\n- CLUSTER - system source",
125+
Description: "Data source category:\n\n- DB - custom source\n- CLUSTER - system source.",
126126
},
127127
},
128128
},

‎tencentcloud/services/wedata/data_source_tc_wedata_resource_group_metrics.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func DataSourceTencentCloudWedataResourceGroupMetrics() *schema.Resource {
3636
"metric_type": {
3737
Type: schema.TypeString,
3838
Optional: true,
39-
Description: "Metric dimension.\n\n- all --- All\n- task --- Task metrics\n- system --- System metrics",
39+
Description: "Metric dimension.\n\n- all --- All\n- task --- Task metrics\n- system --- System metrics.",
4040
},
4141

4242
"granularity": {
@@ -79,7 +79,7 @@ func DataSourceTencentCloudWedataResourceGroupMetrics() *schema.Resource {
7979
"status": {
8080
Type: schema.TypeInt,
8181
Computed: true,
82-
Description: "Resource group status.\n\n- 0 --- Initializing\n- 1 --- Running\n- 2 --- Running abnormally\n- 3 --- Releasing\n- 4 --- Released\n- 5 --- Creating\n- 6 --- Creation failed\n- 7 --- Updating\n- 8 --- Update failed\n- 9 --- Expired\n- 10 --- Release failed\n- 11 --- In use\n- 12 --- Not in use",
82+
Description: "Resource group status.\n\n- 0 --- Initializing\n- 1 --- Running\n- 2 --- Running abnormally\n- 3 --- Releasing\n- 4 --- Released\n- 5 --- Creating\n- 6 --- Creation failed\n- 7 --- Updating\n- 8 --- Update failed\n- 9 --- Expired\n- 10 --- Release failed\n- 11 --- In use\n- 12 --- Not in use.",
8383
},
8484
"metric_snapshots": {
8585
Type: schema.TypeList,
@@ -90,7 +90,7 @@ func DataSourceTencentCloudWedataResourceGroupMetrics() *schema.Resource {
9090
"metric_name": {
9191
Type: schema.TypeString,
9292
Computed: true,
93-
Description: "Metric name.\n\n- ConcurrencyUsage --- Concurrency usage rate\n- CpuCoreUsage --- CPU usage rate\n- CpuLoad --- CPU load\n- DevelopQueueTask --- Number of development tasks in queue\n- DevelopRunningTask --- Number of running development tasks\n- DevelopSchedulingTask --- Number of scheduling development tasks\n- DiskUsage --- Disk usage\n- DiskUsed --- Disk used amount\n- MaximumConcurrency --- Maximum concurrency\n- MemoryLoad --- Memory load\n- MemoryUsage --- Memory usage",
93+
Description: "Metric name.\n\n- ConcurrencyUsage --- Concurrency usage rate\n- CpuCoreUsage --- CPU usage rate\n- CpuLoad --- CPU load\n- DevelopQueueTask --- Number of development tasks in queue\n- DevelopRunningTask --- Number of running development tasks\n- DevelopSchedulingTask --- Number of scheduling development tasks\n- DiskUsage --- Disk usage\n- DiskUsed --- Disk used amount\n- MaximumConcurrency --- Maximum concurrency\n- MemoryLoad --- Memory load\n- MemoryUsage --- Memory usage.",
9494
},
9595
"snapshot_value": {
9696
Type: schema.TypeInt,

‎tencentcloud/services/wedata/resource_tc_wedata_data_source.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ func ResourceTencentCloudWedataDataSource() *schema.Resource {
4040
Type: schema.TypeString,
4141
Required: true,
4242
ForceNew: true,
43-
Description: "Data source type: enumeration values.\n\n- MYSQL\n- TENCENT_MYSQL\n- POSTGRE\n- ORACLE\n- SQLSERVER\n- FTP\n- HIVE\n- HUDI\n- HDFS\n- ICEBERG\n- KAFKA\n- DTS_KAFKA\n- HBASE\n- SPARK\n- TBASE\n- DB2\n- DM\n- GAUSSDB\n- GBASE\n- IMPALA\n- ES\n- TENCENT_ES\n- GREENPLUM\n- SAP_HANA\n- SFTP\n- OCEANBASE\n- CLICKHOUSE\n- KUDU\n- VERTICA\n- REDIS\n- COS\n- DLC\n- DORIS\n- CKAFKA\n- S3_DATAINSIGHT\n- TDSQL\n- TDSQL_MYSQL\n- MONGODB\n- TENCENT_MONGODB\n- REST_API\n- TiDB\n- StarRocks\n- Trino\n- Kyuubi\n- TCHOUSE_X\n- TCHOUSE_P\n- TCHOUSE_C\n- TCHOUSE_D\n- INFLUXDB\n- BIG_QUERY\n- SSH\n- BLOB\n- TDSQL_POSTGRE\n- GDB\n- TDENGINE\n- TDSQLC\n",
43+
Description: "Data source type: enumeration values.\n\n- MYSQL\n- TENCENT_MYSQL\n- POSTGRE\n- ORACLE\n- SQLSERVER\n- FTP\n- HIVE\n- HUDI\n- HDFS\n- ICEBERG\n- KAFKA\n- DTS_KAFKA\n- HBASE\n- SPARK\n- TBASE\n- DB2\n- DM\n- GAUSSDB\n- GBASE\n- IMPALA\n- ES\n- TENCENT_ES\n- GREENPLUM\n- SAP_HANA\n- SFTP\n- OCEANBASE\n- CLICKHOUSE\n- KUDU\n- VERTICA\n- REDIS\n- COS\n- DLC\n- DORIS\n- CKAFKA\n- S3_DATAINSIGHT\n- TDSQL\n- TDSQL_MYSQL\n- MONGODB\n- TENCENT_MONGODB\n- REST_API\n- TiDB\n- StarRocks\n- Trino\n- Kyuubi\n- TCHOUSE_X\n- TCHOUSE_P\n- TCHOUSE_C\n- TCHOUSE_D\n- INFLUXDB\n- BIG_QUERY\n- SSH\n- BLOB\n- TDSQL_POSTGRE\n- GDB\n- TDENGINE\n- TDSQLC.",
4444
},
4545

4646
"prod_con_properties": {
4747
Type: schema.TypeString,
4848
Required: true,
49-
Description: "Data source configuration information, stored in JSON KV format, with different KV storage information for each data source type.\n\n> deployType: \nCONNSTR_PUBLICDB(Public network instance) \nCONNSTR_CVMDB(Self-built instance)\nINSTANCE(Cloud instance)\n\n```\nmysql: Self-built instance\n{\n \"deployType\": \"CONNSTR_CVMDB\",\n \"url\": \"jdbc:mysql://1.1.1.1:1111/database\",\n \"username\": \"root\",\n \"password\": \"root\",\n \"region\": \"ap-shanghai\",\n \"vpcId\": \"vpc-kprq42yo\",\n \"type\": \"MYSQL\"\n}\nmysql: Cloud instance\n{\n \"instanceid\": \"cdb-12uxdo5e\",\n \"db\": \"db\",\n \"region\": \"ap-shanghai\",\n \"username\": \"msyql\",\n \"password\": \"mysql\",\n \"deployType\": \"INSTANCE\",\n \"type\": \"TENCENT_MYSQL\"\n}\nsql_server: \n{\n \"deployType\": \"CONNSTR_PUBLICDB\",\n \"url\": \"jdbc:sqlserver://1.1.1.1:223;DatabaseName=database\",\n \"username\": \"user_1\",\n \"password\": \"pass_2\",\n \"type\": \"SQLSERVER\"\n}\nredis:\n redisType:\n -NO_ACCOUT(No account)\n -SELF_ACCOUNT(Custom account)\n{\n \"deployType\": \"CONNSTR_PUBLICDB\",\n \"username\":\"\"\n \"password\": \"pass\",\n \"ip\": \"1.1.1.1\",\n \"port\": \"6379\",\n \"redisType\": \"NO_ACCOUT\",\n \"type\": \"REDIS\"\n}\noracle: \n{\n \"deployType\": \"CONNSTR_CVMDB\",\n \"url\": \"jdbc:oracle:thin:@1.1.1.1:1521:prod\",\n \"username\": \"oracle\",\n \"password\": \"pass\",\n \"region\": \"ap-shanghai\",\n \"vpcId\": \"vpc-kprq42yo\",\n \"type\": \"ORACLE\"\n}\nmongodb:\n advanceParams(Custom parameters, will be appended to the URL)\n{\n \"advanceParams\": [\n {\n \"key\": \"authSource\",\n \"value\": \"auth\"\n }\n ],\n \"db\": \"admin\",\n \"deployType\": \"CONNSTR_PUBLICDB\",\n \"username\": \"user\",\n \"password\": \"pass\",\n \"type\": \"MONGODB\",\n \"host\": \"1.1.1.1:9200\"\n}\npostgresql:\n{\n \"deployType\": \"CONNSTR_PUBLICDB\",\n \"url\": \"jdbc:postgresql://1.1.1.1:1921/database\",\n \"username\": \"user\",\n \"password\": \"pass\",\n \"type\": \"POSTGRE\"\n}\nkafka:\n authType:\n - sasl\n - jaas\n - sasl_plaintext\n - sasl_ssl\n - GSSAPI\n ssl:\n -PLAIN\n -GSSAPI\n{\n \"deployType\": \"CONNSTR_PUBLICDB\",\n \"host\": \"1.1.1.1:9092\",\n \"ssl\": \"GSSAPI\",\n \"authType\": \"sasl\",\n \"type\": \"KAFKA\",\n \"principal\": \"aaaa\",\n \"serviceName\": \"kafka\"\n}\n\ncos:\n{\n \"region\": \"ap-shanghai\",\n \"deployType\": \"INSTANCE\",\n \"secretId\": \"aaaaa\",\n \"secretKey\": \"sssssss\",\n \"bucket\": \"aaa\",\n \"type\": \"COS\"\n}\n\n```",
49+
Description: "Data source configuration information, stored in JSON KV format, with different KV storage information for each data source type.\n\n> deployType: \nCONNSTR_PUBLICDB(Public network instance) \nCONNSTR_CVMDB(Self-built instance)\nINSTANCE(Cloud instance)\n\n```\nmysql: Self-built instance\n{\n \"deployType\": \"CONNSTR_CVMDB\",\n \"url\": \"jdbc:mysql://1.1.1.1:1111/database\",\n \"username\": \"root\",\n \"password\": \"root\",\n \"region\": \"ap-shanghai\",\n \"vpcId\": \"vpc-kprq42yo\",\n \"type\": \"MYSQL\"\n}\nmysql: Cloud instance\n{\n \"instanceid\": \"cdb-12uxdo5e\",\n \"db\": \"db\",\n \"region\": \"ap-shanghai\",\n \"username\": \"msyql\",\n \"password\": \"mysql\",\n \"deployType\": \"INSTANCE\",\n \"type\": \"TENCENT_MYSQL\"\n}\nsql_server: \n{\n \"deployType\": \"CONNSTR_PUBLICDB\",\n \"url\": \"jdbc:sqlserver://1.1.1.1:223;DatabaseName=database\",\n \"username\": \"user_1\",\n \"password\": \"pass_2\",\n \"type\": \"SQLSERVER\"\n}\nredis:\n redisType:\n -NO_ACCOUT(No account)\n -SELF_ACCOUNT(Custom account)\n{\n \"deployType\": \"CONNSTR_PUBLICDB\",\n \"username\":\"\"\n \"password\": \"pass\",\n \"ip\": \"1.1.1.1\",\n \"port\": \"6379\",\n \"redisType\": \"NO_ACCOUT\",\n \"type\": \"REDIS\"\n}\noracle: \n{\n \"deployType\": \"CONNSTR_CVMDB\",\n \"url\": \"jdbc:oracle:thin:@1.1.1.1:1521:prod\",\n \"username\": \"oracle\",\n \"password\": \"pass\",\n \"region\": \"ap-shanghai\",\n \"vpcId\": \"vpc-kprq42yo\",\n \"type\": \"ORACLE\"\n}\nmongodb:\n advanceParams(Custom parameters, will be appended to the URL)\n{\n \"advanceParams\": [\n {\n \"key\": \"authSource\",\n \"value\": \"auth\"\n }\n ],\n \"db\": \"admin\",\n \"deployType\": \"CONNSTR_PUBLICDB\",\n \"username\": \"user\",\n \"password\": \"pass\",\n \"type\": \"MONGODB\",\n \"host\": \"1.1.1.1:9200\"\n}\npostgresql:\n{\n \"deployType\": \"CONNSTR_PUBLICDB\",\n \"url\": \"jdbc:postgresql://1.1.1.1:1921/database\",\n \"username\": \"user\",\n \"password\": \"pass\",\n \"type\": \"POSTGRE\"\n}\nkafka:\n authType:\n - sasl\n - jaas\n - sasl_plaintext\n - sasl_ssl\n - GSSAPI\n ssl:\n -PLAIN\n -GSSAPI\n{\n \"deployType\": \"CONNSTR_PUBLICDB\",\n \"host\": \"1.1.1.1:9092\",\n \"ssl\": \"GSSAPI\",\n \"authType\": \"sasl\",\n \"type\": \"KAFKA\",\n \"principal\": \"aaaa\",\n \"serviceName\": \"kafka\"\n}\n\ncos:\n{\n \"region\": \"ap-shanghai\",\n \"deployType\": \"INSTANCE\",\n \"secretId\": \"aaaaa\",\n \"secretKey\": \"sssssss\",\n \"bucket\": \"aaa\",\n \"type\": \"COS\"\n}\n\n```.",
5050
},
5151

5252
"dev_con_properties": {

‎tencentcloud/services/wedata/resource_tc_wedata_project.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ func ResourceTencentCloudWedataProject() *schema.Resource {
7474
"standard_mode_env_tag": {
7575
Type: schema.TypeString,
7676
Optional: true,
77-
Description: "Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:\n- Prod (Production environment)\n- Dev (Development environment)",
77+
Description: "Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values:\n- Prod (Production environment)\n- Dev (Development environment).",
7878
},
7979
"access_account": {
8080
Type: schema.TypeString,
8181
Optional: true,
82-
Description: "Access account (only effective for standard mode projects and required for standard mode), used to submit DLC tasks.\nIt 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.\n\nEnum values:\n- TASK_RUNNER (Task Runner)\n- OWNER (Main Account Mode)\n- SUB (Sub Account Mode)",
82+
Description: "Access account (only effective for standard mode projects and required for standard mode), used to submit DLC tasks.\nIt 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.\n\nEnum values:\n- TASK_RUNNER (Task Runner)\n- OWNER (Main Account Mode)\n- SUB (Sub Account Mode).",
8383
},
8484
"sub_account_uin": {
8585
Type: schema.TypeString,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /