Skip to content

Commit 386a71c

Browse files
committed
Merge branch 'gendoc' of github.com:terraform-tencentcloud/terraform-provider-tencentcloud into gendoc
2 parents a743a8b + 46153e4 commit 386a71c

File tree

2 files changed

+0
-120
lines changed

2 files changed

+0
-120
lines changed

tencentcloud/data_source_tc_mysql_instance.go

Lines changed: 0 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -20,125 +20,6 @@ import (
2020
cdb "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb/v20170320"
2121
)
2222

23-
func TencentCloudMysqlInstanceDetail() map[string]*schema.Schema {
24-
return map[string]*schema.Schema{
25-
"mysql_id": {
26-
Type: schema.TypeString,
27-
Computed: true,
28-
},
29-
"instance_name": {
30-
Type: schema.TypeString,
31-
Computed: true,
32-
},
33-
"instance_role": {
34-
Type: schema.TypeString,
35-
Computed: true,
36-
},
37-
"init_flag": {
38-
Type: schema.TypeInt,
39-
Computed: true,
40-
},
41-
"status": {
42-
Type: schema.TypeInt,
43-
Computed: true,
44-
},
45-
"zone": {
46-
Type: schema.TypeString,
47-
Computed: true,
48-
},
49-
"auto_renew_flag": {
50-
Type: schema.TypeInt,
51-
Computed: true,
52-
},
53-
"engine_version": {
54-
Type: schema.TypeString,
55-
Computed: true,
56-
},
57-
"cpu_core_count": {
58-
Type: schema.TypeInt,
59-
Computed: true,
60-
},
61-
"memory_size": {
62-
Type: schema.TypeInt,
63-
Computed: true,
64-
},
65-
"volume_size": {
66-
Type: schema.TypeInt,
67-
Computed: true,
68-
},
69-
"internet_status": {
70-
Type: schema.TypeInt,
71-
Computed: true,
72-
},
73-
"internet_domain": {
74-
Type: schema.TypeString,
75-
Computed: true,
76-
},
77-
"internet_port": {
78-
Type: schema.TypeInt,
79-
Computed: true,
80-
},
81-
"intranet_ip": {
82-
Type: schema.TypeString,
83-
Computed: true,
84-
},
85-
"intranet_port": {
86-
Type: schema.TypeInt,
87-
Computed: true,
88-
},
89-
"project_id": {
90-
Type: schema.TypeInt,
91-
Computed: true,
92-
},
93-
"vpc_id": {
94-
Type: schema.TypeString,
95-
Computed: true,
96-
},
97-
"subnet_id": {
98-
Type: schema.TypeString,
99-
Computed: true,
100-
},
101-
"slave_sync_mode": {
102-
Type: schema.TypeInt,
103-
Computed: true,
104-
},
105-
"device_type": {
106-
Type: schema.TypeString,
107-
Computed: true,
108-
},
109-
"pay_type": {
110-
Type: schema.TypeInt,
111-
Computed: true,
112-
},
113-
"create_time": {
114-
Type: schema.TypeString,
115-
Computed: true,
116-
},
117-
"dead_line_time": {
118-
Type: schema.TypeString,
119-
Computed: true,
120-
},
121-
"master_instance_id": {
122-
Type: schema.TypeString,
123-
Computed: true,
124-
},
125-
"ro_instance_ids": {
126-
Type: schema.TypeList,
127-
Computed: true,
128-
Elem: &schema.Schema{
129-
Type: schema.TypeString,
130-
},
131-
},
132-
"dr_instance_ids": {
133-
Type: schema.TypeList,
134-
Computed: true,
135-
Elem: &schema.Schema{
136-
Type: schema.TypeString,
137-
},
138-
},
139-
}
140-
}
141-
14223
func dataSourceTencentCloudMysqlInstance() *schema.Resource {
14324
return &schema.Resource{
14425
Read: dataSourceTencentCloudMysqlInstanceRead,

website/docs/d/mysql_instance.html.markdown

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,3 @@ In addition to all arguments above, the following attributes are exported:
6565
* `volume_size` - Disk capacity (in GB).
6666
* `vpc_id` - ID of Virtual Private Cloud.
6767
* `zone` - Information of available zone.
68-

0 commit comments

Comments
 (0)