From d617357f6331913eab5ff8700f83d2a55e6c03d3 Mon Sep 17 00:00:00 2001 From: SevenEarth <391613297@qq.com> Date: Mon, 15 Dec 2025 20:24:20 +0800 Subject: [PATCH 1/2] add --- .../data_source_tc_dnspod_domain_list.go | 2 +- .../data_source_tc_dnspod_domain_list.md | 38 +++++++++---------- .../docs/d/dnspod_domain_list.html.markdown | 6 +-- 3 files changed, 22 insertions(+), 24 deletions(-) diff --git a/tencentcloud/services/dnspod/data_source_tc_dnspod_domain_list.go b/tencentcloud/services/dnspod/data_source_tc_dnspod_domain_list.go index 63df437ef1..7efd589c55 100644 --- a/tencentcloud/services/dnspod/data_source_tc_dnspod_domain_list.go +++ b/tencentcloud/services/dnspod/data_source_tc_dnspod_domain_list.go @@ -493,7 +493,7 @@ func dataSourceTencentCloudDnspodDomainListRead(d *schema.ResourceData, meta int tagListList = append(tagListList, tagListMap) } - domainListItemMap["tag_list"] = []interface{}{tagListList} + domainListItemMap["tag_list"] = tagListList } ids = append(ids, strconv.FormatUint(*domainListItem.DomainId, 10)) diff --git a/tencentcloud/services/dnspod/data_source_tc_dnspod_domain_list.md b/tencentcloud/services/dnspod/data_source_tc_dnspod_domain_list.md index c59b9645a4..b69cd1c65a 100644 --- a/tencentcloud/services/dnspod/data_source_tc_dnspod_domain_list.md +++ b/tencentcloud/services/dnspod/data_source_tc_dnspod_domain_list.md @@ -1,27 +1,25 @@ -Use this data source to query detailed information of dnspod domain_list +Use this data source to query detailed information of DnsPod domain list Example Usage ```hcl - data "tencentcloud_dnspod_domain_list" "domain_list" { - type = "ALL" - group_id = [1] - keyword = "" - sort_field = "UPDATED_ON" - sort_type = "DESC" - status = ["PAUSE"] - package = [""] - remark = "" - updated_at_begin = "2021-05-01 03:00:00" - updated_at_end = "2024-05-10 20:00:00" - record_count_begin = 0 - record_count_end = 100 - project_id = -1 - tags { - tag_key = "created_by" - tag_value = ["terraform"] - } + type = "ALL" + group_id = [1] + keyword = "" + sort_field = "UPDATED_ON" + sort_type = "DESC" + status = ["PAUSE"] + package = [""] + remark = "" + updated_at_begin = "2021-05-01 03:00:00" + updated_at_end = "2025-05-10 20:00:00" + record_count_begin = 0 + record_count_end = 100 + project_id = -1 + tags { + tag_key = "created_by" + tag_value = ["terraform"] + } } - ``` \ No newline at end of file diff --git a/website/docs/d/dnspod_domain_list.html.markdown b/website/docs/d/dnspod_domain_list.html.markdown index c73c83618e..9f3ba6e4ef 100644 --- a/website/docs/d/dnspod_domain_list.html.markdown +++ b/website/docs/d/dnspod_domain_list.html.markdown @@ -4,12 +4,12 @@ layout: "tencentcloud" page_title: "TencentCloud: tencentcloud_dnspod_domain_list" sidebar_current: "docs-tencentcloud-datasource-dnspod_domain_list" description: |- - Use this data source to query detailed information of dnspod domain_list + Use this data source to query detailed information of DnsPod domain list --- # tencentcloud_dnspod_domain_list -Use this data source to query detailed information of dnspod domain_list +Use this data source to query detailed information of DnsPod domain list ## Example Usage @@ -24,7 +24,7 @@ data "tencentcloud_dnspod_domain_list" "domain_list" { package = [""] remark = "" updated_at_begin = "2021-05-01 03:00:00" - updated_at_end = "2024-05-10 20:00:00" + updated_at_end = "2025-05-10 20:00:00" record_count_begin = 0 record_count_end = 100 project_id = -1 From 964c6b93e1893cfd70fd0153c8137cd1849a273d Mon Sep 17 00:00:00 2001 From: SevenEarth <391613297@qq.com> Date: Mon, 15 Dec 2025 20:26:12 +0800 Subject: [PATCH 2/2] add --- .changelog/3655.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/3655.txt diff --git a/.changelog/3655.txt b/.changelog/3655.txt new file mode 100644 index 0000000000..29fbb8fd00 --- /dev/null +++ b/.changelog/3655.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/tencentcloud_dnspod_domain_list: update doc +``` \ No newline at end of file