GetAlidnsRecords

This data source provides a list of Alidns Domain Records in an Alibaba Cloud account according to the specified filters.

NOTE: Available in 1.86.0+.

Using GetAlidnsRecords

function getAlidnsRecords(args: GetAlidnsRecordsArgs, opts?: InvokeOptions): Promise<GetAlidnsRecordsResult>
function  get_alidns_records(direction=None, domain_name=None, group_id=None, ids=None, key_word=None, lang=None, line=None, order_by=None, output_file=None, rr_key_word=None, rr_regex=None, search_mode=None, status=None, type=None, type_key_word=None, value_key_word=None, value_regex=None, opts=None)
func GetAlidnsRecords(ctx *Context, args *GetAlidnsRecordsArgs, opts ...InvokeOption) (*GetAlidnsRecordsResult, error)
public static class GetAlidnsRecords {
    public static Task<GetAlidnsRecordsResult> InvokeAsync(GetAlidnsRecordsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

DomainName string

The domain name associated to the records.

Direction string

Sorting direction. Valid values: DESC,ASC. Default to AESC.

GroupId int

Domain name group ID.

Ids List<string>

A list of record IDs.

KeyWord string

Keywords.

Lang string

User language.

Line string

ISP line. Valid values: default, telecom, unicom, mobile, oversea, edu, drpeng, btvn, .etc. For checking all resolution lines enumeration please visit Alibaba Cloud DNS doc

OrderBy string

Sort by. Sort from newest to oldest according to the time added by resolution.

OutputFile string
RrKeyWord string

The keywords recorded by the host are searched according to the %RRKeyWord% mode, and are not case sensitive.

RrRegex string

Host record regex.

SearchMode string

Search mode, Valid values: LIKE, EXACT, ADVANCED, LIKE (fuzzy), EXACT (accurate) search supports KeyWord field, ADVANCED (advanced) mode supports other fields.

Status string

Record status. Valid values: ENABLE and DISABLE.

Type string

Record type. Valid values: A, NS, MX, TXT, CNAME, SRV, AAAA, REDIRECT_URL, FORWORD_URL .

TypeKeyWord string

Analyze type keywords, search by full match, not case sensitive.

ValueKeyWord string

The keywords of the recorded value are searched according to the %ValueKeyWord% mode, and are not case sensitive.

ValueRegex string

Host record value regex.

DomainName string

The domain name associated to the records.

Direction string

Sorting direction. Valid values: DESC,ASC. Default to AESC.

GroupId int

Domain name group ID.

Ids []string

A list of record IDs.

KeyWord string

Keywords.

Lang string

User language.

Line string

ISP line. Valid values: default, telecom, unicom, mobile, oversea, edu, drpeng, btvn, .etc. For checking all resolution lines enumeration please visit Alibaba Cloud DNS doc

OrderBy string

Sort by. Sort from newest to oldest according to the time added by resolution.

OutputFile string
RrKeyWord string

The keywords recorded by the host are searched according to the %RRKeyWord% mode, and are not case sensitive.

RrRegex string

Host record regex.

SearchMode string

Search mode, Valid values: LIKE, EXACT, ADVANCED, LIKE (fuzzy), EXACT (accurate) search supports KeyWord field, ADVANCED (advanced) mode supports other fields.

Status string

Record status. Valid values: ENABLE and DISABLE.

Type string

Record type. Valid values: A, NS, MX, TXT, CNAME, SRV, AAAA, REDIRECT_URL, FORWORD_URL .

TypeKeyWord string

Analyze type keywords, search by full match, not case sensitive.

ValueKeyWord string

The keywords of the recorded value are searched according to the %ValueKeyWord% mode, and are not case sensitive.

ValueRegex string

Host record value regex.

domainName string

The domain name associated to the records.

direction string

Sorting direction. Valid values: DESC,ASC. Default to AESC.

groupId number

Domain name group ID.

ids string[]

A list of record IDs.

keyWord string

Keywords.

lang string

User language.

line string

ISP line. Valid values: default, telecom, unicom, mobile, oversea, edu, drpeng, btvn, .etc. For checking all resolution lines enumeration please visit Alibaba Cloud DNS doc

orderBy string

Sort by. Sort from newest to oldest according to the time added by resolution.

outputFile string
rrKeyWord string

The keywords recorded by the host are searched according to the %RRKeyWord% mode, and are not case sensitive.

rrRegex string

Host record regex.

searchMode string

Search mode, Valid values: LIKE, EXACT, ADVANCED, LIKE (fuzzy), EXACT (accurate) search supports KeyWord field, ADVANCED (advanced) mode supports other fields.

status string

Record status. Valid values: ENABLE and DISABLE.

type string

Record type. Valid values: A, NS, MX, TXT, CNAME, SRV, AAAA, REDIRECT_URL, FORWORD_URL .

typeKeyWord string

Analyze type keywords, search by full match, not case sensitive.

valueKeyWord string

The keywords of the recorded value are searched according to the %ValueKeyWord% mode, and are not case sensitive.

valueRegex string

Host record value regex.

domain_name str

The domain name associated to the records.

direction str

Sorting direction. Valid values: DESC,ASC. Default to AESC.

group_id float

Domain name group ID.

ids List[str]

A list of record IDs.

key_word str

Keywords.

lang str

User language.

line str

ISP line. Valid values: default, telecom, unicom, mobile, oversea, edu, drpeng, btvn, .etc. For checking all resolution lines enumeration please visit Alibaba Cloud DNS doc

order_by str

Sort by. Sort from newest to oldest according to the time added by resolution.

output_file str
rr_key_word str

The keywords recorded by the host are searched according to the %RRKeyWord% mode, and are not case sensitive.

rr_regex str

Host record regex.

search_mode str

Search mode, Valid values: LIKE, EXACT, ADVANCED, LIKE (fuzzy), EXACT (accurate) search supports KeyWord field, ADVANCED (advanced) mode supports other fields.

status str

Record status. Valid values: ENABLE and DISABLE.

type str

Record type. Valid values: A, NS, MX, TXT, CNAME, SRV, AAAA, REDIRECT_URL, FORWORD_URL .

type_key_word str

Analyze type keywords, search by full match, not case sensitive.

value_key_word str

The keywords of the recorded value are searched according to the %ValueKeyWord% mode, and are not case sensitive.

value_regex str

Host record value regex.

GetAlidnsRecords Result

The following output properties are available:

DomainName string

Name of the domain record belongs to.

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list of record IDs.

Records List<Pulumi.AliCloud.Dns.Outputs.GetAlidnsRecordsRecord>

A list of records. Each element contains the following attributes:

Direction string
GroupId int
KeyWord string
Lang string
Line string

ISP line of the record.

OrderBy string
OutputFile string
RrKeyWord string
RrRegex string
SearchMode string
Status string

Status of the record.

Type string

Type of the record.

TypeKeyWord string
ValueKeyWord string
ValueRegex string
DomainName string

Name of the domain record belongs to.

Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list of record IDs.

Records []GetAlidnsRecordsRecord

A list of records. Each element contains the following attributes:

Direction string
GroupId int
KeyWord string
Lang string
Line string

ISP line of the record.

OrderBy string
OutputFile string
RrKeyWord string
RrRegex string
SearchMode string
Status string

Status of the record.

Type string

Type of the record.

TypeKeyWord string
ValueKeyWord string
ValueRegex string
domainName string

Name of the domain record belongs to.

id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list of record IDs.

records GetAlidnsRecordsRecord[]

A list of records. Each element contains the following attributes:

direction string
groupId number
keyWord string
lang string
line string

ISP line of the record.

orderBy string
outputFile string
rrKeyWord string
rrRegex string
searchMode string
status string

Status of the record.

type string

Type of the record.

typeKeyWord string
valueKeyWord string
valueRegex string
domain_name str

Name of the domain record belongs to.

id str

The provider-assigned unique ID for this managed resource.

ids List[str]

A list of record IDs.

records List[GetAlidnsRecordsRecord]

A list of records. Each element contains the following attributes:

direction str
group_id float
key_word str
lang str
line str

ISP line of the record.

order_by str
output_file str
rr_key_word str
rr_regex str
search_mode str
status str

Status of the record.

type str

Type of the record.

type_key_word str
value_key_word str
value_regex str

Supporting Types

GetAlidnsRecordsRecord

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

DomainName string

The domain name associated to the records.

Id string

ID of the resource.

Line string

ISP line. Valid values: default, telecom, unicom, mobile, oversea, edu, drpeng, btvn, .etc. For checking all resolution lines enumeration please visit Alibaba Cloud DNS doc

Locked bool

Indicates whether the record is locked.

Priority int

Priority of the MX record.

RecordId string

ID of the record.

Rr string

Host record of the domain.

Status string

Record status. Valid values: ENABLE and DISABLE.

Ttl int

TTL of the record.

Type string

Record type. Valid values: A, NS, MX, TXT, CNAME, SRV, AAAA, REDIRECT_URL, FORWORD_URL .

Value string

Host record value of the domain.

DomainName string

The domain name associated to the records.

Id string

ID of the resource.

Line string

ISP line. Valid values: default, telecom, unicom, mobile, oversea, edu, drpeng, btvn, .etc. For checking all resolution lines enumeration please visit Alibaba Cloud DNS doc

Locked bool

Indicates whether the record is locked.

Priority int

Priority of the MX record.

RecordId string

ID of the record.

Rr string

Host record of the domain.

Status string

Record status. Valid values: ENABLE and DISABLE.

Ttl int

TTL of the record.

Type string

Record type. Valid values: A, NS, MX, TXT, CNAME, SRV, AAAA, REDIRECT_URL, FORWORD_URL .

Value string

Host record value of the domain.

domainName string

The domain name associated to the records.

id string

ID of the resource.

line string

ISP line. Valid values: default, telecom, unicom, mobile, oversea, edu, drpeng, btvn, .etc. For checking all resolution lines enumeration please visit Alibaba Cloud DNS doc

locked boolean

Indicates whether the record is locked.

priority number

Priority of the MX record.

recordId string

ID of the record.

rr string

Host record of the domain.

status string

Record status. Valid values: ENABLE and DISABLE.

ttl number

TTL of the record.

type string

Record type. Valid values: A, NS, MX, TXT, CNAME, SRV, AAAA, REDIRECT_URL, FORWORD_URL .

value string

Host record value of the domain.

domain_name str

The domain name associated to the records.

id str

ID of the resource.

line str

ISP line. Valid values: default, telecom, unicom, mobile, oversea, edu, drpeng, btvn, .etc. For checking all resolution lines enumeration please visit Alibaba Cloud DNS doc

locked bool

Indicates whether the record is locked.

priority float

Priority of the MX record.

record_id str

ID of the record.

rr str

Host record of the domain.

status str

Record status. Valid values: ENABLE and DISABLE.

ttl float

TTL of the record.

type str

Record type. Valid values: A, NS, MX, TXT, CNAME, SRV, AAAA, REDIRECT_URL, FORWORD_URL .

value str

Host record value of the domain.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.