dns / Client / list_hosted_zones

list_hosted_zones

dns.Client.list_hosted_zones(**kwargs)

ゾーンの情報を一覧で取得します。

リクエスト内のURLパラメーターにより、取得する一覧の先頭のゾーンID、取得する一覧の最大件数を指定することができます。

取得される情報は、ゾーン情報のみで、ネームサーバー情報は取得されません。

See also: NIFCLOUD API Documentation

Request Syntax

response = client.list_hosted_zones(
    Marker='string',
    Maxitems=123
)
Parameters:
  • Marker (string) –

  • Maxitems (integer) –

Return type:

dict

Returns:

Response Syntax

{
    'HostedZones': [
        {
            'CallerReference': 'string',
            'Config': {
                'Comment': 'string'
            },
            'Id': 'string',
            'Name': 'string',
            'ResourceRecordSetCount': 123
        },
    ],
    'IsTruncated': True|False,
    'Marker': 'string',
    'MaxItems': 123,
    'NextMarker': 'string'
}

Response Structure

  • (dict) –

    • HostedZones (list) –

      • (dict) –

        • CallerReference (string) –

        • Config (dict) –

          • Comment (string) –

        • Id (string) –

        • Name (string) –

        • ResourceRecordSetCount (integer) –

    • IsTruncated (boolean) –

    • Marker (string) –

    • MaxItems (integer) –

    • NextMarker (string) –