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:
- Domain
Name string The domain name associated to the records.
- Direction string
Sorting direction. Valid values:
DESC,ASC. Default toAESC.- Group
Id int Domain name group ID.
- Ids List<string>
A list of record IDs.
- Key
Word 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- Order
By string Sort by. Sort from newest to oldest according to the time added by resolution.
- Output
File string - Rr
Key stringWord The keywords recorded by the host are searched according to the
%RRKeyWord%mode, and are not case sensitive.- Rr
Regex string Host record regex.
- Search
Mode 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:
ENABLEandDISABLE.- Type string
Record type. Valid values:
A,NS,MX,TXT,CNAME,SRV,AAAA,REDIRECT_URL,FORWORD_URL.- Type
Key stringWord Analyze type keywords, search by full match, not case sensitive.
- Value
Key stringWord The keywords of the recorded value are searched according to the
%ValueKeyWord%mode, and are not case sensitive.- Value
Regex string Host record value regex.
- Domain
Name string The domain name associated to the records.
- Direction string
Sorting direction. Valid values:
DESC,ASC. Default toAESC.- Group
Id int Domain name group ID.
- Ids []string
A list of record IDs.
- Key
Word 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- Order
By string Sort by. Sort from newest to oldest according to the time added by resolution.
- Output
File string - Rr
Key stringWord The keywords recorded by the host are searched according to the
%RRKeyWord%mode, and are not case sensitive.- Rr
Regex string Host record regex.
- Search
Mode 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:
ENABLEandDISABLE.- Type string
Record type. Valid values:
A,NS,MX,TXT,CNAME,SRV,AAAA,REDIRECT_URL,FORWORD_URL.- Type
Key stringWord Analyze type keywords, search by full match, not case sensitive.
- Value
Key stringWord The keywords of the recorded value are searched according to the
%ValueKeyWord%mode, and are not case sensitive.- Value
Regex string Host record value regex.
- domain
Name string The domain name associated to the records.
- direction string
Sorting direction. Valid values:
DESC,ASC. Default toAESC.- group
Id number Domain name group ID.
- ids string[]
A list of record IDs.
- key
Word 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- order
By string Sort by. Sort from newest to oldest according to the time added by resolution.
- output
File string - rr
Key stringWord The keywords recorded by the host are searched according to the
%RRKeyWord%mode, and are not case sensitive.- rr
Regex string Host record regex.
- search
Mode 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:
ENABLEandDISABLE.- type string
Record type. Valid values:
A,NS,MX,TXT,CNAME,SRV,AAAA,REDIRECT_URL,FORWORD_URL.- type
Key stringWord Analyze type keywords, search by full match, not case sensitive.
- value
Key stringWord The keywords of the recorded value are searched according to the
%ValueKeyWord%mode, and are not case sensitive.- value
Regex string Host record value regex.
- domain_
name str The domain name associated to the records.
- direction str
Sorting direction. Valid values:
DESC,ASC. Default toAESC.- 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_ strword 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:
ENABLEandDISABLE.- type str
Record type. Valid values:
A,NS,MX,TXT,CNAME,SRV,AAAA,REDIRECT_URL,FORWORD_URL.- type_
key_ strword Analyze type keywords, search by full match, not case sensitive.
- value_
key_ strword 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:
- Domain
Name 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.
Ali Cloud. Dns. Outputs. Get Alidns Records Record> A list of records. Each element contains the following attributes:
- Direction string
- Group
Id int - Key
Word string - Lang string
- Line string
ISP line of the record.
- Order
By string - Output
File string - Rr
Key stringWord - Rr
Regex string - Search
Mode string - Status string
Status of the record.
- Type string
Type of the record.
- Type
Key stringWord - Value
Key stringWord - Value
Regex string
- Domain
Name 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
[]Get
Alidns Records Record A list of records. Each element contains the following attributes:
- Direction string
- Group
Id int - Key
Word string - Lang string
- Line string
ISP line of the record.
- Order
By string - Output
File string - Rr
Key stringWord - Rr
Regex string - Search
Mode string - Status string
Status of the record.
- Type string
Type of the record.
- Type
Key stringWord - Value
Key stringWord - Value
Regex string
- domain
Name 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
Get
Alidns Records Record[] A list of records. Each element contains the following attributes:
- direction string
- group
Id number - key
Word string - lang string
- line string
ISP line of the record.
- order
By string - output
File string - rr
Key stringWord - rr
Regex string - search
Mode string - status string
Status of the record.
- type string
Type of the record.
- type
Key stringWord - value
Key stringWord - value
Regex 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[Get
Alidns Records Record] 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_ strword - rr_
regex str - search_
mode str - status str
Status of the record.
- type str
Type of the record.
- type_
key_ strword - value_
key_ strword - 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.
- Domain
Name 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
MXrecord.- Record
Id string ID of the record.
- Rr string
Host record of the domain.
- Status string
Record status. Valid values:
ENABLEandDISABLE.- 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.
- Domain
Name 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
MXrecord.- Record
Id string ID of the record.
- Rr string
Host record of the domain.
- Status string
Record status. Valid values:
ENABLEandDISABLE.- 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.
- domain
Name 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
MXrecord.- record
Id string ID of the record.
- rr string
Host record of the domain.
- status string
Record status. Valid values:
ENABLEandDISABLE.- 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
MXrecord.- record_
id str ID of the record.
- rr str
Host record of the domain.
- status str
Record status. Valid values:
ENABLEandDISABLE.- 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
alicloudTerraform Provider.