def list_operations_as_lazy(custom_headers:nil)
      response = list_operations_async(custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_operations_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
def list_operations_as_lazy(custom_headers:nil)
      response = list_operations_async(custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_operations_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
Implements Csm operations Api to exposes the list of available Csm Apis under
 the resource provider

 Implements Csm operations Api to exposes the list of available Csm Apis under
 the resource provider

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

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