def list_by_type(resource_group_name, private_zone_name, record_type, top:nil, recordsetnamesuffix:nil, custom_headers:nil)
      first_page = list_by_type_as_lazy(resource_group_name, private_zone_name, record_type, top:top, recordsetnamesuffix:recordsetnamesuffix, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_type(resource_group_name, private_zone_name, record_type, top:nil, recordsetnamesuffix:nil, custom_headers:nil)
      first_page = list_by_type_as_lazy(resource_group_name, private_zone_name, record_type, top:top, recordsetnamesuffix:recordsetnamesuffix, custom_headers:custom_headers)
      first_page.get_all_items
    end
Lists the record sets of a specified type in a Private DNS zone.

 @param resource_group_name [String] The name of the resource group.
 @param private_zone_name [String] The name of the Private DNS zone (without a
 terminating dot).
 @param record_type [RecordType] The type of record sets to enumerate.
 Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'PTR', 'SOA', 'SRV',
 'TXT'
 @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
 to be used to filter the record set enumeration. If this parameter is
 specified, the returned enumeration will only contain 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.