def list_resources(resource_group_name, filter:nil, expand:nil, top:nil, custom_headers:nil)
      first_page = list_resources_as_lazy(resource_group_name, filter:filter, expand:expand, top:top, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_resources(resource_group_name, filter:nil, expand:nil, top:nil, custom_headers:nil)
      first_page = list_resources_as_lazy(resource_group_name, filter:filter, expand:expand, top:top, custom_headers:custom_headers)
      first_page.get_all_items
    end
Get all of the resources under a subscription.

 @param resource_group_name [String] Query parameters. If null is passed
 returns all resource groups.
 @param filter [String] The filter to apply on the operation.
 @param expand [String] The $expand query parameter
 @param top [Integer] Query parameters. If null is passed returns all resource
 groups.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<GenericResource>] operation results.