def list_by_subscription(expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil)
      first_page = list_by_subscription_as_lazy(expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_subscription(expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil)
      first_page = list_by_subscription_as_lazy(expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers)
      first_page.get_all_items
    end
List lab accounts in a subscription.

 @param expand [String] Specify the $expand query. Example:
 'properties($expand=sizeConfiguration)'
 @param filter [String] The filter to apply to the operation.
 @param top [Integer] The maximum number of resources to return from the
 operation.
 @param orderby [String] The ordering expression for the results, using OData
 notation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<LabAccount>] operation results.