def list_by_subscription_id_as_lazy(skiptoken:nil, custom_headers:nil)
      response = list_by_subscription_id_async(skiptoken:skiptoken, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_by_subscription_id_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
def list_by_subscription_id_as_lazy(skiptoken:nil, custom_headers:nil)
      response = list_by_subscription_id_async(skiptoken:skiptoken, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_by_subscription_id_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
Gets the web services in the specified subscription.

 @param skiptoken [String] Continuation token for pagination.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [PaginatedWebServicesList] which provide lazy access to pages of the
 response.