Method: Azure::Logic::Mgmt::V2016_06_01::IntegrationAccounts#list_by_subscription_as_lazy

Defined in:
lib/2016-06-01/generated/azure_mgmt_logic/integration_accounts.rb

#list_by_subscription_as_lazy(top: nil, custom_headers: nil) ⇒ IntegrationAccountListResult

Gets a list of integration accounts by subscription.

will be added to the HTTP request.

the response.

Parameters:

  • top (Integer) (defaults to: nil)

    The number of items to be included in the result.

  • custom_headers (Hash{String => String}) (defaults to: nil)

    A hash of custom headers that

Returns:

  • (IntegrationAccountListResult)

    which provide lazy access to pages of



1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'lib/2016-06-01/generated/azure_mgmt_logic/integration_accounts.rb', line 1184

def list_by_subscription_as_lazy(top:nil, custom_headers:nil)
  response = list_by_subscription_async(top:top, custom_headers:custom_headers).value!
  unless response.nil?
    page = response.body
    page.next_method = Proc.new do |next_page_link|
      list_by_subscription_next_async(next_page_link, custom_headers:custom_headers)
    end
    page
  end
end