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

tencentcloud.getDnspodRecordLineList

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_line_list

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const recordLineList = tencentcloud.getDnspodRecordLineList({
        domain: "iac-tf.cloud",
        domainGrade: "DP_FREE",
        domainId: 123,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    record_line_list = tencentcloud.get_dnspod_record_line_list(domain="iac-tf.cloud",
        domain_grade="DP_FREE",
        domain_id=123)
    
    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.GetDnspodRecordLineList(ctx, &tencentcloud.GetDnspodRecordLineListArgs{
    			Domain:      "iac-tf.cloud",
    			DomainGrade: "DP_FREE",
    			DomainId:    pulumi.Float64Ref(123),
    		}, 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 recordLineList = Tencentcloud.GetDnspodRecordLineList.Invoke(new()
        {
            Domain = "iac-tf.cloud",
            DomainGrade = "DP_FREE",
            DomainId = 123,
        });
    
    });
    
    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.GetDnspodRecordLineListArgs;
    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 recordLineList = TencentcloudFunctions.getDnspodRecordLineList(GetDnspodRecordLineListArgs.builder()
                .domain("iac-tf.cloud")
                .domainGrade("DP_FREE")
                .domainId(123)
                .build());
    
        }
    }
    
    variables:
      recordLineList:
        fn::invoke:
          function: tencentcloud:getDnspodRecordLineList
          arguments:
            domain: iac-tf.cloud
            domainGrade: DP_FREE
            domainId: 123
    

    Using getDnspodRecordLineList

    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 getDnspodRecordLineList(args: GetDnspodRecordLineListArgs, opts?: InvokeOptions): Promise<GetDnspodRecordLineListResult>
    function getDnspodRecordLineListOutput(args: GetDnspodRecordLineListOutputArgs, opts?: InvokeOptions): Output<GetDnspodRecordLineListResult>
    def get_dnspod_record_line_list(domain: Optional[str] = None,
                                    domain_grade: Optional[str] = None,
                                    domain_id: Optional[float] = None,
                                    id: Optional[str] = None,
                                    result_output_file: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetDnspodRecordLineListResult
    def get_dnspod_record_line_list_output(domain: Optional[pulumi.Input[str]] = None,
                                    domain_grade: Optional[pulumi.Input[str]] = None,
                                    domain_id: Optional[pulumi.Input[float]] = None,
                                    id: Optional[pulumi.Input[str]] = None,
                                    result_output_file: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetDnspodRecordLineListResult]
    func GetDnspodRecordLineList(ctx *Context, args *GetDnspodRecordLineListArgs, opts ...InvokeOption) (*GetDnspodRecordLineListResult, error)
    func GetDnspodRecordLineListOutput(ctx *Context, args *GetDnspodRecordLineListOutputArgs, opts ...InvokeOption) GetDnspodRecordLineListResultOutput

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

    public static class GetDnspodRecordLineList 
    {
        public static Task<GetDnspodRecordLineListResult> InvokeAsync(GetDnspodRecordLineListArgs args, InvokeOptions? opts = null)
        public static Output<GetDnspodRecordLineListResult> Invoke(GetDnspodRecordLineListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDnspodRecordLineListResult> getDnspodRecordLineList(GetDnspodRecordLineListArgs args, InvokeOptions options)
    public static Output<GetDnspodRecordLineListResult> getDnspodRecordLineList(GetDnspodRecordLineListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getDnspodRecordLineList:getDnspodRecordLineList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Domain string
    Domain.
    DomainGrade string
    Domain level. + Old packages: D_FREE, D_PLUS, D_EXTRA, D_EXPERT, D_ULTRA correspond to free package, personal luxury, enterprise 1, enterprise 2, enterprise 3. + New packages: DP_FREE, DP_PLUS, DP_EXTRA, DP_EXPERT, DP_ULTRA correspond to new free, personal professional, enterprise basic, enterprise standard, enterprise flagship.
    DomainId double
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    Id string
    ResultOutputFile string
    Used to save results.
    Domain string
    Domain.
    DomainGrade string
    Domain level. + Old packages: D_FREE, D_PLUS, D_EXTRA, D_EXPERT, D_ULTRA correspond to free package, personal luxury, enterprise 1, enterprise 2, enterprise 3. + New packages: DP_FREE, DP_PLUS, DP_EXTRA, DP_EXPERT, DP_ULTRA correspond to new free, personal professional, enterprise basic, enterprise standard, enterprise flagship.
    DomainId float64
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    Id string
    ResultOutputFile string
    Used to save results.
    domain String
    Domain.
    domainGrade String
    Domain level. + Old packages: D_FREE, D_PLUS, D_EXTRA, D_EXPERT, D_ULTRA correspond to free package, personal luxury, enterprise 1, enterprise 2, enterprise 3. + New packages: DP_FREE, DP_PLUS, DP_EXTRA, DP_EXPERT, DP_ULTRA correspond to new free, personal professional, enterprise basic, enterprise standard, enterprise flagship.
    domainId Double
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    id String
    resultOutputFile String
    Used to save results.
    domain string
    Domain.
    domainGrade string
    Domain level. + Old packages: D_FREE, D_PLUS, D_EXTRA, D_EXPERT, D_ULTRA correspond to free package, personal luxury, enterprise 1, enterprise 2, enterprise 3. + New packages: DP_FREE, DP_PLUS, DP_EXTRA, DP_EXPERT, DP_ULTRA correspond to new free, personal professional, enterprise basic, enterprise standard, enterprise flagship.
    domainId number
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    id string
    resultOutputFile string
    Used to save results.
    domain str
    Domain.
    domain_grade str
    Domain level. + Old packages: D_FREE, D_PLUS, D_EXTRA, D_EXPERT, D_ULTRA correspond to free package, personal luxury, enterprise 1, enterprise 2, enterprise 3. + New packages: DP_FREE, DP_PLUS, DP_EXTRA, DP_EXPERT, DP_ULTRA correspond to new free, personal professional, enterprise basic, enterprise standard, enterprise flagship.
    domain_id float
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    id str
    result_output_file str
    Used to save results.
    domain String
    Domain.
    domainGrade String
    Domain level. + Old packages: D_FREE, D_PLUS, D_EXTRA, D_EXPERT, D_ULTRA correspond to free package, personal luxury, enterprise 1, enterprise 2, enterprise 3. + New packages: DP_FREE, DP_PLUS, DP_EXTRA, DP_EXPERT, DP_ULTRA correspond to new free, personal professional, enterprise basic, enterprise standard, enterprise flagship.
    domainId Number
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    id String
    resultOutputFile String
    Used to save results.

    getDnspodRecordLineList Result

    The following output properties are available:

    Supporting Types

    GetDnspodRecordLineListLineGroupList

    LineId string
    Line ID.
    LineLists List<string>
    Line list.
    Name string
    Line name.
    Type string
    Group type.
    LineId string
    Line ID.
    LineLists []string
    Line list.
    Name string
    Line name.
    Type string
    Group type.
    lineId String
    Line ID.
    lineLists List<String>
    Line list.
    name String
    Line name.
    type String
    Group type.
    lineId string
    Line ID.
    lineLists string[]
    Line list.
    name string
    Line name.
    type string
    Group type.
    line_id str
    Line ID.
    line_lists Sequence[str]
    Line list.
    name str
    Line name.
    type str
    Group type.
    lineId String
    Line ID.
    lineLists List<String>
    Line list.
    name String
    Line name.
    type String
    Group type.

    GetDnspodRecordLineListLineList

    LineId string
    Line ID.
    Name string
    Line name.
    LineId string
    Line ID.
    Name string
    Line name.
    lineId String
    Line ID.
    name String
    Line name.
    lineId string
    Line ID.
    name string
    Line name.
    line_id str
    Line ID.
    name str
    Line name.
    lineId String
    Line ID.
    name String
    Line name.

    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