def list_by_subscriptions_as_lazy(resource_group_name, namespace_name, topic_name, subscription_name, skip:nil, top:nil, custom_headers:nil)
      response = list_by_subscriptions_async(resource_group_name, namespace_name, topic_name, subscription_name, skip:skip, top:top, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_by_subscriptions_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
def list_by_subscriptions_as_lazy(resource_group_name, namespace_name, topic_name, subscription_name, skip:nil, top:nil, custom_headers:nil)
      response = list_by_subscriptions_async(resource_group_name, namespace_name, topic_name, subscription_name, skip:skip, top:top, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_by_subscriptions_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
List all the rules within given topic-subscription

 @param resource_group_name [String] Name of the Resource group within the
 Azure subscription.
 @param namespace_name [String] The namespace name
 @param topic_name [String] The topic name.
 @param subscription_name [String] The subscription name.
 @param skip [Integer] Skip is only used if a previous operation returned a
 partial result. If a previous response contains a nextLink element, the value
 of the nextLink element will include a skip parameter that specifies a
 starting point to use for subsequent calls.
 @param top [Integer] May be used to limit the number of results to the most
 recent N usageDetails.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

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