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

tencentcloud.getDnspodRecordLineList

Explore with Pulumi AI

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,
});
Copy
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)
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  recordLineList:
    fn::invoke:
      function: tencentcloud:getDnspodRecordLineList
      arguments:
        domain: iac-tf.cloud
        domainGrade: DP_FREE
        domainId: 123
Copy

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>
Copy
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]
Copy
func GetDnspodRecordLineList(ctx *Context, args *GetDnspodRecordLineListArgs, opts ...InvokeOption) (*GetDnspodRecordLineListResult, error)
func GetDnspodRecordLineListOutput(ctx *Context, args *GetDnspodRecordLineListOutputArgs, opts ...InvokeOption) GetDnspodRecordLineListResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetDnspodRecordLineListResult> getDnspodRecordLineList(GetDnspodRecordLineListArgs args, InvokeOptions options)
public static Output<GetDnspodRecordLineListResult> getDnspodRecordLineList(GetDnspodRecordLineListArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getDnspodRecordLineList:getDnspodRecordLineList
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Domain This property is required. string
Domain.
DomainGrade This property is required. 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 This property is required. string
Domain.
DomainGrade This property is required. 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 This property is required. String
Domain.
domainGrade This property is required. 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 This property is required. string
Domain.
domainGrade This property is required. 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 This property is required. str
Domain.
domain_grade This property is required. 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 This property is required. String
Domain.
domainGrade This property is required. 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 This property is required. string
Line ID.
LineLists This property is required. List<string>
Line list.
Name This property is required. string
Line name.
Type This property is required. string
Group type.
LineId This property is required. string
Line ID.
LineLists This property is required. []string
Line list.
Name This property is required. string
Line name.
Type This property is required. string
Group type.
lineId This property is required. String
Line ID.
lineLists This property is required. List<String>
Line list.
name This property is required. String
Line name.
type This property is required. String
Group type.
lineId This property is required. string
Line ID.
lineLists This property is required. string[]
Line list.
name This property is required. string
Line name.
type This property is required. string
Group type.
line_id This property is required. str
Line ID.
line_lists This property is required. Sequence[str]
Line list.
name This property is required. str
Line name.
type This property is required. str
Group type.
lineId This property is required. String
Line ID.
lineLists This property is required. List<String>
Line list.
name This property is required. String
Line name.
type This property is required. String
Group type.

GetDnspodRecordLineListLineList

LineId This property is required. string
Line ID.
Name This property is required. string
Line name.
LineId This property is required. string
Line ID.
Name This property is required. string
Line name.
lineId This property is required. String
Line ID.
name This property is required. String
Line name.
lineId This property is required. string
Line ID.
name This property is required. string
Line name.
line_id This property is required. str
Line ID.
name This property is required. str
Line name.
lineId This property is required. String
Line ID.
name This property is required. String
Line name.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.