def list_by_module(resource_group_name, automation_account_name, module_name, custom_headers:nil)
      first_page = list_by_module_as_lazy(resource_group_name, automation_account_name, module_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_module(resource_group_name, automation_account_name, module_name, custom_headers:nil)
      first_page = list_by_module_as_lazy(resource_group_name, automation_account_name, module_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
Retrieve a list of activities in the module identified by module name.

 @param resource_group_name [String] Name of an Azure Resource group.
 @param automation_account_name [String] The name of the automation account.
 @param module_name [String] The name of module.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<Activity>] operation results.