def list_by_site_slot(resource_group_name, name, slot, custom_headers:nil)
      first_page = list_by_site_slot_as_lazy(resource_group_name, name, slot, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_site_slot(resource_group_name, name, slot, custom_headers:nil)
      first_page = list_by_site_slot_as_lazy(resource_group_name, name, slot, custom_headers:custom_headers)
      first_page.get_all_items
    end
Gets the category of ResourceHealthMetadata to use for the given site as a
 collection

 Gets the category of ResourceHealthMetadata to use for the given site as a
 collection

 @param resource_group_name [String] Name of the resource group to which the
 resource belongs.
 @param name [String] Name of web app.
 @param slot [String] Name of web app slot. If not specified then will default
 to production slot.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<ResourceHealthMetadata>] operation results.