def list(skiptoken:nil, custom_headers:nil)
      first_page = list_as_lazy(skiptoken:skiptoken, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list(skiptoken:nil, custom_headers:nil)
      first_page = list_as_lazy(skiptoken:skiptoken, custom_headers:custom_headers)
      first_page.get_all_items
    end
List management groups for the authenticated user.


 @param skiptoken [String] Page continuation token 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 token parameter that specifies a starting point to use
 for subsequent calls.

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

 @return [Array<ManagementGroupInfo>] operation results.