dns / Client / get_hosted_zone

get_hosted_zone

dns.Client.get_hosted_zone(**kwargs)

ゾーン情報を取得します。

取得するゾーン情報の指定は、リクエストURL内に含まれるゾーンIDにて行います。

取得される情報は、ゾーン情報、ネームサーバー情報の2つです。

See also: NIFCLOUD API Documentation

Request Syntax

response = client.get_hosted_zone(
    ZoneID='string'
)
Parameters:

ZoneID (string) – [REQUIRED]

Return type:

dict

Returns:

Response Syntax

{
    'DelegationSet': {
        'NameServers': [
            'string',
        ]
    },
    'HostedZone': {
        'CallerReference': 'string',
        'Config': {
            'Comment': 'string'
        },
        'Id': 'string',
        'Name': 'string',
        'ResourceRecordSetCount': 123
    }
}

Response Structure

  • (dict) –

    • DelegationSet (dict) –

      • NameServers (list) –

        • (string) –

    • HostedZone (dict) –

      • CallerReference (string) –

      • Config (dict) –

        • Comment (string) –

      • Id (string) –

      • Name (string) –

      • ResourceRecordSetCount (integer) –