Skip to content

Commit ecf8d7b

Browse files
authored
fix(dnspod): [129322268] tencentcloud_dnspod_domain_list update doc (#3655)
* add * add
1 parent 55eaf48 commit ecf8d7b

File tree

4 files changed

+25
-24
lines changed

4 files changed

+25
-24
lines changed

.changelog/3655.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_dnspod_domain_list: update doc
3+
```

tencentcloud/services/dnspod/data_source_tc_dnspod_domain_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ func dataSourceTencentCloudDnspodDomainListRead(d *schema.ResourceData, meta int
493493
tagListList = append(tagListList, tagListMap)
494494
}
495495

496-
domainListItemMap["tag_list"] = []interface{}{tagListList}
496+
domainListItemMap["tag_list"] = tagListList
497497
}
498498

499499
ids = append(ids, strconv.FormatUint(*domainListItem.DomainId, 10))
Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
1-
Use this data source to query detailed information of dnspod domain_list
1+
Use this data source to query detailed information of DnsPod domain list
22

33
Example Usage
44

55
```hcl
6-
76
data "tencentcloud_dnspod_domain_list" "domain_list" {
8-
type = "ALL"
9-
group_id = [1]
10-
keyword = ""
11-
sort_field = "UPDATED_ON"
12-
sort_type = "DESC"
13-
status = ["PAUSE"]
14-
package = [""]
15-
remark = ""
16-
updated_at_begin = "2021-05-01 03:00:00"
17-
updated_at_end = "2024-05-10 20:00:00"
18-
record_count_begin = 0
19-
record_count_end = 100
20-
project_id = -1
21-
tags {
22-
tag_key = "created_by"
23-
tag_value = ["terraform"]
24-
}
7+
type = "ALL"
8+
group_id = [1]
9+
keyword = ""
10+
sort_field = "UPDATED_ON"
11+
sort_type = "DESC"
12+
status = ["PAUSE"]
13+
package = [""]
14+
remark = ""
15+
updated_at_begin = "2021-05-01 03:00:00"
16+
updated_at_end = "2025-05-10 20:00:00"
17+
record_count_begin = 0
18+
record_count_end = 100
19+
project_id = -1
20+
tags {
21+
tag_key = "created_by"
22+
tag_value = ["terraform"]
23+
}
2524
}
26-
2725
```

website/docs/d/dnspod_domain_list.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ layout: "tencentcloud"
44
page_title: "TencentCloud: tencentcloud_dnspod_domain_list"
55
sidebar_current: "docs-tencentcloud-datasource-dnspod_domain_list"
66
description: |-
7-
Use this data source to query detailed information of dnspod domain_list
7+
Use this data source to query detailed information of DnsPod domain list
88
---
99

1010
# tencentcloud_dnspod_domain_list
1111

12-
Use this data source to query detailed information of dnspod domain_list
12+
Use this data source to query detailed information of DnsPod domain list
1313

1414
## Example Usage
1515

@@ -24,7 +24,7 @@ data "tencentcloud_dnspod_domain_list" "domain_list" {
2424
package = [""]
2525
remark = ""
2626
updated_at_begin = "2021-05-01 03:00:00"
27-
updated_at_end = "2024-05-10 20:00:00"
27+
updated_at_end = "2025-05-10 20:00:00"
2828
record_count_begin = 0
2929
record_count_end = 100
3030
project_id = -1

0 commit comments

Comments
 (0)