1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getDnspodRecordList
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getDnspodRecordList

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of dnspod record_list

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const recordList = tencentcloud.getDnspodRecordList({
        domain: "iac-tf.cloud",
        groupIds: [],
        isExactSubDomain: true,
        keyword: "",
        mxBegin: 0,
        mxEnd: 10,
        recordStatuses: ["ENABLE"],
        recordTypes: [
            "A",
            "NS",
            "CNAME",
            "NS",
            "AAAA",
        ],
        recordValue: "bicycle.dnspod.net",
        remark: "",
        sortField: "UPDATED_ON",
        sortType: "DESC",
        ttlBegin: 1,
        ttlEnd: 864000,
        updatedAtBegin: "2021-09-07",
        updatedAtEnd: "2023-12-07",
        weightBegin: 0,
        weightEnd: 100,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    record_list = tencentcloud.get_dnspod_record_list(domain="iac-tf.cloud",
        group_ids=[],
        is_exact_sub_domain=True,
        keyword="",
        mx_begin=0,
        mx_end=10,
        record_statuses=["ENABLE"],
        record_types=[
            "A",
            "NS",
            "CNAME",
            "NS",
            "AAAA",
        ],
        record_value="bicycle.dnspod.net",
        remark="",
        sort_field="UPDATED_ON",
        sort_type="DESC",
        ttl_begin=1,
        ttl_end=864000,
        updated_at_begin="2021-09-07",
        updated_at_end="2023-12-07",
        weight_begin=0,
        weight_end=100)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetDnspodRecordList(ctx, &tencentcloud.GetDnspodRecordListArgs{
    			Domain:           "iac-tf.cloud",
    			GroupIds:         []interface{}{},
    			IsExactSubDomain: pulumi.BoolRef(true),
    			Keyword:          pulumi.StringRef(""),
    			MxBegin:          pulumi.Float64Ref(0),
    			MxEnd:            pulumi.Float64Ref(10),
    			RecordStatuses: []string{
    				"ENABLE",
    			},
    			RecordTypes: []string{
    				"A",
    				"NS",
    				"CNAME",
    				"NS",
    				"AAAA",
    			},
    			RecordValue:    pulumi.StringRef("bicycle.dnspod.net"),
    			Remark:         pulumi.StringRef(""),
    			SortField:      pulumi.StringRef("UPDATED_ON"),
    			SortType:       pulumi.StringRef("DESC"),
    			TtlBegin:       pulumi.Float64Ref(1),
    			TtlEnd:         pulumi.Float64Ref(864000),
    			UpdatedAtBegin: pulumi.StringRef("2021-09-07"),
    			UpdatedAtEnd:   pulumi.StringRef("2023-12-07"),
    			WeightBegin:    pulumi.Float64Ref(0),
    			WeightEnd:      pulumi.Float64Ref(100),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var recordList = Tencentcloud.GetDnspodRecordList.Invoke(new()
        {
            Domain = "iac-tf.cloud",
            GroupIds = new() { },
            IsExactSubDomain = true,
            Keyword = "",
            MxBegin = 0,
            MxEnd = 10,
            RecordStatuses = new[]
            {
                "ENABLE",
            },
            RecordTypes = new[]
            {
                "A",
                "NS",
                "CNAME",
                "NS",
                "AAAA",
            },
            RecordValue = "bicycle.dnspod.net",
            Remark = "",
            SortField = "UPDATED_ON",
            SortType = "DESC",
            TtlBegin = 1,
            TtlEnd = 864000,
            UpdatedAtBegin = "2021-09-07",
            UpdatedAtEnd = "2023-12-07",
            WeightBegin = 0,
            WeightEnd = 100,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetDnspodRecordListArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var recordList = TencentcloudFunctions.getDnspodRecordList(GetDnspodRecordListArgs.builder()
                .domain("iac-tf.cloud")
                .groupIds()
                .isExactSubDomain(true)
                .keyword("")
                .mxBegin(0)
                .mxEnd(10)
                .recordStatuses("ENABLE")
                .recordTypes(            
                    "A",
                    "NS",
                    "CNAME",
                    "NS",
                    "AAAA")
                .recordValue("bicycle.dnspod.net")
                .remark("")
                .sortField("UPDATED_ON")
                .sortType("DESC")
                .ttlBegin(1)
                .ttlEnd(864000)
                .updatedAtBegin("2021-09-07")
                .updatedAtEnd("2023-12-07")
                .weightBegin(0)
                .weightEnd(100)
                .build());
    
        }
    }
    
    variables:
      recordList:
        fn::invoke:
          function: tencentcloud:getDnspodRecordList
          arguments:
            domain: iac-tf.cloud
            groupIds: []
            isExactSubDomain: true
            keyword: ""
            mxBegin: 0
            mxEnd: 10
            recordStatuses:
              - ENABLE
            recordTypes:
              - A
              - NS
              - CNAME
              - NS
              - AAAA
            recordValue: bicycle.dnspod.net
            remark: ""
            sortField: UPDATED_ON
            sortType: DESC
            ttlBegin: 1
            ttlEnd: 864000
            updatedAtBegin: 2021-09-07
            updatedAtEnd: 2023-12-07
            weightBegin: 0
            weightEnd: 100
    

    Using getDnspodRecordList

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDnspodRecordList(args: GetDnspodRecordListArgs, opts?: InvokeOptions): Promise<GetDnspodRecordListResult>
    function getDnspodRecordListOutput(args: GetDnspodRecordListOutputArgs, opts?: InvokeOptions): Output<GetDnspodRecordListResult>
    def get_dnspod_record_list(domain: Optional[str] = None,
                               domain_id: Optional[float] = None,
                               group_ids: Optional[Sequence[float]] = None,
                               id: Optional[str] = None,
                               is_exact_sub_domain: Optional[bool] = None,
                               keyword: Optional[str] = None,
                               mx_begin: Optional[float] = None,
                               mx_end: Optional[float] = None,
                               project_id: Optional[float] = None,
                               record_lines: Optional[Sequence[str]] = None,
                               record_statuses: Optional[Sequence[str]] = None,
                               record_types: Optional[Sequence[str]] = None,
                               record_value: Optional[str] = None,
                               remark: Optional[str] = None,
                               result_output_file: Optional[str] = None,
                               sort_field: Optional[str] = None,
                               sort_type: Optional[str] = None,
                               sub_domain: Optional[str] = None,
                               sub_domains: Optional[Sequence[str]] = None,
                               ttl_begin: Optional[float] = None,
                               ttl_end: Optional[float] = None,
                               updated_at_begin: Optional[str] = None,
                               updated_at_end: Optional[str] = None,
                               weight_begin: Optional[float] = None,
                               weight_end: Optional[float] = None,
                               opts: Optional[InvokeOptions] = None) -> GetDnspodRecordListResult
    def get_dnspod_record_list_output(domain: Optional[pulumi.Input[str]] = None,
                               domain_id: Optional[pulumi.Input[float]] = None,
                               group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
                               id: Optional[pulumi.Input[str]] = None,
                               is_exact_sub_domain: Optional[pulumi.Input[bool]] = None,
                               keyword: Optional[pulumi.Input[str]] = None,
                               mx_begin: Optional[pulumi.Input[float]] = None,
                               mx_end: Optional[pulumi.Input[float]] = None,
                               project_id: Optional[pulumi.Input[float]] = None,
                               record_lines: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                               record_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                               record_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                               record_value: Optional[pulumi.Input[str]] = None,
                               remark: Optional[pulumi.Input[str]] = None,
                               result_output_file: Optional[pulumi.Input[str]] = None,
                               sort_field: Optional[pulumi.Input[str]] = None,
                               sort_type: Optional[pulumi.Input[str]] = None,
                               sub_domain: Optional[pulumi.Input[str]] = None,
                               sub_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                               ttl_begin: Optional[pulumi.Input[float]] = None,
                               ttl_end: Optional[pulumi.Input[float]] = None,
                               updated_at_begin: Optional[pulumi.Input[str]] = None,
                               updated_at_end: Optional[pulumi.Input[str]] = None,
                               weight_begin: Optional[pulumi.Input[float]] = None,
                               weight_end: Optional[pulumi.Input[float]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetDnspodRecordListResult]
    func GetDnspodRecordList(ctx *Context, args *GetDnspodRecordListArgs, opts ...InvokeOption) (*GetDnspodRecordListResult, error)
    func GetDnspodRecordListOutput(ctx *Context, args *GetDnspodRecordListOutputArgs, opts ...InvokeOption) GetDnspodRecordListResultOutput

    > Note: This function is named GetDnspodRecordList in the Go SDK.

    public static class GetDnspodRecordList 
    {
        public static Task<GetDnspodRecordListResult> InvokeAsync(GetDnspodRecordListArgs args, InvokeOptions? opts = null)
        public static Output<GetDnspodRecordListResult> Invoke(GetDnspodRecordListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDnspodRecordListResult> getDnspodRecordList(GetDnspodRecordListArgs args, InvokeOptions options)
    public static Output<GetDnspodRecordListResult> getDnspodRecordList(GetDnspodRecordListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getDnspodRecordList:getDnspodRecordList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Domain string
    The domain to which the resolution record belongs.
    DomainId double
    The domain ID to which the resolution record belongs. If DomainId is provided, the system will ignore the Domain parameter. You can find all Domain and DomainId through the DescribeDomainList interface.
    GroupIds List<double>
    When retrieving resolution records under certain groups, pass this group ID. You can obtain the GroupId field through the DescribeRecordGroupList interface.
    Id string
    ID.
    IsExactSubDomain bool
    Whether to perform an exact search based on the SubDomain parameter.
    Keyword string
    Search for resolution records by keyword, currently supporting searching host headers and record values.
    MxBegin double
    The starting point of the resolution record MX priority query interval.
    MxEnd double
    The endpoint of the resolution record MX priority query interval.
    ProjectId double
    Project ID.
    RecordLines List<string>
    Retrieve resolution records for certain line IDs. You can view the allowed line information for the current domain through the DescribeRecordLineList interface.
    RecordStatuses List<string>
    Get the resolution record based on the resolution record status. The possible values are ENABLE and DISABLE. ENABLE: Normal DISABLE: Paused.
    RecordTypes List<string>
    Retrieve certain types of resolution records, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, SPF, etc.
    RecordValue string
    Get the resolution record based on the resolution record value.
    Remark string
    Get the resolution record based on the resolution record remark.
    ResultOutputFile string
    Used to save results.
    SortField string
    Sorting field, supporting NAME, LINE, TYPE, VALUE, WEIGHT, MX, TTL, UPDATED_ON fields. NAME: The host header of the resolution record LINE: The resolution record line TYPE: The resolution record type VALUE: The resolution record value WEIGHT: The weight MX: MX priority TTL: The resolution record cache time UPDATED_ON: The resolution record update time.
    SortType string
    Sorting method, ascending: ASC, descending: DESC. The default value is ASC.
    SubDomain string
    Retrieve resolution records based on the host header of the resolution record. Fuzzy matching is used by default. You can set the IsExactSubdomain parameter to true for precise searching.
    SubDomains List<string>
    Sub domains.
    TtlBegin double
    The starting point of the resolution record TTL query interval.
    TtlEnd double
    The endpoint of the resolution record TTL query interval.
    UpdatedAtBegin string
    The starting point of the resolution record update time query interval.
    UpdatedAtEnd string
    The endpoint of the resolution record update time query interval.
    WeightBegin double
    The starting point of the resolution record weight query interval.
    WeightEnd double
    The endpoint of the resolution record weight query interval.
    Domain string
    The domain to which the resolution record belongs.
    DomainId float64
    The domain ID to which the resolution record belongs. If DomainId is provided, the system will ignore the Domain parameter. You can find all Domain and DomainId through the DescribeDomainList interface.
    GroupIds []float64
    When retrieving resolution records under certain groups, pass this group ID. You can obtain the GroupId field through the DescribeRecordGroupList interface.
    Id string
    ID.
    IsExactSubDomain bool
    Whether to perform an exact search based on the SubDomain parameter.
    Keyword string
    Search for resolution records by keyword, currently supporting searching host headers and record values.
    MxBegin float64
    The starting point of the resolution record MX priority query interval.
    MxEnd float64
    The endpoint of the resolution record MX priority query interval.
    ProjectId float64
    Project ID.
    RecordLines []string
    Retrieve resolution records for certain line IDs. You can view the allowed line information for the current domain through the DescribeRecordLineList interface.
    RecordStatuses []string
    Get the resolution record based on the resolution record status. The possible values are ENABLE and DISABLE. ENABLE: Normal DISABLE: Paused.
    RecordTypes []string
    Retrieve certain types of resolution records, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, SPF, etc.
    RecordValue string
    Get the resolution record based on the resolution record value.
    Remark string
    Get the resolution record based on the resolution record remark.
    ResultOutputFile string
    Used to save results.
    SortField string
    Sorting field, supporting NAME, LINE, TYPE, VALUE, WEIGHT, MX, TTL, UPDATED_ON fields. NAME: The host header of the resolution record LINE: The resolution record line TYPE: The resolution record type VALUE: The resolution record value WEIGHT: The weight MX: MX priority TTL: The resolution record cache time UPDATED_ON: The resolution record update time.
    SortType string
    Sorting method, ascending: ASC, descending: DESC. The default value is ASC.
    SubDomain string
    Retrieve resolution records based on the host header of the resolution record. Fuzzy matching is used by default. You can set the IsExactSubdomain parameter to true for precise searching.
    SubDomains []string
    Sub domains.
    TtlBegin float64
    The starting point of the resolution record TTL query interval.
    TtlEnd float64
    The endpoint of the resolution record TTL query interval.
    UpdatedAtBegin string
    The starting point of the resolution record update time query interval.
    UpdatedAtEnd string
    The endpoint of the resolution record update time query interval.
    WeightBegin float64
    The starting point of the resolution record weight query interval.
    WeightEnd float64
    The endpoint of the resolution record weight query interval.
    domain String
    The domain to which the resolution record belongs.
    domainId Double
    The domain ID to which the resolution record belongs. If DomainId is provided, the system will ignore the Domain parameter. You can find all Domain and DomainId through the DescribeDomainList interface.
    groupIds List<Double>
    When retrieving resolution records under certain groups, pass this group ID. You can obtain the GroupId field through the DescribeRecordGroupList interface.
    id String
    ID.
    isExactSubDomain Boolean
    Whether to perform an exact search based on the SubDomain parameter.
    keyword String
    Search for resolution records by keyword, currently supporting searching host headers and record values.
    mxBegin Double
    The starting point of the resolution record MX priority query interval.
    mxEnd Double
    The endpoint of the resolution record MX priority query interval.
    projectId Double
    Project ID.
    recordLines List<String>
    Retrieve resolution records for certain line IDs. You can view the allowed line information for the current domain through the DescribeRecordLineList interface.
    recordStatuses List<String>
    Get the resolution record based on the resolution record status. The possible values are ENABLE and DISABLE. ENABLE: Normal DISABLE: Paused.
    recordTypes List<String>
    Retrieve certain types of resolution records, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, SPF, etc.
    recordValue String
    Get the resolution record based on the resolution record value.
    remark String
    Get the resolution record based on the resolution record remark.
    resultOutputFile String
    Used to save results.
    sortField String
    Sorting field, supporting NAME, LINE, TYPE, VALUE, WEIGHT, MX, TTL, UPDATED_ON fields. NAME: The host header of the resolution record LINE: The resolution record line TYPE: The resolution record type VALUE: The resolution record value WEIGHT: The weight MX: MX priority TTL: The resolution record cache time UPDATED_ON: The resolution record update time.
    sortType String
    Sorting method, ascending: ASC, descending: DESC. The default value is ASC.
    subDomain String
    Retrieve resolution records based on the host header of the resolution record. Fuzzy matching is used by default. You can set the IsExactSubdomain parameter to true for precise searching.
    subDomains List<String>
    Sub domains.
    ttlBegin Double
    The starting point of the resolution record TTL query interval.
    ttlEnd Double
    The endpoint of the resolution record TTL query interval.
    updatedAtBegin String
    The starting point of the resolution record update time query interval.
    updatedAtEnd String
    The endpoint of the resolution record update time query interval.
    weightBegin Double
    The starting point of the resolution record weight query interval.
    weightEnd Double
    The endpoint of the resolution record weight query interval.
    domain string
    The domain to which the resolution record belongs.
    domainId number
    The domain ID to which the resolution record belongs. If DomainId is provided, the system will ignore the Domain parameter. You can find all Domain and DomainId through the DescribeDomainList interface.
    groupIds number[]
    When retrieving resolution records under certain groups, pass this group ID. You can obtain the GroupId field through the DescribeRecordGroupList interface.
    id string
    ID.
    isExactSubDomain boolean
    Whether to perform an exact search based on the SubDomain parameter.
    keyword string
    Search for resolution records by keyword, currently supporting searching host headers and record values.
    mxBegin number
    The starting point of the resolution record MX priority query interval.
    mxEnd number
    The endpoint of the resolution record MX priority query interval.
    projectId number
    Project ID.
    recordLines string[]
    Retrieve resolution records for certain line IDs. You can view the allowed line information for the current domain through the DescribeRecordLineList interface.
    recordStatuses string[]
    Get the resolution record based on the resolution record status. The possible values are ENABLE and DISABLE. ENABLE: Normal DISABLE: Paused.
    recordTypes string[]
    Retrieve certain types of resolution records, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, SPF, etc.
    recordValue string
    Get the resolution record based on the resolution record value.
    remark string
    Get the resolution record based on the resolution record remark.
    resultOutputFile string
    Used to save results.
    sortField string
    Sorting field, supporting NAME, LINE, TYPE, VALUE, WEIGHT, MX, TTL, UPDATED_ON fields. NAME: The host header of the resolution record LINE: The resolution record line TYPE: The resolution record type VALUE: The resolution record value WEIGHT: The weight MX: MX priority TTL: The resolution record cache time UPDATED_ON: The resolution record update time.
    sortType string
    Sorting method, ascending: ASC, descending: DESC. The default value is ASC.
    subDomain string
    Retrieve resolution records based on the host header of the resolution record. Fuzzy matching is used by default. You can set the IsExactSubdomain parameter to true for precise searching.
    subDomains string[]
    Sub domains.
    ttlBegin number
    The starting point of the resolution record TTL query interval.
    ttlEnd number
    The endpoint of the resolution record TTL query interval.
    updatedAtBegin string
    The starting point of the resolution record update time query interval.
    updatedAtEnd string
    The endpoint of the resolution record update time query interval.
    weightBegin number
    The starting point of the resolution record weight query interval.
    weightEnd number
    The endpoint of the resolution record weight query interval.
    domain str
    The domain to which the resolution record belongs.
    domain_id float
    The domain ID to which the resolution record belongs. If DomainId is provided, the system will ignore the Domain parameter. You can find all Domain and DomainId through the DescribeDomainList interface.
    group_ids Sequence[float]
    When retrieving resolution records under certain groups, pass this group ID. You can obtain the GroupId field through the DescribeRecordGroupList interface.
    id str
    ID.
    is_exact_sub_domain bool
    Whether to perform an exact search based on the SubDomain parameter.
    keyword str
    Search for resolution records by keyword, currently supporting searching host headers and record values.
    mx_begin float
    The starting point of the resolution record MX priority query interval.
    mx_end float
    The endpoint of the resolution record MX priority query interval.
    project_id float
    Project ID.
    record_lines Sequence[str]
    Retrieve resolution records for certain line IDs. You can view the allowed line information for the current domain through the DescribeRecordLineList interface.
    record_statuses Sequence[str]
    Get the resolution record based on the resolution record status. The possible values are ENABLE and DISABLE. ENABLE: Normal DISABLE: Paused.
    record_types Sequence[str]
    Retrieve certain types of resolution records, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, SPF, etc.
    record_value str
    Get the resolution record based on the resolution record value.
    remark str
    Get the resolution record based on the resolution record remark.
    result_output_file str
    Used to save results.
    sort_field str
    Sorting field, supporting NAME, LINE, TYPE, VALUE, WEIGHT, MX, TTL, UPDATED_ON fields. NAME: The host header of the resolution record LINE: The resolution record line TYPE: The resolution record type VALUE: The resolution record value WEIGHT: The weight MX: MX priority TTL: The resolution record cache time UPDATED_ON: The resolution record update time.
    sort_type str
    Sorting method, ascending: ASC, descending: DESC. The default value is ASC.
    sub_domain str
    Retrieve resolution records based on the host header of the resolution record. Fuzzy matching is used by default. You can set the IsExactSubdomain parameter to true for precise searching.
    sub_domains Sequence[str]
    Sub domains.
    ttl_begin float
    The starting point of the resolution record TTL query interval.
    ttl_end float
    The endpoint of the resolution record TTL query interval.
    updated_at_begin str
    The starting point of the resolution record update time query interval.
    updated_at_end str
    The endpoint of the resolution record update time query interval.
    weight_begin float
    The starting point of the resolution record weight query interval.
    weight_end float
    The endpoint of the resolution record weight query interval.
    domain String
    The domain to which the resolution record belongs.
    domainId Number
    The domain ID to which the resolution record belongs. If DomainId is provided, the system will ignore the Domain parameter. You can find all Domain and DomainId through the DescribeDomainList interface.
    groupIds List<Number>
    When retrieving resolution records under certain groups, pass this group ID. You can obtain the GroupId field through the DescribeRecordGroupList interface.
    id String
    ID.
    isExactSubDomain Boolean
    Whether to perform an exact search based on the SubDomain parameter.
    keyword String
    Search for resolution records by keyword, currently supporting searching host headers and record values.
    mxBegin Number
    The starting point of the resolution record MX priority query interval.
    mxEnd Number
    The endpoint of the resolution record MX priority query interval.
    projectId Number
    Project ID.
    recordLines List<String>
    Retrieve resolution records for certain line IDs. You can view the allowed line information for the current domain through the DescribeRecordLineList interface.
    recordStatuses List<String>
    Get the resolution record based on the resolution record status. The possible values are ENABLE and DISABLE. ENABLE: Normal DISABLE: Paused.
    recordTypes List<String>
    Retrieve certain types of resolution records, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, SPF, etc.
    recordValue String
    Get the resolution record based on the resolution record value.
    remark String
    Get the resolution record based on the resolution record remark.
    resultOutputFile String
    Used to save results.
    sortField String
    Sorting field, supporting NAME, LINE, TYPE, VALUE, WEIGHT, MX, TTL, UPDATED_ON fields. NAME: The host header of the resolution record LINE: The resolution record line TYPE: The resolution record type VALUE: The resolution record value WEIGHT: The weight MX: MX priority TTL: The resolution record cache time UPDATED_ON: The resolution record update time.
    sortType String
    Sorting method, ascending: ASC, descending: DESC. The default value is ASC.
    subDomain String
    Retrieve resolution records based on the host header of the resolution record. Fuzzy matching is used by default. You can set the IsExactSubdomain parameter to true for precise searching.
    subDomains List<String>
    Sub domains.
    ttlBegin Number
    The starting point of the resolution record TTL query interval.
    ttlEnd Number
    The endpoint of the resolution record TTL query interval.
    updatedAtBegin String
    The starting point of the resolution record update time query interval.
    updatedAtEnd String
    The endpoint of the resolution record update time query interval.
    weightBegin Number
    The starting point of the resolution record weight query interval.
    weightEnd Number
    The endpoint of the resolution record weight query interval.

    getDnspodRecordList Result

    The following output properties are available:

    Domain string
    Domain.
    Id string
    ID.
    InstanceLists List<GetDnspodRecordListInstanceList>
    List of records.
    RecordCountInfos List<GetDnspodRecordListRecordCountInfo>
    Statistics of the number of records.
    RecordLists List<GetDnspodRecordListRecordList>
    List of records.
    DomainId double
    GroupIds List<double>
    IsExactSubDomain bool
    Keyword string
    MxBegin double
    MxEnd double
    ProjectId double
    RecordLines List<string>
    Record line.
    RecordStatuses List<string>
    RecordTypes List<string>
    Record type.
    RecordValue string
    Remark string
    Record remark description.
    ResultOutputFile string
    SortField string
    SortType string
    SubDomain string
    Host header.
    SubDomains List<string>
    TtlBegin double
    TtlEnd double
    UpdatedAtBegin string
    UpdatedAtEnd string
    WeightBegin double
    WeightEnd double
    Domain string
    Domain.
    Id string
    ID.
    InstanceLists []GetDnspodRecordListInstanceList
    List of records.
    RecordCountInfos []GetDnspodRecordListRecordCountInfo
    Statistics of the number of records.
    RecordLists []GetDnspodRecordListRecordList
    List of records.
    DomainId float64
    GroupIds []float64
    IsExactSubDomain bool
    Keyword string
    MxBegin float64
    MxEnd float64
    ProjectId float64
    RecordLines []string
    Record line.
    RecordStatuses []string
    RecordTypes []string
    Record type.
    RecordValue string
    Remark string
    Record remark description.
    ResultOutputFile string
    SortField string
    SortType string
    SubDomain string
    Host header.
    SubDomains []string
    TtlBegin float64
    TtlEnd float64
    UpdatedAtBegin string
    UpdatedAtEnd string
    WeightBegin float64
    WeightEnd float64
    domain String
    Domain.
    id String
    ID.
    instanceLists List<GetDnspodRecordListInstanceList>
    List of records.
    recordCountInfos List<GetDnspodRecordListRecordCountInfo>
    Statistics of the number of records.
    recordLists List<GetDnspodRecordListRecordList>
    List of records.
    domainId Double
    groupIds List<Double>
    isExactSubDomain Boolean
    keyword String
    mxBegin Double
    mxEnd Double
    projectId Double
    recordLines List<String>
    Record line.
    recordStatuses List<String>
    recordTypes List<String>
    Record type.
    recordValue String
    remark String
    Record remark description.
    resultOutputFile String
    sortField String
    sortType String
    subDomain String
    Host header.
    subDomains List<String>
    ttlBegin Double
    ttlEnd Double
    updatedAtBegin String
    updatedAtEnd String
    weightBegin Double
    weightEnd Double
    domain string
    Domain.
    id string
    ID.
    instanceLists GetDnspodRecordListInstanceList[]
    List of records.
    recordCountInfos GetDnspodRecordListRecordCountInfo[]
    Statistics of the number of records.
    recordLists GetDnspodRecordListRecordList[]
    List of records.
    domainId number
    groupIds number[]
    isExactSubDomain boolean
    keyword string
    mxBegin number
    mxEnd number
    projectId number
    recordLines string[]
    Record line.
    recordStatuses string[]
    recordTypes string[]
    Record type.
    recordValue string
    remark string
    Record remark description.
    resultOutputFile string
    sortField string
    sortType string
    subDomain string
    Host header.
    subDomains string[]
    ttlBegin number
    ttlEnd number
    updatedAtBegin string
    updatedAtEnd string
    weightBegin number
    weightEnd number
    domain str
    Domain.
    id str
    ID.
    instance_lists Sequence[GetDnspodRecordListInstanceList]
    List of records.
    record_count_infos Sequence[GetDnspodRecordListRecordCountInfo]
    Statistics of the number of records.
    record_lists Sequence[GetDnspodRecordListRecordList]
    List of records.
    domain_id float
    group_ids Sequence[float]
    is_exact_sub_domain bool
    keyword str
    mx_begin float
    mx_end float
    project_id float
    record_lines Sequence[str]
    Record line.
    record_statuses Sequence[str]
    record_types Sequence[str]
    Record type.
    record_value str
    remark str
    Record remark description.
    result_output_file str
    sort_field str
    sort_type str
    sub_domain str
    Host header.
    sub_domains Sequence[str]
    ttl_begin float
    ttl_end float
    updated_at_begin str
    updated_at_end str
    weight_begin float
    weight_end float
    domain String
    Domain.
    id String
    ID.
    instanceLists List<Property Map>
    List of records.
    recordCountInfos List<Property Map>
    Statistics of the number of records.
    recordLists List<Property Map>
    List of records.
    domainId Number
    groupIds List<Number>
    isExactSubDomain Boolean
    keyword String
    mxBegin Number
    mxEnd Number
    projectId Number
    recordLines List<String>
    Record line.
    recordStatuses List<String>
    recordTypes List<String>
    Record type.
    recordValue String
    remark String
    Record remark description.
    resultOutputFile String
    sortField String
    sortType String
    subDomain String
    Host header.
    subDomains List<String>
    ttlBegin Number
    ttlEnd Number
    updatedAtBegin String
    updatedAtEnd String
    weightBegin Number
    weightEnd Number

    Supporting Types

    GetDnspodRecordListInstanceList

    DefaultNs bool
    Whether it is the default NS record.
    Domain string
    The domain to which the resolution record belongs.
    Id string
    ID.
    LineId string
    Line ID.
    MonitorStatus string
    Record monitoring status, normal: OK, alarm: WARN, downtime: DOWN, empty if monitoring is not set or paused.
    Mx double
    MX value, only available for MX records Note: This field may return null, indicating that no valid value can be obtained.
    RecordId double
    Record ID.
    RecordLine string
    Retrieve resolution records for certain line IDs. You can view the allowed line information for the current domain through the DescribeRecordLineList interface.
    RecordType string
    Retrieve certain types of resolution records, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, SPF, etc.
    Remark string
    Get the resolution record based on the resolution record remark.
    Status string
    Record status, enabled: ENABLE, paused: DISABLE.
    SubDomain string
    Retrieve resolution records based on the host header of the resolution record. Fuzzy matching is used by default. You can set the IsExactSubdomain parameter to true for precise searching.
    Ttl double
    Record cache time.
    UpdatedOn string
    Update time.
    Value string
    Record value.
    Weight double
    Record weight, used for load balancing records. Note: This field may return null, indicating that no valid value can be obtained.
    DefaultNs bool
    Whether it is the default NS record.
    Domain string
    The domain to which the resolution record belongs.
    Id string
    ID.
    LineId string
    Line ID.
    MonitorStatus string
    Record monitoring status, normal: OK, alarm: WARN, downtime: DOWN, empty if monitoring is not set or paused.
    Mx float64
    MX value, only available for MX records Note: This field may return null, indicating that no valid value can be obtained.
    RecordId float64
    Record ID.
    RecordLine string
    Retrieve resolution records for certain line IDs. You can view the allowed line information for the current domain through the DescribeRecordLineList interface.
    RecordType string
    Retrieve certain types of resolution records, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, SPF, etc.
    Remark string
    Get the resolution record based on the resolution record remark.
    Status string
    Record status, enabled: ENABLE, paused: DISABLE.
    SubDomain string
    Retrieve resolution records based on the host header of the resolution record. Fuzzy matching is used by default. You can set the IsExactSubdomain parameter to true for precise searching.
    Ttl float64
    Record cache time.
    UpdatedOn string
    Update time.
    Value string
    Record value.
    Weight float64
    Record weight, used for load balancing records. Note: This field may return null, indicating that no valid value can be obtained.
    defaultNs Boolean
    Whether it is the default NS record.
    domain String
    The domain to which the resolution record belongs.
    id String
    ID.
    lineId String
    Line ID.
    monitorStatus String
    Record monitoring status, normal: OK, alarm: WARN, downtime: DOWN, empty if monitoring is not set or paused.
    mx Double
    MX value, only available for MX records Note: This field may return null, indicating that no valid value can be obtained.
    recordId Double
    Record ID.
    recordLine String
    Retrieve resolution records for certain line IDs. You can view the allowed line information for the current domain through the DescribeRecordLineList interface.
    recordType String
    Retrieve certain types of resolution records, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, SPF, etc.
    remark String
    Get the resolution record based on the resolution record remark.
    status String
    Record status, enabled: ENABLE, paused: DISABLE.
    subDomain String
    Retrieve resolution records based on the host header of the resolution record. Fuzzy matching is used by default. You can set the IsExactSubdomain parameter to true for precise searching.
    ttl Double
    Record cache time.
    updatedOn String
    Update time.
    value String
    Record value.
    weight Double
    Record weight, used for load balancing records. Note: This field may return null, indicating that no valid value can be obtained.
    defaultNs boolean
    Whether it is the default NS record.
    domain string
    The domain to which the resolution record belongs.
    id string
    ID.
    lineId string
    Line ID.
    monitorStatus string
    Record monitoring status, normal: OK, alarm: WARN, downtime: DOWN, empty if monitoring is not set or paused.
    mx number
    MX value, only available for MX records Note: This field may return null, indicating that no valid value can be obtained.
    recordId number
    Record ID.
    recordLine string
    Retrieve resolution records for certain line IDs. You can view the allowed line information for the current domain through the DescribeRecordLineList interface.
    recordType string
    Retrieve certain types of resolution records, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, SPF, etc.
    remark string
    Get the resolution record based on the resolution record remark.
    status string
    Record status, enabled: ENABLE, paused: DISABLE.
    subDomain string
    Retrieve resolution records based on the host header of the resolution record. Fuzzy matching is used by default. You can set the IsExactSubdomain parameter to true for precise searching.
    ttl number
    Record cache time.
    updatedOn string
    Update time.
    value string
    Record value.
    weight number
    Record weight, used for load balancing records. Note: This field may return null, indicating that no valid value can be obtained.
    default_ns bool
    Whether it is the default NS record.
    domain str
    The domain to which the resolution record belongs.
    id str
    ID.
    line_id str
    Line ID.
    monitor_status str
    Record monitoring status, normal: OK, alarm: WARN, downtime: DOWN, empty if monitoring is not set or paused.
    mx float
    MX value, only available for MX records Note: This field may return null, indicating that no valid value can be obtained.
    record_id float
    Record ID.
    record_line str
    Retrieve resolution records for certain line IDs. You can view the allowed line information for the current domain through the DescribeRecordLineList interface.
    record_type str
    Retrieve certain types of resolution records, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, SPF, etc.
    remark str
    Get the resolution record based on the resolution record remark.
    status str
    Record status, enabled: ENABLE, paused: DISABLE.
    sub_domain str
    Retrieve resolution records based on the host header of the resolution record. Fuzzy matching is used by default. You can set the IsExactSubdomain parameter to true for precise searching.
    ttl float
    Record cache time.
    updated_on str
    Update time.
    value str
    Record value.
    weight float
    Record weight, used for load balancing records. Note: This field may return null, indicating that no valid value can be obtained.
    defaultNs Boolean
    Whether it is the default NS record.
    domain String
    The domain to which the resolution record belongs.
    id String
    ID.
    lineId String
    Line ID.
    monitorStatus String
    Record monitoring status, normal: OK, alarm: WARN, downtime: DOWN, empty if monitoring is not set or paused.
    mx Number
    MX value, only available for MX records Note: This field may return null, indicating that no valid value can be obtained.
    recordId Number
    Record ID.
    recordLine String
    Retrieve resolution records for certain line IDs. You can view the allowed line information for the current domain through the DescribeRecordLineList interface.
    recordType String
    Retrieve certain types of resolution records, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, SPF, etc.
    remark String
    Get the resolution record based on the resolution record remark.
    status String
    Record status, enabled: ENABLE, paused: DISABLE.
    subDomain String
    Retrieve resolution records based on the host header of the resolution record. Fuzzy matching is used by default. You can set the IsExactSubdomain parameter to true for precise searching.
    ttl Number
    Record cache time.
    updatedOn String
    Update time.
    value String
    Record value.
    weight Number
    Record weight, used for load balancing records. Note: This field may return null, indicating that no valid value can be obtained.

    GetDnspodRecordListRecordCountInfo

    ListCount double
    Number of records returned in the list.
    SubdomainCount double
    Number of subdomains.
    TotalCount double
    Total number of records.
    ListCount float64
    Number of records returned in the list.
    SubdomainCount float64
    Number of subdomains.
    TotalCount float64
    Total number of records.
    listCount Double
    Number of records returned in the list.
    subdomainCount Double
    Number of subdomains.
    totalCount Double
    Total number of records.
    listCount number
    Number of records returned in the list.
    subdomainCount number
    Number of subdomains.
    totalCount number
    Total number of records.
    list_count float
    Number of records returned in the list.
    subdomain_count float
    Number of subdomains.
    total_count float
    Total number of records.
    listCount Number
    Number of records returned in the list.
    subdomainCount Number
    Number of subdomains.
    totalCount Number
    Total number of records.

    GetDnspodRecordListRecordList

    DefaultNs bool
    Whether it is the default NS record.
    Line string
    Record line.
    LineId string
    Line ID.
    MonitorStatus string
    Record monitoring status, normal: OK, alarm: WARN, downtime: DOWN, empty if monitoring is not set or paused.
    Mx double
    MX value, only available for MX records Note: This field may return null, indicating that no valid value can be obtained.
    Name string
    Host header.
    RecordId double
    Record ID.
    Remark string
    Get the resolution record based on the resolution record remark.
    Status string
    Record status, enabled: ENABLE, paused: DISABLE.
    Ttl double
    Record cache time.
    Type string
    Record type.
    UpdatedOn string
    Update time.
    Value string
    Record value.
    Weight double
    Record weight, used for load balancing records. Note: This field may return null, indicating that no valid value can be obtained.
    DefaultNs bool
    Whether it is the default NS record.
    Line string
    Record line.
    LineId string
    Line ID.
    MonitorStatus string
    Record monitoring status, normal: OK, alarm: WARN, downtime: DOWN, empty if monitoring is not set or paused.
    Mx float64
    MX value, only available for MX records Note: This field may return null, indicating that no valid value can be obtained.
    Name string
    Host header.
    RecordId float64
    Record ID.
    Remark string
    Get the resolution record based on the resolution record remark.
    Status string
    Record status, enabled: ENABLE, paused: DISABLE.
    Ttl float64
    Record cache time.
    Type string
    Record type.
    UpdatedOn string
    Update time.
    Value string
    Record value.
    Weight float64
    Record weight, used for load balancing records. Note: This field may return null, indicating that no valid value can be obtained.
    defaultNs Boolean
    Whether it is the default NS record.
    line String
    Record line.
    lineId String
    Line ID.
    monitorStatus String
    Record monitoring status, normal: OK, alarm: WARN, downtime: DOWN, empty if monitoring is not set or paused.
    mx Double
    MX value, only available for MX records Note: This field may return null, indicating that no valid value can be obtained.
    name String
    Host header.
    recordId Double
    Record ID.
    remark String
    Get the resolution record based on the resolution record remark.
    status String
    Record status, enabled: ENABLE, paused: DISABLE.
    ttl Double
    Record cache time.
    type String
    Record type.
    updatedOn String
    Update time.
    value String
    Record value.
    weight Double
    Record weight, used for load balancing records. Note: This field may return null, indicating that no valid value can be obtained.
    defaultNs boolean
    Whether it is the default NS record.
    line string
    Record line.
    lineId string
    Line ID.
    monitorStatus string
    Record monitoring status, normal: OK, alarm: WARN, downtime: DOWN, empty if monitoring is not set or paused.
    mx number
    MX value, only available for MX records Note: This field may return null, indicating that no valid value can be obtained.
    name string
    Host header.
    recordId number
    Record ID.
    remark string
    Get the resolution record based on the resolution record remark.
    status string
    Record status, enabled: ENABLE, paused: DISABLE.
    ttl number
    Record cache time.
    type string
    Record type.
    updatedOn string
    Update time.
    value string
    Record value.
    weight number
    Record weight, used for load balancing records. Note: This field may return null, indicating that no valid value can be obtained.
    default_ns bool
    Whether it is the default NS record.
    line str
    Record line.
    line_id str
    Line ID.
    monitor_status str
    Record monitoring status, normal: OK, alarm: WARN, downtime: DOWN, empty if monitoring is not set or paused.
    mx float
    MX value, only available for MX records Note: This field may return null, indicating that no valid value can be obtained.
    name str
    Host header.
    record_id float
    Record ID.
    remark str
    Get the resolution record based on the resolution record remark.
    status str
    Record status, enabled: ENABLE, paused: DISABLE.
    ttl float
    Record cache time.
    type str
    Record type.
    updated_on str
    Update time.
    value str
    Record value.
    weight float
    Record weight, used for load balancing records. Note: This field may return null, indicating that no valid value can be obtained.
    defaultNs Boolean
    Whether it is the default NS record.
    line String
    Record line.
    lineId String
    Line ID.
    monitorStatus String
    Record monitoring status, normal: OK, alarm: WARN, downtime: DOWN, empty if monitoring is not set or paused.
    mx Number
    MX value, only available for MX records Note: This field may return null, indicating that no valid value can be obtained.
    name String
    Host header.
    recordId Number
    Record ID.
    remark String
    Get the resolution record based on the resolution record remark.
    status String
    Record status, enabled: ENABLE, paused: DISABLE.
    ttl Number
    Record cache time.
    type String
    Record type.
    updatedOn String
    Update time.
    value String
    Record value.
    weight Number
    Record weight, used for load balancing records. Note: This field may return null, indicating that no valid value can be obtained.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack