def list_by_subscription(expand:nil, custom_headers:nil)
      first_page = list_by_subscription_as_lazy(expand:expand, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_subscription(expand:nil, custom_headers:nil)
      first_page = list_by_subscription_as_lazy(expand:expand, custom_headers:custom_headers)
      first_page.get_all_items
    end
Gets all the data box edge/gateway devices in a subscription.

 @param expand [String] Specify $expand=details to populate additional fields
 related to the resource or Specify $skipToken=<token> to populate the next
 page in the list.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<DataBoxEdgeDevice>] operation results.