Skip to content

Commit 010261e

Browse files
committed
fix(dnspod): groupid parameter
1 parent 90dca82 commit 010261e

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

tencentcloud/data_source_tc_dnspod_domain_list.go

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,6 @@ func dataSourceTencentCloudDnspodDomainList() *schema.Resource {
268268
},
269269
},
270270

271-
"tags": {
272-
Type: schema.TypeMap,
273-
Optional: true,
274-
Description: "Tag description list.",
275-
},
276271
"result_output_file": {
277272
Type: schema.TypeString,
278273
Optional: true,
@@ -459,25 +454,6 @@ func dataSourceTencentCloudDnspodDomainListRead(d *schema.ResourceData, meta int
459454
domainListItemMap["owner"] = domainListItem.Owner
460455
}
461456

462-
// if domainListItem.TagList != nil {
463-
// tagListList := []interface{}{}
464-
// for _, tagList := range domainListItem.TagList {
465-
// tagListMap := map[string]interface{}{}
466-
467-
// if tagList.TagKey != nil {
468-
// tagListMap["tag_key"] = tagList.TagKey
469-
// }
470-
471-
// if tagList.TagValue != nil {
472-
// tagListMap["tag_value"] = tagList.TagValue
473-
// }
474-
475-
// tagListList = append(tagListList, tagListMap)
476-
// }
477-
478-
// domainListItemMap["tag_list"] = []interface{}{tagListList}
479-
// }
480-
481457
ids = append(ids, strconv.FormatUint(*domainListItem.DomainId, 10))
482458
tmpList = append(tmpList, domainListItemMap)
483459
}

website/docs/d/dnspod_domain_list.html.markdown

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ The following arguments are supported:
4747
* `sort_field` - (Optional, String) Sorting field. Available values are NAME, STATUS, RECORDS, GRADE, UPDATED_ON. NAME: Domain name STATUS: Domain status RECORDS: Number of records GRADE: Package level UPDATED_ON: Update time.
4848
* `sort_type` - (Optional, String) Sorting type, ascending: ASC, descending: DESC.
4949
* `status` - (Optional, Set: [`String`]) Get domain names based on domain status. Available values are ENABLE, LOCK, PAUSE, SPAM. ENABLE: Normal LOCK: Locked PAUSE: Paused SPAM: Banned.
50-
* `tags` - (Optional, Map) Tag description list.
5150
* `updated_at_begin` - (Optional, String) The start time of the domain name's update time to be obtained, such as '2021-05-01 03:00:00'.
5251
* `updated_at_end` - (Optional, String) The end time of the domain name's update time to be obtained, such as '2021-05-10 20:00:00'.
5352

0 commit comments

Comments
 (0)