dns / Client / list_resource_record_sets
list_resource_record_sets
- dns.Client.list_resource_record_sets(**kwargs)
レコードの情報を一覧で取得します。
リクエスト内のURLパラメーターにより、取得を開始するレコード情報の名前(ドメイン)、種別、識別情報と、最大取得件数を指定できます。
リクエストのidentiferはユーザー登録した情報ではなく、システムが生成したランダム文字列です。
リクエストのidentiferだけでレコード特定できますが、特定したレコードと指定したname、type一致しない場合、特定失敗とみなします。
See also: NIFCLOUD API Documentation
Request Syntax
response = client.list_resource_record_sets( Identifier='string', Maxitems=123, Name='string', Type='NS'|'A'|'AAAA'|'CNAME'|'MX'|'TXT'|'PTR', ZoneID='string' )
- Parameters:
Identifier (string) –
Maxitems (integer) –
Name (string) –
Type (string) –
ZoneID (string) – [REQUIRED]
- Return type:
dict
- Returns:
Response Syntax
{ 'IsTruncated': True|False, 'MaxItems': 123, 'NextRecordIdentifier': 'string', 'NextRecordName': 'string', 'NextRecordType': 'string', 'ResourceRecordSets': [ { 'Failover': 'string', 'Name': 'string', 'Region': 'string', 'ResourceRecords': [ { 'Value': 'string' }, ], 'SetIdentifier': 'string', 'TTL': 123, 'Type': 'string', 'Weight': 123, 'XniftyComment': 'string', 'XniftyHealthCheckConfig': { 'FullyQualifiedDomainName': 'string', 'IPAddress': 'string', 'Port': 123, 'Protocol': 'string', 'ResourcePath': 'string' } }, ] }
Response Structure
(dict) –
IsTruncated (boolean) –
MaxItems (integer) –
NextRecordIdentifier (string) –
NextRecordName (string) –
NextRecordType (string) –
ResourceRecordSets (list) –
(dict) –
Failover (string) –
Name (string) –
Region (string) –
ResourceRecords (list) –
(dict) –
Value (string) –
SetIdentifier (string) –
TTL (integer) –
Type (string) –
Weight (integer) –
XniftyComment (string) –
XniftyHealthCheckConfig (dict) –
FullyQualifiedDomainName (string) –
IPAddress (string) –
Port (integer) –
Protocol (string) –
ResourcePath (string) –