def list_for_subscription_as_lazy(query_options:nil, custom_headers:nil)
      response = list_for_subscription_async(query_options:query_options, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_for_subscription_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
def list_for_subscription_as_lazy(query_options:nil, custom_headers:nil)
      response = list_for_subscription_async(query_options:query_options, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_for_subscription_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
Gets all remediations for the subscription.

 @param query_options [QueryOptions] Additional parameters for the operation
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

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