Skip to content

Commit c4dfa3e

Browse files
tongyimingmikatong
and
mikatong
authored
update doc (#2762)
Co-authored-by: mikatong <[email protected]>
1 parent 4fe99f2 commit c4dfa3e

File tree

2 files changed

+86
-86
lines changed

2 files changed

+86
-86
lines changed

tencentcloud/services/tmp/data_source_tc_monitor_tmp_instances.go

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
3131
Type: schema.TypeInt,
3232
},
3333
Description: "Filter according to instance status.\n" +
34-
"- 1: Creating;\n" +
35-
"- 2: In operation;\n" +
36-
"- 3: Abnormal;\n" +
37-
"- 4: Reconstruction;\n" +
38-
"- 5: Destruction;\n" +
39-
"- 6: Stopped taking;\n" +
40-
"- 8: Suspension of service due to arrears;\n" +
41-
"- 9: Service has been suspended due to arrears.",
34+
" - 1: Creating;\n" +
35+
" - 2: In operation;\n" +
36+
" - 3: Abnormal;\n" +
37+
" - 4: Reconstruction;\n" +
38+
" - 5: Destruction;\n" +
39+
" - 6: Stopped taking;\n" +
40+
" - 8: Suspension of service due to arrears;\n" +
41+
" - 9: Service has been suspended due to arrears.",
4242
},
4343

4444
"instance_name": {
@@ -89,8 +89,8 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
8989
Optional: true,
9090
Type: schema.TypeInt,
9191
Description: "Filter according to instance charge type.\n" +
92-
"- 2: Prepaid;\n" +
93-
"- 3: Postpaid by hour.",
92+
" - 2: Prepaid;\n" +
93+
" - 3: Postpaid by hour.",
9494
},
9595

9696
"instance_set": {
@@ -113,8 +113,8 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
113113
Type: schema.TypeInt,
114114
Computed: true,
115115
Description: "Instance charge type.\n" +
116-
"- 2: Prepaid;\n" +
117-
"- 3: Postpaid by hour.",
116+
" - 2: Prepaid;\n" +
117+
" - 3: Postpaid by hour.",
118118
},
119119
"region_id": {
120120
Type: schema.TypeInt,
@@ -145,14 +145,14 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
145145
Type: schema.TypeInt,
146146
Computed: true,
147147
Description: "Filter according to instance status.\n" +
148-
"- 1: Creating;\n" +
149-
"- 2: In operation;\n" +
150-
"- 3: Abnormal;\n" +
151-
"- 4: Reconstruction;\n" +
152-
"- 5: Destruction;\n" +
153-
"- 6: Stopped taking;\n" +
154-
"- 8: Suspension of service due to arrears;\n" +
155-
"- 9: Service has been suspended due to arrears.",
148+
" - 1: Creating;\n" +
149+
" - 2: In operation;\n" +
150+
" - 3: Abnormal;\n" +
151+
" - 4: Reconstruction;\n" +
152+
" - 5: Destruction;\n" +
153+
" - 6: Stopped taking;\n" +
154+
" - 8: Suspension of service due to arrears;\n" +
155+
" - 9: Service has been suspended due to arrears.",
156156
},
157157
"grafana_url": {
158158
Type: schema.TypeString,
@@ -168,8 +168,8 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
168168
Type: schema.TypeInt,
169169
Computed: true,
170170
Description: "Whether to enable grafana.\n" +
171-
"- 0: closed;\n" +
172-
"- 1: open.",
171+
" - 0: closed;\n" +
172+
" - 1: open.",
173173
},
174174
"ipv4_address": {
175175
Type: schema.TypeString,
@@ -204,11 +204,11 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
204204
Type: schema.TypeInt,
205205
Computed: true,
206206
Description: "Charge status.\n" +
207-
"- 1: Normal;\n" +
208-
"- 2: Expires;\n" +
209-
"- 3: Destruction;\n" +
210-
"- 4: Allocation;\n" +
211-
"- 5: Allocation failed.",
207+
" - 1: Normal;\n" +
208+
" - 2: Expires;\n" +
209+
" - 3: Destruction;\n" +
210+
" - 4: Allocation;\n" +
211+
" - 5: Allocation failed.",
212212
},
213213
"spec_name": {
214214
Type: schema.TypeString,
@@ -219,17 +219,17 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
219219
Type: schema.TypeInt,
220220
Computed: true,
221221
Description: "Automatic renewal flag.\n" +
222-
"- 0: No automatic renewal;\n" +
223-
"- 1: Enable automatic renewal;\n" +
224-
"- 2: Automatic renewal is prohibited;\n" +
225-
"- -1: Invalid.",
222+
" - 0: No automatic renewal;\n" +
223+
" - 1: Enable automatic renewal;\n" +
224+
" - 2: Automatic renewal is prohibited;\n" +
225+
" - -1: Invalid.",
226226
},
227227
"is_near_expire": {
228228
Type: schema.TypeInt,
229229
Computed: true,
230230
Description: "Whether it is about to expire.\n" +
231-
"- 0: No;\n" +
232-
"- 1: Expiring soon.",
231+
" - 0: No;\n" +
232+
" - 1: Expiring soon.",
233233
},
234234
"auth_token": {
235235
Type: schema.TypeString,
@@ -255,13 +255,13 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
255255
Type: schema.TypeInt,
256256
Computed: true,
257257
Description: "Grafana status.\n" +
258-
"- 1: Creating;\n" +
259-
"- 2: In operation;\n" +
260-
"- 3: Abnormal;\n" +
261-
"- 4: Rebooting;\n" +
262-
"- 5: Destruction;\n" +
263-
"- 6: Shutdown;\n" +
264-
"- 7: Deleted.",
258+
" - 1: Creating;\n" +
259+
" - 2: In operation;\n" +
260+
" - 3: Abnormal;\n" +
261+
" - 4: Rebooting;\n" +
262+
" - 5: Destruction;\n" +
263+
" - 6: Shutdown;\n" +
264+
" - 7: Deleted.",
265265
},
266266
"grafana_ip_white_list": {
267267
Type: schema.TypeString,
@@ -326,9 +326,9 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
326326
Type: schema.TypeInt,
327327
Computed: true,
328328
Description: "Migration status.\n" +
329-
"- 0: Not in migration;\n+" +
330-
"- 1: Migrating, original instance;\n+" +
331-
"- 2: Migrating, target instance.",
329+
" - 0: Not in migration;\n+" +
330+
" - 1: Migrating, original instance;\n+" +
331+
" - 2: Migrating, target instance.",
332332
},
333333
},
334334
},

website/docs/d/monitor_tmp_instances.html.markdown

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ data "tencentcloud_monitor_tmp_instances" "tmp_instances" {
2424
The following arguments are supported:
2525

2626
* `instance_charge_type` - (Optional, Int) Filter according to instance charge type.
27-
- 2: Prepaid;
28-
- 3: Postpaid by hour.
27+
- 2: Prepaid;
28+
- 3: Postpaid by hour.
2929
* `instance_ids` - (Optional, Set: [`String`]) Query according to one or more instance IDs. The instance ID is like: prom-xxxx. The maximum number of instances requested is 100.
3030
* `instance_name` - (Optional, String) Filter according to instance name.
3131
* `instance_status` - (Optional, Set: [`Int`]) Filter according to instance status.
32-
- 1: Creating;
33-
- 2: In operation;
34-
- 3: Abnormal;
35-
- 4: Reconstruction;
36-
- 5: Destruction;
37-
- 6: Stopped taking;
38-
- 8: Suspension of service due to arrears;
39-
- 9: Service has been suspended due to arrears.
32+
- 1: Creating;
33+
- 2: In operation;
34+
- 3: Abnormal;
35+
- 4: Reconstruction;
36+
- 5: Destruction;
37+
- 6: Stopped taking;
38+
- 8: Suspension of service due to arrears;
39+
- 9: Service has been suspended due to arrears.
4040
* `ipv4_address` - (Optional, Set: [`String`]) Filter according to ipv4 address.
4141
* `result_output_file` - (Optional, String) Used to save results.
4242
* `tag_filters` - (Optional, List) Filter according to tag Key-Value pair. The tag-key is replaced with a specific label key.
@@ -56,32 +56,32 @@ In addition to all arguments above, the following attributes are exported:
5656
* `api_root_path` - Prometheus http api root address.
5757
* `auth_token` - Token required for data writing.
5858
* `auto_renew_flag` - Automatic renewal flag.
59-
- 0: No automatic renewal;
60-
- 1: Enable automatic renewal;
61-
- 2: Automatic renewal is prohibited;
62-
- -1: Invalid.
59+
- 0: No automatic renewal;
60+
- 1: Enable automatic renewal;
61+
- 2: Automatic renewal is prohibited;
62+
- -1: Invalid.
6363
* `charge_status` - Charge status.
64-
- 1: Normal;
65-
- 2: Expires;
66-
- 3: Destruction;
67-
- 4: Allocation;
68-
- 5: Allocation failed.
64+
- 1: Normal;
65+
- 2: Expires;
66+
- 3: Destruction;
67+
- 4: Allocation;
68+
- 5: Allocation failed.
6969
* `created_at` - Created_at.
7070
* `data_retention_time` - Data retention time.
7171
* `enable_grafana` - Whether to enable grafana.
72-
- 0: closed;
73-
- 1: open.
72+
- 0: closed;
73+
- 1: open.
7474
* `expire_time` - Expires for purchased instances.
7575
* `grafana_instance_id` - Binding grafana instance id.
7676
* `grafana_ip_white_list` - Grafana IP whitelist list.
7777
* `grafana_status` - Grafana status.
78-
- 1: Creating;
79-
- 2: In operation;
80-
- 3: Abnormal;
81-
- 4: Rebooting;
82-
- 5: Destruction;
83-
- 6: Shutdown;
84-
- 7: Deleted.
78+
- 1: Creating;
79+
- 2: In operation;
80+
- 3: Abnormal;
81+
- 4: Rebooting;
82+
- 5: Destruction;
83+
- 6: Shutdown;
84+
- 7: Deleted.
8585
* `grafana_url` - Grafana panel url.
8686
* `grant` - Authorization information for the instance.
8787
* `has_agent_manage` - Whether you have permission to manage the agent (1=yes, 2=no).
@@ -91,27 +91,27 @@ In addition to all arguments above, the following attributes are exported:
9191
* `has_tke_manage` - Whether you have permission to manage TKE integration (1=yes, 2=no).
9292
* `has_vpc_display` - Whether to display VPC information (1=yes, 2=no).
9393
* `instance_charge_type` - Instance charge type.
94-
- 2: Prepaid;
95-
- 3: Postpaid by hour.
94+
- 2: Prepaid;
95+
- 3: Postpaid by hour.
9696
* `instance_id` - Instance id.
9797
* `instance_name` - Instance name.
9898
* `instance_status` - Filter according to instance status.
99-
- 1: Creating;
100-
- 2: In operation;
101-
- 3: Abnormal;
102-
- 4: Reconstruction;
103-
- 5: Destruction;
104-
- 6: Stopped taking;
105-
- 8: Suspension of service due to arrears;
106-
- 9: Service has been suspended due to arrears.
99+
- 1: Creating;
100+
- 2: In operation;
101+
- 3: Abnormal;
102+
- 4: Reconstruction;
103+
- 5: Destruction;
104+
- 6: Stopped taking;
105+
- 8: Suspension of service due to arrears;
106+
- 9: Service has been suspended due to arrears.
107107
* `ipv4_address` - IPV4 address.
108108
* `is_near_expire` - Whether it is about to expire.
109-
- 0: No;
110-
- 1: Expiring soon.
109+
- 0: No;
110+
- 1: Expiring soon.
111111
* `migration_type` - Migration status.
112-
- 0: Not in migration;
113-
+- 1: Migrating, original instance;
114-
+- 2: Migrating, target instance.
112+
- 0: Not in migration;
113+
+ - 1: Migrating, original instance;
114+
+ - 2: Migrating, target instance.
115115
* `proxy_address` - Proxy address.
116116
* `recording_rule_limit` - Pre-aggregation rule limitations.
117117
* `region_id` - Region id.

0 commit comments

Comments
 (0)