Method: Azure::ResourceHealth::Mgmt::V2018_08_01_preview::Models::MetadataEntityListResult#get_all_items

Defined in:
lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/metadata_entity_list_result.rb

#get_all_itemsArray<MetadataEntity>

Gets the rest of the items for the request, enabling auto-pagination.



30
31
32
33
34
35
36
37
38
# File 'lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/metadata_entity_list_result.rb', line 30

def get_all_items
  items = @value
  page = self
  while page.next_link != nil && !page.next_link.strip.empty? do
    page = page.get_next_page
    items.concat(page.value)
  end
  items
end