def list_by_workspace(resource_group_name, workspace_name, custom_headers:nil)
      first_page = list_by_workspace_as_lazy(resource_group_name, workspace_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_workspace(resource_group_name, workspace_name, custom_headers:nil)
      first_page = list_by_workspace_as_lazy(resource_group_name, workspace_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
Lists the storage insight instances within a workspace

 @param resource_group_name [String] The name of the resource group to get.
 The name is case insensitive.
 @param workspace_name [String] Log Analytics Workspace name that will contain
 the storageInsightsConfigs resource
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<StorageInsight>] operation results.