def list(detailed:nil, custom_headers:nil)
      first_page = list_as_lazy(detailed:detailed, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list(detailed:nil, custom_headers:nil)
      first_page = list_as_lazy(detailed:detailed, custom_headers:custom_headers)
      first_page.get_all_items
    end
Get all App Service plans for a subcription.

 Get all App Service plans for a subcription.

 @param detailed [Boolean] Specify <code>true</code> to return all App Service
 plan properties. The default is <code>false</code>, which returns a subset of
 the properties.
 Retrieval of all properties may increase the API latency.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<AppServicePlan>] operation results.