Skip to content

Commit 89a4002

Browse files
committed
docs(dnspod): dnspod domain list
1 parent 501a1e6 commit 89a4002

File tree

4 files changed

+92
-2
lines changed

4 files changed

+92
-2
lines changed

tencentcloud/data_source_tc_dnspod_domain_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
Use this data source to query detailed information of dnspod domain_list
33
4-
# Example Usage
4+
Example Usage
55
66
```hcl
77

tencentcloud/provider.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2587,7 +2587,6 @@ func Provider() *schema.Provider {
25872587
"tencentcloud_organization_org_financial_by_product": dataSourceTencentCloudOrganizationOrgFinancialByProduct(),
25882588
"tencentcloud_organization_org_auth_node": dataSourceTencentCloudOrganizationOrgAuthNode(),
25892589
"tencentcloud_pts_scenario_with_jobs": dataSourceTencentCloudPtsScenarioWithJobs(),
2590-
"tencentcloud_dnspod_domain_list": dataSourceTencentCloudDnspodDomainList(),
25912590
},
25922591

25932592
ResourcesMap: map[string]*schema.Resource{
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
subcategory: "DNSPOD"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_dnspod_domain_list"
5+
sidebar_current: "docs-tencentcloud-datasource-dnspod_domain_list"
6+
description: |-
7+
Use this data source to query detailed information of dnspod domain_list
8+
---
9+
10+
# tencentcloud_dnspod_domain_list
11+
12+
Use this data source to query detailed information of dnspod domain_list
13+
14+
## Example Usage
15+
16+
```hcl
17+
data "tencentcloud_dnspod_domain_list" "domain_list" {
18+
type = "ALL"
19+
group_id = [1]
20+
# keyword = "keyword_demo"
21+
sort_field = "UPDATED_ON"
22+
sort_type = "DESC"
23+
status = ["PAUSE"]
24+
# package =
25+
remark = ""
26+
# updated_at_begin = "2021-05-01 03:00:00"
27+
# updated_at_end = "2021-05-10 20:00:00"
28+
# record_count_begin = 0
29+
# record_count_end = 100
30+
# project_id = -1
31+
tags = {
32+
"createdBy" = "terraform"
33+
}
34+
}
35+
```
36+
37+
## Argument Reference
38+
39+
The following arguments are supported:
40+
41+
* `type` - (Required, String) Get domain names based on domain group type. Available values are ALL, MINE, SHARE, RECENT. ALL: All MINE: My domain names SHARE: Domain names shared with me RECENT: Recently operated domain names.
42+
* `group_id` - (Optional, Set: [`Int`]) Get domain names based on domain group id, which can be obtained through the GroupId field in DescribeDomain or DescribeDomainList interface.
43+
* `keyword` - (Optional, String) Get domain names based on keywords.
44+
* `package` - (Optional, Set: [`String`]) Get domain names based on the package, which can be obtained through the Grade field in DescribeDomain or DescribeDomainList interface.
45+
* `project_id` - (Optional, Int) Project ID.
46+
* `record_count_begin` - (Optional, Int) The start point of the domain name's record count query range.
47+
* `record_count_end` - (Optional, Int) The end point of the domain name's record count query range.
48+
* `remark` - (Optional, String) Get domain names based on remark information.
49+
* `result_output_file` - (Optional, String) Used to save results.
50+
* `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.
51+
* `sort_type` - (Optional, String) Sorting type, ascending: ASC, descending: DESC.
52+
* `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.
53+
* `tags` - (Optional, Map) Tag description list.
54+
* `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'.
55+
* `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'.
56+
57+
## Attributes Reference
58+
59+
In addition to all arguments above, the following attributes are exported:
60+
61+
* `domain_list` - Domain list.
62+
* `cname_speedup` - Whether to enable CNAME acceleration, enabled: ENABLE, disabled: DISABLE.
63+
* `created_on` - Domain addition time.
64+
* `dns_status` - DNS settings status, error: DNSERROR, normal: empty string.
65+
* `domain_id` - Unique identifier assigned to the domain by the system.
66+
* `effective_dns` - Valid DNS assigned to the domain by the system.
67+
* `grade_level` - Sequence number corresponding to the domain package level.
68+
* `grade_title` - Package name.
69+
* `grade` - Domain package level code.
70+
* `group_id` - Group Id the domain belongs to.
71+
* `is_vip` - Whether it is a paid package.
72+
* `name` - Original format of the domain.
73+
* `owner` - Domain owner account.
74+
* `punycode` - Punycode encoded domain format.
75+
* `record_count` - Number of records under the domain.
76+
* `remark` - Domain remark description.
77+
* `search_engine_push` - Whether to enable search engine push optimization, YES: YES, NO: NO.
78+
* `status` - Domain status, normal: ENABLE, paused: PAUSE, banned: SPAM.
79+
* `tag_list` - Domain-related tag list Note: This field may return null, indicating that no valid value can be obtained.
80+
* `tag_key` - Tag key.
81+
* `tag_value` - Tag Value. Note: This field may return null, indicating that no valid value can be obtained.
82+
* `ttl` - Default TTL value for domain resolution records.
83+
* `updated_on` - Domain update time.
84+
* `vip_auto_renew` - Whether the domain has VIP auto-renewal enabled, YES: YES, NO: NO, DEFAULT: DEFAULT.
85+
* `vip_end_at` - Paid package expiration time.
86+
* `vip_start_at` - Paid package activation time.
87+
88+

website/tencentcloud.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1635,6 +1635,9 @@
16351635
<li>
16361636
<a href="#">Data Sources</a>
16371637
<ul class="nav nav-auto-expand">
1638+
<li>
1639+
<a href="/docs/providers/tencentcloud/d/dnspod_domain_list.html">tencentcloud_dnspod_domain_list</a>
1640+
</li>
16381641
<li>
16391642
<a href="/docs/providers/tencentcloud/d/dnspod_records.html">tencentcloud_dnspod_records</a>
16401643
</li>

0 commit comments

Comments
 (0)