Skip to content

Commit 5764693

Browse files
committed
add
1 parent 92a6e41 commit 5764693

8 files changed

+188
-104
lines changed

tencentcloud/services/cdwdoris/data_source_tc_cdwdoris_instances.go

Lines changed: 84 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tencentcloud/services/cdwdoris/data_source_tc_cdwdoris_instances.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Use this data source to query detailed information of cdwdoris instances
1+
Use this data source to query detailed information of CDWDoris instances
22

33
Example Usage
44

tencentcloud/services/cdwdoris/resource_tc_cdwdoris_instance.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Provides a resource to create a cdwdoris instance
1+
Provides a resource to create a CDWDoris instance
22

33
Example Usage
44

@@ -43,7 +43,8 @@ resource "tencentcloud_cdwdoris_instance" "example" {
4343
product_version = "2.1"
4444
instance_name = "tf-example"
4545
doris_user_pwd = "Password@test"
46-
ha_flag = false
46+
ha_flag = true
47+
ha_type = 1
4748
case_sensitive = 0
4849
enable_multi_zones = false
4950
workload_group_status = "open"
@@ -75,7 +76,7 @@ resource "tencentcloud_cdwdoris_instance" "example" {
7576
}
7677
```
7778

78-
Create a POSTPAID instance
79+
Create a PREPAID instance
7980

8081
```hcl
8182
# availability zone
@@ -116,7 +117,8 @@ resource "tencentcloud_cdwdoris_instance" "example" {
116117
product_version = "2.1"
117118
instance_name = "tf-example"
118119
doris_user_pwd = "Password@test"
119-
ha_flag = false
120+
ha_flag = true
121+
ha_type = 1
120122
case_sensitive = 0
121123
enable_multi_zones = false
122124
workload_group_status = "close"

tencentcloud/services/cdwdoris/resource_tc_cdwdoris_user.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Provides a resource to create a cdwdoris user
1+
Provides a resource to create a CDWDoris user
22

33
Example Usage
44

tencentcloud/services/cdwdoris/resource_tc_cdwdoris_workload_group.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Provides a resource to create a cdwdoris workload group
1+
Provides a resource to create a CDWDoris workload group
22

33
~> **NOTE:** To use this resource, The `workload_group_status` field of `tencentcloud_cdwdoris_instance` needs to be set to true.
44

website/docs/d/cdwdoris_instances.html.markdown

Lines changed: 86 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ layout: "tencentcloud"
44
page_title: "TencentCloud: tencentcloud_cdwdoris_instances"
55
sidebar_current: "docs-tencentcloud-datasource-cdwdoris_instances"
66
description: |-
7-
Use this data source to query detailed information of cdwdoris instances
7+
Use this data source to query detailed information of CDWDoris instances
88
---
99

1010
# tencentcloud_cdwdoris_instances
1111

12-
Use this data source to query detailed information of cdwdoris instances
12+
Use this data source to query detailed information of CDWDoris instances
1313

1414
## Example Usage
1515

@@ -62,5 +62,89 @@ The `search_tags` object supports the following:
6262
In addition to all arguments above, the following attributes are exported:
6363

6464
* `instances_list` - Quantities of instances array.
65+
* `access_info` - Access address. Example: 10.0.0.1:9000. Note: This field may return null, indicating that no valid values can be obtained.
66+
* `bind_s_gs` - Bound security group information. Note: This field may return null, indicating that no valid values can be obtained.
67+
* `build_version` - Minor versions. Note: This field may return null, indicating that no valid values can be obtained.
68+
* `can_attach_cbs` - cbs. Note: This field may return null, indicating that no valid values can be obtained.
69+
* `case_sensitive` - Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.. Note: This field may return null, indicating that no valid values can be obtained.
70+
* `characteristic` - Page features, used to block some page entrances on the front end.. Note: This field may return null, indicating that no valid values can be obtained.
71+
* `cls_log_set_id` - Logset ID. Note: This field may return null, indicating that no valid values can be obtained.
72+
* `cls_topic_id` - Log Topic ID. Note: This field may return null, indicating that no valid values can be obtained.
73+
* `components` - Component Information. Note: The return type here is map[string]struct, not the string type displayed. You can refer to Sample Value to parse the data. Note: This field may return null, indicating that no valid values can be obtained.
74+
* `cool_down_bucket` - COS buckets are used for hot and cold stratification. Note: This field may return null, indicating that no valid values can be obtained.
75+
* `core_summary` - Zookeeper node description information. Note: This field may return null, indicating that no valid values can be obtained.
76+
* `attach_cbs_spec` - Information of mounted cloud disks. Note: This field may return null, indicating that no valid values can be obtained.
77+
* `disk_count` - Total number of disks.
78+
* `disk_desc` - Description.
79+
* `disk_size` - Disk capacity, in GB.
80+
* `disk_type` - Node disk type, such as CLOUD_SSD, CLOUD_PREMIUM.
81+
* `core` - Number of CPU cores, in counts.
82+
* `disk_count` - Disk size. Note: This field may return null, indicating that no valid values can be obtained.
83+
* `disk_desc` - Disk description.
84+
* `disk_type` - Disk type.
85+
* `disk` - Disk size, in GB.
86+
* `encrypt` - Whether it is encrypted.. Note: This field may return null, indicating that no valid values can be obtained.
87+
* `max_disk_size` - Maximum disk. Note: This field may return null, indicating that no valid values can be obtained.
88+
* `memory` - Memory size, in GB.
89+
* `node_size` - Number of nodes.
90+
* `spec_core` - Specified cores. Note: This field may return null, indicating that no valid values can be obtained.
91+
* `spec_memory` - Specified memory. Note: This field may return null, indicating that no valid values can be obtained.
92+
* `spec` - Model, such as S1.
93+
* `sub_product_type` - Sub-product name. Note: This field may return null, indicating that no valid values can be obtained.
94+
* `cos_bucket_name` - COS bucket. Note: This field may return null, indicating that no valid values can be obtained.
95+
* `cos_move_factor` - Cold and hot stratification coefficient. Note: This field may return null, indicating that no valid values can be obtained.
96+
* `create_time` - Creation time. Note: This field may return null, indicating that no valid values can be obtained.
97+
* `eip` - Elastic network interface address. Note: This field may return null, indicating that no valid values can be obtained.
98+
* `enable_cool_down` - Whether to enable hot and cold stratification. 0 refers to disabled, and 1 refers to enabled.. Note: This field may return null, indicating that no valid values can be obtained.
99+
* `enable_multi_zones` - Whether it is a multi-AZ.. Note: This field may return null, indicating that no valid values can be obtained.
100+
* `enable_xml_config` - Whether to support XML configuration management. Note: This field may return null, indicating that no valid values can be obtained.
101+
* `expire_time` - Expiration time. Note: This field may return null, indicating that no valid values can be obtained.
102+
* `flow_msg` - Error process description information. Note: This field may return null, indicating that no valid values can be obtained.
103+
* `grace_shutdown_wait_seconds` - The timeout time for the graceful restart of the kernel. If it is -1, it means it is not set.. Note: This field may return null, indicating that no valid values can be obtained.
104+
* `ha_type` - High availability type: 0: non-high availability. 1: read high availability. 2: read-write high availability. Note: This field may return null, indicating that no valid values can be obtained.
105+
* `ha` - High availability, being true or false. Note: This field may return null, indicating that no valid values can be obtained.
106+
* `has_cls_topic` - Whether to enable logs. Note: This field may return null, indicating that no valid values can be obtained.
107+
* `id` - Record ID, in numerical type. Note: This field may return null, indicating that no valid values can be obtained.
108+
* `instance_id` - Cluster instance ID, `cdw-xxxx` string type. Note: This field may return null, indicating that no valid values can be obtained.
109+
* `instance_name` - Cluster instance name. Note: This field may return null, indicating that no valid values can be obtained.
110+
* `is_white_s_gs` - Whether users can bind security groups.. Note: This field may return null, indicating that no valid values can be obtained.
111+
* `kind` - external/local/yunti. Note: This field may return null, indicating that no valid values can be obtained.
112+
* `master_summary` - Data node description information. Note: This field may return null, indicating that no valid values can be obtained.
113+
* `attach_cbs_spec` - Information of mounted cloud disks. Note: This field may return null, indicating that no valid values can be obtained.
114+
* `disk_count` - Total number of disks.
115+
* `disk_desc` - Description.
116+
* `disk_size` - Disk capacity, in GB.
117+
* `disk_type` - Node disk type, such as CLOUD_SSD, CLOUD_PREMIUM.
118+
* `core` - Number of CPU cores, in counts.
119+
* `disk_count` - Disk size. Note: This field may return null, indicating that no valid values can be obtained.
120+
* `disk_desc` - Disk description.
121+
* `disk_type` - Disk type.
122+
* `disk` - Disk size, in GB.
123+
* `encrypt` - Whether it is encrypted.. Note: This field may return null, indicating that no valid values can be obtained.
124+
* `max_disk_size` - Maximum disk. Note: This field may return null, indicating that no valid values can be obtained.
125+
* `memory` - Memory size, in GB.
126+
* `node_size` - Number of nodes.
127+
* `spec_core` - Specified cores. Note: This field may return null, indicating that no valid values can be obtained.
128+
* `spec_memory` - Specified memory. Note: This field may return null, indicating that no valid values can be obtained.
129+
* `spec` - Model, such as S1.
130+
* `sub_product_type` - Sub-product name. Note: This field may return null, indicating that no valid values can be obtained.
131+
* `monitor` - Monitoring Information. Note: This field may return null, indicating that no valid values can be obtained.
132+
* `pay_mode` - Payment type: hour and prepay. Note: This field may return null, indicating that no valid values can be obtained.
133+
* `region_desc` - Region. Note: This field may return null, indicating that no valid values can be obtained.
134+
* `region_id` - Region ID, indicating the region. Note: This field may return null, indicating that no valid values can be obtained.
135+
* `region` - Region, ap-guangzhou. Note: This field may return null, indicating that no valid values can be obtained.
136+
* `renew_flag` - Automatic renewal marker. Note: This field may return null, indicating that no valid values can be obtained.
137+
* `restart_timeout` - Timeout period, in seconds. Note: This field may return null, indicating that no valid values can be obtained.
138+
* `status_desc` - Status description, such as `running`. Note: This field may return null, indicating that no valid values can be obtained.
139+
* `status` - Status,. Init is being created. Serving is running. Deleted indicates the cluster has been terminated. Deleting indicates the cluster is being terminated. Modify indicates the cluster is being changed. Note: This field may return null, indicating that no valid values can be obtained.
140+
* `subnet_id` - Subnet name. Note: This field may return null, indicating that no valid values can be obtained.
141+
* `tags` - Tag list. Note: This field may return null, indicating that no valid values can be obtained.
142+
* `tag_key` - Tag key.
143+
* `tag_value` - Tag value.
144+
* `user_network_infos` - User availability zone and subnet information. Note: This field may return null, indicating that no valid values can be obtained.
145+
* `version` - Version. Note: This field may return null, indicating that no valid values can be obtained.
146+
* `vpc_id` - VPC name. Note: This field may return null, indicating that no valid values can be obtained.
147+
* `zone_desc` - Note about availability zone, such as Guangzhou Zone 2. Note: This field may return null, indicating that no valid values can be obtained.
148+
* `zone` - Availability zone, ap-guangzhou-3. Note: This field may return null, indicating that no valid values can be obtained.
65149

66150

website/docs/r/cdwdoris_instance.html.markdown

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ layout: "tencentcloud"
44
page_title: "TencentCloud: tencentcloud_cdwdoris_instance"
55
sidebar_current: "docs-tencentcloud-resource-cdwdoris_instance"
66
description: |-
7-
Provides a resource to create a cdwdoris instance
7+
Provides a resource to create a CDWDoris instance
88
---
99

1010
# tencentcloud_cdwdoris_instance
1111

12-
Provides a resource to create a cdwdoris instance
12+
Provides a resource to create a CDWDoris instance
1313

1414
## Example Usage
1515

@@ -54,7 +54,8 @@ resource "tencentcloud_cdwdoris_instance" "example" {
5454
product_version = "2.1"
5555
instance_name = "tf-example"
5656
doris_user_pwd = "Password@test"
57-
ha_flag = false
57+
ha_flag = true
58+
ha_type = 1
5859
case_sensitive = 0
5960
enable_multi_zones = false
6061
workload_group_status = "open"
@@ -86,7 +87,7 @@ resource "tencentcloud_cdwdoris_instance" "example" {
8687
}
8788
```
8889

89-
### Create a POSTPAID instance
90+
### Create a PREPAID instance
9091

9192
```hcl
9293
# availability zone
@@ -127,7 +128,8 @@ resource "tencentcloud_cdwdoris_instance" "example" {
127128
product_version = "2.1"
128129
instance_name = "tf-example"
129130
doris_user_pwd = "Password@test"
130-
ha_flag = false
131+
ha_flag = true
132+
ha_type = 1
131133
case_sensitive = 0
132134
enable_multi_zones = false
133135
workload_group_status = "close"

website/docs/r/cdwdoris_workload_group.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ layout: "tencentcloud"
44
page_title: "TencentCloud: tencentcloud_cdwdoris_workload_group"
55
sidebar_current: "docs-tencentcloud-resource-cdwdoris_workload_group"
66
description: |-
7-
Provides a resource to create a cdwdoris workload group
7+
Provides a resource to create a CDWDoris workload group
88
---
99

1010
# tencentcloud_cdwdoris_workload_group
1111

12-
Provides a resource to create a cdwdoris workload group
12+
Provides a resource to create a CDWDoris workload group
1313

1414
~> **NOTE:** To use this resource, The `workload_group_status` field of `tencentcloud_cdwdoris_instance` needs to be set to true.
1515

0 commit comments

Comments
 (0)