|
| 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 | + |
0 commit comments