def list_by_dns_zone(resource_group_name, zone_name, top:nil, recordsetnamesuffix:nil, custom_headers:nil)
      first_page = list_by_dns_zone_as_lazy(resource_group_name, zone_name, top:top, recordsetnamesuffix:recordsetnamesuffix, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_dns_zone(resource_group_name, zone_name, top:nil, recordsetnamesuffix:nil, custom_headers:nil)
      first_page = list_by_dns_zone_as_lazy(resource_group_name, zone_name, top:top, recordsetnamesuffix:recordsetnamesuffix, custom_headers:custom_headers)
      first_page.get_all_items
    end
Lists all record sets in a DNS zone.

 @param resource_group_name [String] The name of the resource group. The name
 is case insensitive.
 @param zone_name [String] The name of the DNS zone (without a terminating
 dot).
 @param top [Integer] The maximum number of record sets to return. If not
 specified, returns up to 100 record sets.
 @param recordsetnamesuffix [String] The suffix label of the record set name
 that has to be used to filter the record set enumerations. If this parameter
 is specified, Enumeration will return only records that end with
 .<recordSetNameSuffix>
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<RecordSet>] operation results.