@@ -20,125 +20,6 @@ import (
20
20
cdb "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb/v20170320"
21
21
)
22
22
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
-
142
23
func dataSourceTencentCloudMysqlInstance () * schema.Resource {
143
24
return & schema.Resource {
144
25
Read : dataSourceTencentCloudMysqlInstanceRead ,
0 commit comments