def list(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
      first_page = list_as_lazy(resource_group_name, workflow_name, top:top, filter:filter, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
      first_page = list_as_lazy(resource_group_name, workflow_name, top:top, filter:filter, custom_headers:custom_headers)
      first_page.get_all_items
    end
Gets a list of workflow runs.

 @param resource_group_name [String] The resource group name.
 @param workflow_name [String] The workflow name.
 @param top [Integer] The number of items to be included in the result.
 @param filter [String] The filter to apply on the operation. Options for
 filters include: Status, StartTime, and ClientTrackingId.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<WorkflowRun>] operation results.